Update Session Parameters
POST https://{{axpAPIDomain}}/api/digital/channel/v1/accounts/:accountId/sessions/{{digitalSessionId}}:updateSessionParameters
Updates the session parameters of an existing session. If the key of the parameter already exists, it will be updated with the new value else both the key and the value will be added to existing parameters.
Request Body
{"country"=>"Ireland"}
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"],"phoneNumbers":["+91 20 4101 8003"]},"sessionParameters":{"language":"english","device":"mobile","app":"chrome-mobile","country":"Ireland"},"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"}