Send a text or attachment to a recipient
Routes an outbound iMessage to a single recipient phone number via a registered agent. Supports text, media attachments, and optional idempotency keys.
Authentication
X-App-Idstring
Your MessageBlue App ID, sent in clear on every request. It is paired with request signing: each request is also signed with your App Secret (see the Authentication tag). The App Secret itself is NEVER transmitted — it is only the HMAC signing key.
Headers
Idempotency-Key
Request
This endpoint expects an object.
to
from
Optional: if not provided, it is resolved automatically.
text
attachments
Array of public URLs of attachments
status_callback
Optional status callback URL
mapNewNumber
Optional: if true, removes existing mapping and assigns a new agent with least mappings today.
Response
Completed by agent
ok
data
Endpoint-specific payload wrapped in a standard success envelope.
meta
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error
504
Gateway Timeout Error
