Overview
Creates a new conversation under your business. Optionally link an existing customer and include an opening message from the agent. The conversation is associated with your business’s default channel.Request
Method:POST
URL: /api/v1/conversations/
Headers
Body parameters
string (UUID)
required
The UUID of your business. Must match the business associated with your account.
string (UUID)
UUID of an existing customer to associate with this conversation. Optional — leave unset if the customer is unknown at creation time.
string
An optional opening message from the agent. If provided, a message record is created with
sender_type: "agent".Response
Returns the newly created conversation object.string (UUID)
Unique identifier for the conversation.
string (UUID)
The business this conversation belongs to.
string (UUID) | null
The associated customer, or
null if not linked.string (UUID) | null
The assigned agent, or
null if unassigned.string
Set to
"open" on creation.string
The channel type derived from the resolved channel record.
string (UUID) | null
The channel this conversation is linked to.
string (ISO 8601)
Timestamp when the conversation was created.
string (ISO 8601)
Timestamp when the conversation was last updated.
string (ISO 8601) | null
Timestamp of the first agent response. Populated immediately if
initial_message is provided.object | null
Embedded customer object if a
customer_id was provided.array
Array of messages. Contains the initial message if one was provided.