Update Phone Number
Changed onChange the label and/or repoint the number at another agent — the deployment-pipeline move (rebind from the staging agent to the production one). Send agent_id: null to unbind; unbound numbers ring busy. The agent must live in the number's workspace. Rebinding is a routing-table update resolved on the next inbound call; nothing about the number itself is reprovisioned.
Managed twilio numbers also accept transfer_caller_id, which picks the number a transfer target sees (cold and warm alike), and retry_caller_id_sync to re-apply it after a failed synchronization. Read caller_id_sync_status on the response. Imported sip numbers return 409 for either field because their carrier owns the setting.
Every field here is a number setting, not agent config: changes apply from the next call without publishing, and publishing or rolling back the agent never changes them. Cold-transfer caller ID applies once caller_id_sync_status is synced.
Request
- Base URLhttps://api.fish.audio
- URLhttps://api.fish.audio/v1/agent/phone-numbers/{phone_number_id}
- AuthHTTP bearer
Path parameters
Request body
Response
Request fulfilled, document follows
Changes
- info
endpoint added
- info