Send message
Send a message in a conversation. Supports text, attachments, quick replies, buttons, and message tags. Attachment and interactive message support varies by platform.
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
The conversation ID (id field from list conversations endpoint). This is the platform-specific conversation identifier, not an internal database ID.
Social account ID
Message text
Quick reply buttons. Mutually exclusive with buttons. Max 13 items.
items <= 13Action buttons. Mutually exclusive with quickReplies. Max 3 items.
items <= 3Generic template for carousels (Instagram/Facebook only, ignored on Telegram).
Telegram-native keyboard markup. Ignored on other platforms.
Facebook messaging type. Required when using messageTag.
"RESPONSE" | "UPDATE" | "MESSAGE_TAG"Facebook message tag for messaging outside 24h window. Requires messagingType MESSAGE_TAG. Instagram only supports HUMAN_AGENT.
"CONFIRMED_EVENT_UPDATE" | "POST_PURCHASE_UPDATE" | "ACCOUNT_UPDATE" | "HUMAN_AGENT"Platform message ID to reply to (Telegram only).
Response Body
application/json
application/json
application/json
curl -X POST "https://getlate.dev/api/v1/inbox/conversations/string/messages" \ -H "Content-Type: application/json" \ -d '{ "accountId": "string" }'{
"success": true,
"data": {
"messageId": "string",
"conversationId": "string",
"sentAt": "2019-08-24T14:15:22Z",
"message": "string"
}
}{
"error": "string",
"code": "PLATFORM_LIMITATION"
}{
"error": "Unauthorized"
}