POST
/
phones
/
{phone}
/
set_agent
curl --request POST \
  --url https://api-west.millis.ai/phones/{phone}/set_agent \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "agent_id": "<string>"
}'
{
  "success": true
}

Headers

authorization
string
required

Path Parameters

phone
string
required

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.