AgentBots
Inbox API
Conversations API
Contact Labels
CSAT Survey Page
Account AgentBots
Agents
Canned Responses
Canned Response
Custom Attributes
Contacts
Automation Rule
Help Center
Conversations
Conversation Assignment
Conversation Labels
Inboxes
Integrations
Profile
Teams
Custom Filters
Conversations API
Create a conversation
Conversations API
Create a conversation
Create a conversation
POST
/
public
/
api
/
v1
/
inboxes
/
{inbox_identifier}
/
contacts
/
{contact_identifier}
/
conversations
curl --request POST \
--url https://app.chatwoot.com/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations \
--header 'Content-Type: application/json' \
--data '{
"custom_attributes": {}
}'
{
"id": 123,
"inbox_id": "<string>",
"messages": [
{
"content": "<string>",
"content_type": "text",
"content_attributes": {},
"message_type": "incoming",
"created_at": 123,
"private": true,
"attachment": {},
"sender": {},
"conversation_id": 123
}
],
"contact": {}
}
Path Parameters
The identifier obtained from API inbox channel
The source id of contact obtained on contact create
Body
application/json
Response
200
application/json
Success
The response is of type object
.
curl --request POST \
--url https://app.chatwoot.com/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations \
--header 'Content-Type: application/json' \
--data '{
"custom_attributes": {}
}'
{
"id": 123,
"inbox_id": "<string>",
"messages": [
{
"content": "<string>",
"content_type": "text",
"content_attributes": {},
"message_type": "incoming",
"created_at": 123,
"private": true,
"attachment": {},
"sender": {},
"conversation_id": 123
}
],
"contact": {}
}