Automation
Create inbox
POST
Create an inbox (routing queue). Owner/admin.
bearer automation:writeheader
AuthorizationBearer <token>API key (rsl_live_…) from Settings → Developers.
Scope: automation:write
application/json- body
name*stringLength
1 <= length <= 80emoji*stringOne emoji shown next to the inbox name.
Length
length <= 16description?stringLength
length <= 500domains*array<>Website domains whose chats go to this inbox.
Items
items <= 50emailDomains?array<>Recipient email domains routed here.
Items
items <= 50matchType*stringexact = domain must match exactly; contains = substring match.
Value in
"exact""contains"isDefault?booleanCatch-all inbox for conversations matching no other inbox.
Success
application/json- response
id*stringname*stringemoji*stringdescription*stringdomains*array<string>emailDomains*array<string>matchType*stringValue in
"exact""contains"isDefault*booleanorder*numbercurl -X POST "https://example.com/inboxes" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "emoji": "string", "domains": [ "string" ], "matchType": "exact" }'{ "id": "string", "name": "string", "emoji": "string", "description": "string", "domains": [ "string" ], "emailDomains": [ "string" ], "matchType": "exact", "isDefault": true, "order": 0}