Skip to main content
POST
/
api
/
v1
/
conversations
/
{id}
/
takeover
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
}

Authorizations

X-API-Key
string
header
required

API key authentication. Pass your API key in the X-API-Key header.

Path Parameters

id
string
required

Body

application/json
durationMinutes
integer
default:10

Duration in minutes for the takeover

Response

200 - application/json
id
string<uuid>
required
contact
string
required
agent
string
required
chatWindowRemainingTime
string
required
lastMessage
string
required
isHumanTakeover
string
required
active
string
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
credits
integer
Required range: -2147483648 <= x <= 2147483647