v53

latestOpenAPI 3.1.1raw.githubusercontent.com2026-07-264065213.4 KB
Phone numbers

List phone numbers

List all phone numbers for an account with cursor-based pagination.

get/accounts/{account_id}/phone_numbers

Path parameters

account_idstring required

The account ID to list phone numbers for.

Example:acct_01j9a43avnfqzbjfch6pygv1td

Query parameters

afterstring

Cursor for forward pagination. Use the next_cursor from a previous response.

beforestring

Cursor for backward pagination. Use the previous_cursor from a previous response.

Response

List of phone numbers

Example response

{
  "data": [
    {
      "campaign": null,
      "campaign_id": null,
      "id": "pn_01jsjwe4d9fx3tpymgtg958d9w",
      "name": "(801) 555-1234",
      "number": "+18015551234",
      "type": "local"
    }
  ],
  "pagination": {
    "next_cursor": null,
    "previous_cursor": null
  }
}