calcom_timezone_override, custom_prompt, voice_id, sms_reply_enabled, sms_prompt, web_prompt, speaking_rate, dtmf_enabled, require_booking_confirmation, record_call, recording_source, voicemail_leave_enabled, voicemail_message.
SCOPE · number Import an owned carrier number, assign an agent, edit its channels or remove its Nixflex connection.
For a different greeting per business, keep Dynamic greeting on (the default) and put the opening line in that number’s custom_prompt. For example, “Start every call with: Thank you for calling Oak and Stone”.
Read the compact AI rules
Read an owned number, change only its intended settings and verify the result without recreating its connections.
Scope: Owned number ·
Move: Agent-only PATCH ·
Verification: Read back
The important part
- URL-encode the number, including the leading plus sign.
- Moving an owned number preserves number-owned settings but changes inherited agent behaviour.
- Null means inherit only on fields that explicitly document it.
Choose the task
Prerequisites
Keep the full account credential inNIXFLEX_API_KEY. Choose an owned active number and agent. URL-encode the number, including its leading plus sign. Examples use placeholder identifiers; replace them with owned values before running.
1. Read the number
Node and Python below use their standard HTTP clients. KeepNIXFLEX_API_KEY on the server. The CLI examples require a CLI version that supports the command; see release status. No example retries a mutation automatically.
2. Check ownership and channel switches
Read the savedsource, agent_id and channel flags. source is assigned by the import route, not a writable permission switch. web_calls_enabled is effective only with web_agent_enabled; website custom functions require web_functions_enabled. Dashboard source filtering does not transfer account ownership.
3. Send a focused change
UsePATCH /v1/phone-numbers/{number}. For example, {"sms_reply_enabled":true} changes the SMS switch; it does not write SMS instructions. Only documented nullable fields accept null. A number’s explicit recording boolean overrides the agent, while its null value inherits.
4. Move without re-importing
Use an agent-only PATCH,{"agent_id":"agent_destination"}. The destination must be active and owned by the same account. Live calls, replies, campaigns or number operations can produce number_busy. Settings, integrations and history remain on the number; inherited agent behaviour and knowledge change.
5. Read back and reconcile
GET the number after a confirmed update. On a lost mutation response, read its state before repeating. Removal also has cleanup and uncertainty states; it is not a promise that every telephone routing change finished or that number rental ended.Example response
A number GET returns the safe number object, includingphone_number, agent_id, read-only source and saved public settings. Credentials are not returned. Use the GET schema for its complete shape.