Quickstart

Send your first MorisBox message in under five minutes.

1. Get an API key

MorisBox sandbox access is granted per partner. Once your organization is enabled:

  1. Sign in to Partner Hubhttps://partner.morisbox.com
  2. Open Settings → API Keys
  3. Create a key with the send scope (or full for broader integration work)
  4. Copy the secret once - it is displayed only when created

Never commit API keys. Prefer environment variables, and never share keys between organizations.

2. Base URL

Sandbox (partner integrations):

https://api.morisbox.com/api/v1

3. Send a text message

Replace $SEED360_API_KEY with the key from Partner Hub.

export SEED360_API_BASE="https://api.morisbox.com/api/v1"
export SEED360_API_KEY="sk_…"   # partner key

curl -X POST "$SEED360_API_BASE/messages" \
  -H "Authorization: Bearer $SEED360_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "phone": "+228XXXXXXXX",
    "body": "Bienvenue sur MorisBox",
    "priority": "notification"
  }'

Use a real E.164 end-user phone number that is linked - or will be linked - to your partner organization.

Success response

{
  "message_id": 123,
  "ref": "a1b2c3…",
  "phone": "+228XXXXXXXX",
  "content_type": "text",
  "body": "Bienvenue sur MorisBox",
  "state": "delivered"
}

The message appears under your partner in the user's Client Application (hub / inbox). It does not become a support conversation unless you use the Conversations API.

4. Send an image

curl -X POST "$SEED360_API_BASE/messages" \
  -H "Authorization: Bearer $SEED360_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "phone": "+228XXXXXXXX",
    "content_type": "image",
    "body": "Photo de l’agence",
    "media_url": "https://example.com/photo.jpg",
    "media_filename": "agence.jpg"
  }'

5. Send an HTML newsletter

curl -X POST "$SEED360_API_BASE/messages" \
  -H "Authorization: Bearer $SEED360_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "phone": "+228XXXXXXXX",
    "content_type": "html",
    "subject": "Infos · Juillet",
    "html": "<h1>Bonjour</h1><p>Votre newsletter…</p>"
  }'

On mobile, the user opens the complete newsletter directly from the hub list.

6. Next

TopicLink
Authentication and scopesAuthentication
All content typesMedia and Content Types
Interactive formsFlows
Sandbox hostsSandbox and Live
Not a partner?Developer Accounts (approved templates only)
Error formatErrors