Skip to content
First requestVisit website ↗
Navigation

Assign or clear the inbound voice agent for an owned number

Does not redirect the number or change Twilio settings. Consumer readiness is required before assigning. Clears use null and preserve default routing. Takes effect within the five-second runtime memo window.

PUT
https://api.channelautomation.com/api/workspaces/{workspaceId}/voice-ai/numbers/{phone}

Authorization

  • BearerAuth
    HTTP Bearer (JWT)
    required

Path parameters

  • workspaceId
    string
    required
  • phone
    string
    required

    URL-encoded E.164 or formatted phone number

Request body JSON required

  • agent_id
    string
    or null
    required
    format: uuid

Returns

200

Assignment saved or cleared

400

Invalid phone or agent

401

Authentication required

403

Admin or manager role required

409

Agent disabled or not set up

503

Migration or consumers not ready; assignment unchanged

Type to search…

↑↓ navigate↵ selectEsc close