Перейти к основному содержимому

POST /api/v1/chat/session/call-operator

Escalates the current chat session to a human support operator. A notification is sent to the support team.

Authentication

Optional. Works for both authenticated and anonymous sessions (identified by session cookie).

Request

No request body required.

Example

curl -X POST https://intotes.com/api/v1/chat/session/call-operator

Response

200 OK

{
"success": true,
"message": "Operator called successfully"
}

Errors

StatusCodeDescription
404not_foundNo active chat session found
500internal_errorServer failed to notify operator