Skip to main content
GET
/
v2
/
Account
/
PhoneNumbers
Get Phone Numbers
curl --request GET \
  --url https://api.nlpearl.ai/v2/Account/PhoneNumbers \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "number": "<string>",
    "direction": 123
  }
]

Documentation Index

Fetch the complete documentation index at: https://developers.nlpearl.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Specify the authorization token.

For more information, check out the Authorization Guide.

Response

The list of active phone numbers for the account.

id
string | null

The unique identifier of the phone number.

number
string | null

The phone number in E.164 format.

direction
integer<int32>

Phone number direction (supported call capabilities).

  • InboundOutbound: Supports both inbound and outbound calls.
  • Inbound: Supports inbound calls only.
  • Outbound: Supports outbound calls only.
  • NotSet: Direction is not set.

1 - InboundOutbound

2 - Inbound

3 - Outbound

10 - NotSet