Create a channel account

POST {{baseUrl}}/conversations/v3/custom-channels/:channelId/channel-accounts

This API allows you to create one or more accounts that all talk over a single channel but using different delivery identifiers.

Request Body

{"authorized"=>"<boolean>", "inboxId"=>"<string>", "name"=>"<string>", "deliveryIdentifier"=>{"type"=>"<string>", "value"=>"<string>"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;active&quot;:&quot;\u003cboolean\u003e&quot;,&quot;archived&quot;:&quot;\u003cboolean\u003e&quot;,&quot;authorized&quot;:&quot;\u003cboolean\u003e&quot;,&quot;channelId&quot;:&quot;\u003cstring\u003e&quot;,&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;inboxId&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;archivedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;deliveryIdentifier&quot;:{&quot;type&quot;:&quot;\u003cstring\u003e&quot;,&quot;value&quot;:&quot;\u003cstring\u003e&quot;}}