> ## Documentation Index
> Fetch the complete documentation index at: https://dialnexa.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Phone Number

> Fetch the full record of a single phone number in your account, including capabilities, assigned agent, and rental status.

<Warning>
  **Legacy endpoint - deprecated.** Unversioned endpoints are scheduled for removal on **July 31, 2026**. Use the [`/v1` version](/docs/api-reference/v1/phone-numbers/get) for new integrations. This endpoint remains available for existing integrations until then.
</Warning>

Returns the full record for a single purchased phone number: the E.164 `phone_number`, the `country_code`, the `type` (local, toll-free, or mobile), the monthly rental cost, the supported `capabilities` (voice, SMS where available), the display `nickname`, the currently assigned `inbound_agent_id`, and the purchase timestamp.

## When to use this

* **Number management UIs**: render the per-number detail view in a phone-number management page.
* **Routing audits**: verify which agent is currently handling inbound calls on a specific number before making changes.
* **Cost attribution**: pull `monthly_cost_usd` to attribute telephony spend per workspace or per use case in internal reports.
* **Compliance reviews**: confirm the number's country and capabilities match the use case it is being used for.

For the entire portfolio of numbers on the workspace, use [List Phone Numbers](/docs/api-reference/v1/phone-numbers/list).

## Path parameters

| Parameter | Description                                          |
| --------- | ---------------------------------------------------- |
| `id`      | The phone number ID, for example `phn_f7w2kx5mb9qz`. |

## Errors

* `404 Not Found` is returned when the number does not exist on this workspace.
* `403 Forbidden` is returned when the API key cannot read phone number records.

## Related endpoints

* [List Phone Numbers](/docs/api-reference/v1/phone-numbers/list): see every number on the workspace.
* [Update Phone Number](/docs/api-reference/phone-numbers/update): change the nickname or reassign the inbound agent.
* [Release a Number](/docs/api-reference/v1/phone-numbers/delete): release a number back to the provider's pool.
* [Buy a Phone Number](/docs/api-reference/v1/phone-numbers/buy): purchase a new number.


## OpenAPI

````yaml GET /organization-phone-numbers/{id}
openapi: 3.0.0
info:
  title: DialNexa API
  description: >-
    Public REST API for the DialNexa voice AI platform. Versioned endpoints are
    under /v1; unversioned endpoints are legacy and deprecated.
  version: 1.0.0
servers:
  - url: https://api.dialnexa.com
    description: DialNexa production API
security:
  - bearer: []
tags:
  - name: API Keys
  - name: Agent Functions
  - name: Agents V1
  - name: Agents2
  - name: Batch Calls
  - name: Batch Calls V1
  - name: Call Logs
  - name: Calls
  - name: Calls V1
  - name: Campaign Leads
  - name: Campaigns
  - name: External Webhooks
  - name: Knowledge Base
  - name: Knowledge Base V1
  - name: LLMs
  - name: LLMs V1
  - name: Languages
  - name: Languages V1
  - name: Organization Phone Numbers
  - name: Organization Phone Numbers V1
  - name: Phone Number Pricing
  - name: Phone Number Pricing V1
  - name: Transcribers
  - name: Transcribers V1
  - name: User Webhooks
  - name: User Webhooks V1
  - name: V1
  - name: Voices
  - name: Voices V1
  - name: Webcall
  - name: Workflow Leads
  - name: Workflow Leads V1
  - name: Workflows
  - name: Workflows V1
paths:
  /organization-phone-numbers/{id}:
    get:
      tags:
        - Organization Phone Numbers
      summary: Get a phone number by ID
      description: >-
        **Legacy endpoint - deprecated, scheduled for removal on July 31,
        2026.** Use the `/v1` version for new integrations. 


        Fetches a single phone number record by ID, including its organization
        and telephony provider association. Returns 404 if not found; only users
        from the owning organization can view it.
      operationId: OrganizationPhoneNumbersController_findOne
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
        - name: x-organization-id
          in: header
          description: RSA-encrypted organization_id string (base64 format)
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Phone number found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationPhoneNumber'
        '403':
          description: Phone number does not belong to your organization
        '404':
          description: Phone number not found
      deprecated: true
components:
  schemas:
    OrganizationPhoneNumber:
      type: object
      properties:
        sip_trunk_enabled:
          type: boolean
          default: false
          description: >-
            When true, Speech IO uses SIP trunking (e.g. asterisk) for this
            number.
      required:
        - sip_trunk_enabled
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````