cURL
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": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } '
{ "message": "<string>" }
Assign a version of an agent to a phone number
Documentation IndexFetch the complete documentation index at: https://docs.usesimple.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.usesimple.ai/llms.txt
Use this file to discover all available pages before exploring further.
The UUID of the agent to assign
When assigning an agent, specifies which agent version to use. If not provided, uses the most recently updated version.
"456e7890-e89b-12d3-a456-426614174000"
Successful Response
Was this page helpful?
Contact support