Get External Chat Session


This request retrieves the existing external chat session.

Resource

GET https://<HOST>/portal/chat/<TENANT>/gateways/<GATEWAY_ID>/sessions/<SESSION_ID>

Where 'GATEWAY_ID' is the id of the gateway and 'SESSION_ID' is the id of the session.

Parameters

None

Payload

None

Context

Authorization

Authorized by token:
The Xelion token should be send in the Authorization header.

Errors

HTTP code Description

400

Missing tenant, gateway id

500

General error, gateway not found, session not found or not linked to this gateway

Example

Request
GET https://xelion.nl/portal/chat/master/gateways/1234567/sessions/2045858
Response
{
    "id": "2138014",
    "name": "External Chat Wesley < - > arno",
    "activatedDate": "",
    "idleDate": "",
    "endDate": "2023-02-02 12:53:25"
}