Enables human takeover mode for a conversation
cURL
curl --request POST \ --url https://backend.wassist.app/api/v1/conversations/{id}/takeover/ \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "durationMinutes": 10 } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "contact": "<string>", "agent": "<string>", "chatWindowRemainingTime": "<string>", "lastMessage": "<string>", "isHumanTakeover": "<string>", "active": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "credits": -1 }
API key authentication. Pass your API key in the X-API-Key header.
Duration in minutes for the takeover
-2147483648 <= x <= 2147483647
Was this page helpful?