Send a message to a contact
POST /contacts/:id/messages
Everything you send is saved as a conversation on the contact, so your team sees it in their history.
{ "channel": "email", "subject": "Your request", "body": "Hi Ada, ...", "agentId": "optional" }
Sent from the email channel of the agent (the first enabled one when agentId is left out). The contact's reply threads back into the same conversation. Limit: 30 emails per hour per organization.
WhatsApp, Instagram, Messenger
{ "channel": "whatsapp", "body": "Thanks, we have your documents." }
These continue a chat the contact started. Messaging platforms only allow replies for a limited time after the customer's last message.
| Status | Meaning |
|---|---|
409, code: "window_closed" | The messaging window is closed. The contact has to write first. |
| 409 | The contact has no chat on that channel yet. |
| 403 | The channel is not part of your plan. |
A successful send returns { "sent": true, "conversationId": "...", "messageId": "..." }.