Create a conversation
Creates a conversation for a contact on an inbox. If the inbox keeps 1 conversation for each contact, the API returns the latest conversation of the contact instead. This endpoint does not check the service window for message. For most integrations, POST /accounts/{account_id}/developer/messages is better.
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.
Request
An agent of the account. An id from another account returns 404.
A team of the account. An id from another account returns 404.
For snoozed, a Unix timestamp in seconds.
Response
The conversation number in the dashboard URL (display_id). It is not the internal id.
true when the service window is open and the API accepts plain content. When false, send a template.
Unix timestamp, in seconds. 0 when the conversation does not wait for a reply.