Skip to main content
FIXED · account A number belongs to an account and agent. On a shared agent always pass that customer’s eligible from_number. NOT OFFERED → do this instead · number Fixed welcome_message, language, general timezone and pickup delay belong to the agent. Use Dynamic greeting and the number’s custom_prompt for its opening. Split agents for different fixed settings. YOU CAN CHANGE · number PATCH fields below. Clearing depends on the field. Null record_call or require_booking_confirmation inherits. Use the number’s voicemail controls. 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 Prepare an owned carrier number for Nixflex with the correct credentials, agent assignment and routing checks.
Input: Owned carrier number ·
Assignment: Active owned agent ·
Routing: Verify result
The important part
  • Import connects an existing eligible number; it is not a number purchase or port.
  • Credentials stay private and must match the selected carrier and account.
  • An uncertain routing result needs reconciliation before another import.

Choose the task

Prerequisites

Keep NIXFLEX_API_KEY private on the server. Raw HTTP base URL: https://api.nixflex.com/v1. Node and Python SDK base URL: https://api.nixflex.com. The SDK adds /v1. Use owned identifiers; SDK and CLI examples need the documented minimum versions. Prepare the number’s authorised connection details through your private configuration process.

1. Read existing numbers

Node and Python below use their standard HTTP clients. Keep NIXFLEX_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 the target account and agent

Use an active agent owned by the same account. A number already connected elsewhere or still settling an earlier operation cannot be treated as a fresh import. Do not change origin labels to bypass account checks.

3. Prepare the documented import

Connect an owned number in the dashboard or from your server. The number import reference lists the credential fields for each carrier. Keep those values in protected server configuration.

4. Reconcile the saved state

Submit the intended import once and retain any returned operation information. Read back the owned number and verify the real routing result. A saved credential or signature key does not confirm that a later callback was verified.

5. Move with the supported update

To change agents within the account, use an agent-only number PATCH after busy work settles. Do not remove and re-import as the normal move procedure. Removal has its own external-cleanup and uncertain-state handling.

Example response

A number read returns {"phone_number":{...}} with safe public settings and read-only source. Private credentials and internal operation tokens are excluded.

Errors and limits

Next steps