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
Contact
Create contact inbox
Contact
Create contact inbox
Create a contact inbox record for an inbox
POST
/
api
/
v1
/
accounts
/
{account_id}
/
contacts
/
{id}
/
contact_inboxes
curl --request POST \
--url https://app.chatwoot.com/api/v1/accounts/{account_id}/contacts/{id}/contact_inboxes \
--header 'Content-Type: application/json' \
--data '{
"inbox_id": 123,
"source_id": "<string>"
}'
{
"source_id": "<string>",
"inbox": {
"id": 123,
"name": "<string>",
"website_url": "<string>",
"channel_type": "<string>",
"avatar_url": "<string>",
"widget_color": "<string>",
"website_token": "<string>",
"enable_auto_assignment": true,
"web_widget_script": "<string>",
"welcome_title": "<string>",
"welcome_tagline": "<string>",
"greeting_enabled": true,
"greeting_message": "<string>"
}
}
Path Parameters
The numeric ID of the account
ID of the contact
Body
application/json
Response
200
application/json
Success
The response is of type object
.
curl --request POST \
--url https://app.chatwoot.com/api/v1/accounts/{account_id}/contacts/{id}/contact_inboxes \
--header 'Content-Type: application/json' \
--data '{
"inbox_id": 123,
"source_id": "<string>"
}'
{
"source_id": "<string>",
"inbox": {
"id": 123,
"name": "<string>",
"website_url": "<string>",
"channel_type": "<string>",
"avatar_url": "<string>",
"widget_color": "<string>",
"website_token": "<string>",
"enable_auto_assignment": true,
"web_widget_script": "<string>",
"welcome_title": "<string>",
"welcome_tagline": "<string>",
"greeting_enabled": true,
"greeting_message": "<string>"
}
}