Skip to main content
GET
Get Phone Number

Headers

x-api-key
string | null

Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.

Path Parameters

phone_number_id
string
required

The phone number ID. This is returned when a phone number is imported.

Example:

"TeaqRRdTcIfIu2i7BYfT"

Response

Successful Response

phone_number
string
required

Phone number

label
string
required

Label for the phone number

phone_number_id
string
required

The ID of the phone number

assigned_agent
PhoneNumberAgentInfo · object | null

The agent that is assigned to the phone number

Example:
provider
string
default:twilio

Phone provider

Allowed value: "twilio"