API Overview

Base URL

Sandbox (current public host):

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

All endpoints are under /api/v1 unless otherwise stated.

EnvironmentBase URL
Sandboxhttps://api.morisbox.com/api/v1
Local Dockerhttp://127.0.0.1:11300/api/v1
Sandbox serviceURL
Partner Hubhttps://partner.morisbox.com
Partner docshttps://docs.morisbox.com/partners
Developer docshttps://developers.morisbox.com/developers
Developer dashboardhttps://developers.morisbox.com/login
Client Applicationhttps://morisbox.com

Conventions

TopicRule
FormatJSON request / JSON response
AuthenticationAuthorization: Bearer <api_key>
Phone numbersE.164 (+228XXXXXXXX)
DatesISO-8601 strings
Errors{ "error": { "code", "message" } }
Successful creationUsually 201

Two API surfaces

SurfaceKeyAudienceDocumentation
Partner APIsk_…Partner organizationsThis site (Messages, Bots, and more)
Developer APIsk_dev_…Independent developersdocs.morisbox.com/developers

Resource groups (partners)

GroupPrefixDocumentation
Messages/messagesMessages
Proof of Delivery/messages/{id}/auditSecurity and Compliance
Broadcasts/broadcastsBroadcasts
Templates/templatesTemplates
Accounts/accountsAccounts and Linking
Conversations/conversationsConversations
Bots/botsBots
Validation/validate/*Field Validation
Settings/settings/*Keys, users, fields, and compliance

Resource groups (developers)

GroupPrefixDocumentation
Authentication/auth/developer/*Developers
Profile / settings/dev/me, /dev/settingsDevelopers
Keys/dev/api-keysDevelopers
MorisBox templates/dev/templatesDevelopers
Messages/dev/messagesDevelopers

Partner example: list messages

GET /api/v1/messages?phone=%2B228XXXXXXXX&limit=20
Authorization: Bearer sk_…

Developer example: send with a template

POST /api/v1/dev/messages
Authorization: Bearer sk_dev_…
Content-Type: application/json

{
  "phone": "+228XXXXXXXX",
  "template_code": "notification",
  "lang": "fr",
  "vars": { "text": "Bonjour" }
}

Rate limits

Per-key limits may apply. When throttled, the API returns 429 with a retry hint. Partners should prefer broadcasts for high-volume delivery.

Versioning

The current public version is v1. Breaking changes will use a new prefix (/api/v2) or a documented deprecation window.