Phones
Set Agent
Call Management
Phones
Conversational AI
Agents
Knowledge Base
Campaigns
Call Management
Phones
Conversational AI
API Reference
Agents
Knowledge Base
Phones
Set Agent
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
Path Parameters
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
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
}