Create External Chat Session From Gateway
This request creates a new external chat session from a chat gateway and returns chat session information.
A gateway ID is needed to start the session. The gateway ID is given by the administator client.
Resource
POST https://<HOST>/portal/chat/<TENANT>/gateways/<GATEWAY_ID>/sessions
Parameters
None
Payload
Response
Context
Authorization |
Authorized by token: |
Errors
HTTP code | Description |
---|---|
400 |
Missing tenant, gateway id or session info |
Example
Request
POST https://xelion.nl/portal/chat/master/gateways/1234567/sessions
Payload
{
"clientId": "peter"
}
Response
{
"id": "2045858",
"name": "External Chat Support < - > peter",
"activatedDate": "",
"idleDate": "",
"endDate": ""
}