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>"
}

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.

I