---
title: "Retrieve a phone number"
method: GET
path: "/external_connections/{id}/phone_numbers/{phone_number_id}"
tags: ["External Connections"]
---

# Retrieve a phone number

`GET /external_connections/{id}/phone_numbers/{phone_number_id}`

## Request

- Base URL: `https://api.telnyx.com/v2`
- URL: `https://api.telnyx.com/v2/external_connections/{id}/phone_numbers/{phone_number_id}`
- Auth: HTTP bearer

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

## Path parameters

- `id` string, required
- `phone_number_id` string, required

## Response `200`

Successful response

- object
  - `data` ExternalConnectionPhoneNumber
    - `ticket_id` string, 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` string, uuid: Identifies the civic address assigned to the phone number.
    - `location_id` string, 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[]

## Other responses

- `401`: Unauthorized
- `404`: Not found

---

[API](https://skmtc.dev/team-telnyx/apis/telnyx-api-2.md) - [All operations](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/team-telnyx/apis/telnyx-api-2/revisions/f82938f53ff4?raw)
