Set External Chat Is Typing


This request is called when the user is typing a new chat message for this session. This activates the chat typing event.

Send this event every 10 seconds (if the user is still typing after 10 seconds offcourse). The receiving client should show the is typing message for 15 seconds. If another is typing event is received in the meantime, the is typing message timer should be resetted and starting the 15 seconds again. This will make sure the is typing event is not removed when the other party is still typing the message. The notification event is implemented through websockets.

Resource

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

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

Parameters

None

Payload

None

Response

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
POST https://xelion.nl/portal/chat/master/gateways/1234567/sessions/2045858/is_typing