InboboDocsMenu

Channels

SMS

Send plain text messages to any phone number. There is no window and no template to approve.

Recipient

Use to.phone with an international number. Spaces and dashes are ignored and the number is stored in E.164 form (+255712345678).

to
{ "phone": "+255712345678" }

Message

SMS accepts text only, up to 4,096 characters. Long messages are split into several SMS segments by the provider and billed accordingly. Sending a template to an SMS channel returns 400 VALIDATION_ERROR.

message
{ "type": "text", "text": "Your code is 482913" }

Example

curl -X POST https://inbobo.im/transport/api/v1/messages \
  -H "Authorization: Bearer $INBOBO_TOKEN" \
  -H "Idempotency-Key: otp-8841-v1-attempt1" \
  -H "Content-Type: application/json" \
  -d '{
    "channel_id": "ch_20",
    "to": { "phone": "+255 712 345 678" },
    "message": { "type": "text", "text": "Your code is 482913" },
    "purpose": "authentication",
    "consent_reference": "signup-8841"
  }'

Delivery status

SMS reports sent, delivered and failed. There is no read receipt. Customers who reply, including opt-outs, arrive as sms.message.received callbacks.