Create an inbox
POST
/api/v1/accounts/{account_id}/inboxes/
Inboxes
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/accounts//inboxes/' \
--header 'Content-Type: application/json; charset=utf-8' \
--data-raw '{
"name": "string",
"avatar": "string",
"channel": {
"type": "web_widget",
"website_url": "string",
"welcome_title": "string",
"welcome_tagline": "string",
"agent_away_message": "string",
"widget_color": "string"
}
}'
Response Response Example
200 - Example 1
{
"id": 0,
"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"
}
Request
Path Params
account_id
integerÂ
required
Body Params application/json; charset=utf-8