cURL
curl --request POST \ --url https://release0.com/api/v1/sessions/{sessionId}/updateAgent \ --header 'Authorization: Bearer <token>'
{ "message": "success" }
API endpoint to update the agent associated with an active chat session.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
The response is of type object.
object