Append Customer Identifiers
POST https://{{axpAPIDomain}}/api/digital/channel/v1/accounts/:accountId/sessions/{{digitalSessionId}}:appendIdentifiers
Appends customer identifiers to an existing session. If the key of the identifier already exists, the new value will be appended to the existing list.
Request Body
{"emailAddresses"=>["dave@example.com"], "phoneNumbers"=>["+31 20 5101 9005"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
appkey | string | ||
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"sessionId":"10494b78-710c-11eb-9439-0242ac130002","accountId":"{{accountId}}","channelProviderId":"ChatConnector01","displayName":"John Doe","customerIdentifiers":{"emailAddresses":["john@example.com","dave@example.com"],"phoneNumbers":["+91 20 4101 8003","+31 20 5101 9005"]},"sessionParameters":{"language":"english","device":"mobile","app":"chrome-mobile"},"sessionStatus":"ACTIVE","providerCustomerId":"55","createdAt":"2018-11-13T20:25:39.534Z","lastUpdatedAt":"2018-11-13T20:25:39.734Z","url":"https://us.cc.avayacloud.com/api/digital/channel/v1/sessions/10494b78-710c-11eb-9439-0242ac130002"}