Skip to main content
GET
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 Get a phone number in the authenticated account.
Method: GET ·
Success: 200 ·
Scope: Owning account
The important part
  • Read the number’s own settings and its assigned agent.
  • A null override can inherit an agent value; it is not necessarily disabled.

Authentication

Use Authorization: Bearer KEY_ID:KEY_SECRET for the owning account. An organisation API key has Owner authority. Personal sessions use the role rules documented in Authentication; do not treat a Member session as an API key.

Request fields

Do not send a request body. Use E.164 and URL-encode the leading plus: /v1/phone-numbers/%2B12025550100. Requires an active API key/account. Numbers you do not own, unknown numbers and pending imports all return 404 number_not_found. The response is { "phone_number": { ... } }. Every field below is present; unset saved overrides remain null. This is not a dump of the database row. Effective voice is only a switch calculation, not a guarantee that a call can start. Account/agent activity, billing, authorization and existing admission checks still apply. Legacy null Web agent values retain the existing engine’s enabled interpretation. No value is written by this request; it never changes the saved voice switch.

Telnyx key status

Same projection as the dashboard: fingerprint is at most 16 characters; the previous-key deadline is null when absent/expired. set and verified describe stored key state, not provider health. Twilio numbers normally have false/false/null/null key metadata. To install or rotate a Telnyx signature key, send telnyx_public_key with the import or a number PATCH. Saving the key does not verify it. Only a valid signed callback verifies a saved key; read back this status after the normal callback test. There is no API field to force verified. See update and import. Credentials, carrier account secrets, full signature keys, full fingerprints, internal row/account/import IDs and operation tokens are never returned.

Response fields

200 returns the following shape.

Example request

Production HTTP examples. Replace the placeholder identifiers with resources owned by the account. Set NIXFLEX_API_KEY privately; never print it.

Example response

Illustrative response with placeholder identifiers.

Errors

Branch on error.code, not the wording of error.message. The envelope includes type, code, message, doc_url and details.

Retry and idempotency

Use bounded retries only for temporary read failures. Keep the same filters while paging. See retry rules.

Authorizations

Authorization
string
header
required

KEY_ID:KEY_SECRET from the owning account. Keep it server-side. A verified personal dashboard Bearer session may be used where the operation documents role-based access.

Path Parameters

phoneNumber
string
required

The number in E.164 format. URL-encode the leading + as %2B.

Example:

"+447446466847"

Response

Saved safe settings, not inherited values.

phone_number
object
required

Explicit safe saved settings. Null means unset, not a resolved agent value. No credentials or internal IDs.