Skip to main content
POST
/
numbers
/
{uuid}
/
assign_agent
Assign Agent to Number
curl --request POST \
  --url https://api.prod.usesimple.ai/api/v1/numbers/{uuid}/assign_agent \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "agent_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "version_id": "456e7890-e89b-12d3-a456-426614174000"
}'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Path Parameters

uuid
string<uuid>
required

Body

application/json
agent_uuid
string<uuid>
required

The UUID of the agent to assign

version_id
string<uuid>

When assigning an agent, specifies which agent version to use. If not provided, uses the most recently updated version.

Examples:

"456e7890-e89b-12d3-a456-426614174000"

Response

Successful Response

message
string
I