POST
/
calls
/
web
/
register
curl --request POST \
  --url https://api.puretalk.ai/api/calls/web/register \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "assistant_id": "e1f09482-2910-45e1-a2f3-ab75cd9a5a51"
}'
{
  "msg": "Success",
  "err": false,
  "results": {
    "call_id": "696a4c8f-3eaf-41bf-a052-2c2fe630c046",
    "token": "eyJhbGciOiJIUzI1NiJ9.eyJSb2xlIjoiQWRtaW4iLCJJc3N1ZXIiOiJJc3N1ZXIiLCJVc2VybmFtZSI6IkphdmFJblVzZSIsImV4cCI6MTc0NzY2MjY0NiwiaWF0IjoxNzQ3NjYyNjQ2fQ.DmmgsIB4wLO9dmUGsOAvbzXb5Ntc_Qhj68jJr4AM6PQ"
  }
}

Authorizations

X-API-KEY
string
header
required

Authorization header containing API key. You can find your API key in the dashboard under 'API Keys'.

Body

application/json

Response

200
application/json

Success

The response is of type object.