Skip to main content

Retrieve a phone number

GET 

/external_connections/:id/phone_numbers/:phone_number_id

Return the details of a phone number associated with the given external connection.

Request

Path Parameters

    id int64required

    Identifies the resource.

    phone_number_id stringrequired

    A phone number's ID via the Telnyx API

Responses

200: Successful response

Schema

    data

    object

    ticket_id uuid

    Uniquely identifies the resource.

    telephone_number string

    Phone number in E164 format.

    number_id string

    Phone number ID from the Telnyx API.

    civic_address_id uuid

    Identifies the civic address assigned to the phone number.

    location_id uuid

    Identifies the location assigned to the phone number.

    displayed_country_code string

    The iso country code that will be displayed to the user when they receive a call from this phone number.

    acquired_capabilities string[]

    Possible values: [FirstPartyAppAssignment, InboundCalling, Office365, OutboundCalling, UserAssignment]

401: Unauthorized

404: Not found

Loading...