Skip to main content
GET
/
phone_numbers
List phone numbers
curl --request GET \
  --url https://api.vogent.ai/api/phone_numbers \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "number": "+18001234567",
      "type": "PSTN",
      "agentId": "<string>"
    }
  ],
  "cursor": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.vogent.ai/llms.txt

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

Authorizations

Authorization
string
header
required

In the form Bearer <api_key_here>. You can find your api key in your dashboard.

Query Parameters

limit
integer
default:100

The maximum number of phone numbers to list.

cursor
string

The pagination cursor returned by the previous request. Feed the result provided by vogent verbatim.

Response

Successful operation

data
object[]
required
cursor
string | null
required

A cursor you can pass to fetch the next page. If no next page exists, the cursor will be null.