Skip to main content
POST
Create conversation
Replace {your-subdomain} with your workspace’s subdomain.
Learn how to find your subdomain in Workspace subdomain.

Headers

X-Api-Key
string
default:your-api-key
required

Use the X-Api-Key header to provide your workspace API key. Refer to Authentication for more information.

Accept
enum<string>
default:application/json
required

Specifies the expected response format. Must be set to application/json for proper API communication.

Available options:
application/json

Body

application/json
visitor_attributes
object
required

Details of the contact starting the conversation.

messages_attributes
object[]
required

Messages from the contact that start the conversation. At least one message with a body is required.

title
string
Example:

"Refund for order #1042"

status
string

Status of the conversation. It must be one of the statuses of your workspace.

Example:

"open"

priority
enum<string>
Available options:
low,
medium,
high,
urgent
Example:

"high"

assignee_email
string<email>

Email of the team member to assign the conversation to. It is ignored when no team member has this email.

Example:

"oliver@example.com"

group_name
string

Name of the group to assign the conversation to. It is ignored when no group has this name.

Example:

"Billing"

tags
string[]

Names of the tags to add to the conversation. Tags that don't exist yet are created.

Example:
ticket_fields
object

Ticket field values keyed by the field's name. Use the option label for dropdown fields, an array of labels for multi-select fields and true or false for checkbox fields.

Example:
origin_page_url
string

URL of the page the conversation was started from.

Example:

"https://example.com/pricing"

origin_page_title
string

Title of the page the conversation was started from.

Example:

"Pricing"

Response

Created - Conversation created successfully

conversation
object