Reply in a conversation
Adds a message or a private note to a conversation. This endpoint does not check the service window. For a reply to the customer, POST /accounts/{account_id}/developer/messages with conversation_id is better, because it checks the window first. The name of the key is the sender of the message. A request cannot set another sender.
Authentication
An API key that an administrator creates in Settings > Developer. The personal access token of a user does not work. A key reaches every inbox, conversation, and contact in the account that created it, and nothing in other accounts.
Path parameters
The id of your account. It is the number after /accounts/ in the dashboard URL.
The conversation number in the dashboard URL (display_id). It is not the internal id of the conversation.
Request
When true, the message is a private note. Agents see it, and the customer does not get it.
Sends an approved WhatsApp template instead of free text. A template is necessary to start a conversation on WhatsApp, or to send after the 24-hour service window closes. When this field is present, the API does not check the service window on any channel. Send it only on an inbox that has approved templates.
Response
The conversation number in the dashboard URL (display_id).
0 for incoming, 1 for outgoing, 2 for activity, 3 for template.
The sender. For a message that a key sends, type is api_key and name is the name of the key.