GET
/
phone-number
List Phone Numbers
curl --request GET \
  --url https://api.vapi.ai/phone-number \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "orgId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "stripeSubscriptionId": "<string>",
    "stripeSubscriptionStatus": "<string>",
    "stripeSubscriptionCurrentPeriodStart": "2023-11-07T05:31:56Z",
    "number": "<string>",
    "twilioAccountSid": "<string>",
    "twilioAuthToken": "<string>",
    "credentialId": "<string>",
    "name": "<string>",
    "assistantId": "<string>",
    "serverUrl": "<string>",
    "serverUrlSecret": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Retrieve your key from Dashboard.

Query Parameters

limit
number

This is the maximum number of items to return. Defaults to 100.

Required range: 0 <= x <= 1000
createdAtGt
string<date-time>

This will return items where the createdAt is greater than the specified value.

createdAtLt
string<date-time>

This will return items where the createdAt is less than the specified value.

createdAtGe
string<date-time>

This will return items where the createdAt is greater than or equal to the specified value.

createdAtLe
string<date-time>

This will return items where the createdAt is less than or equal to the specified value.

updatedAtGt
string<date-time>

This will return items where the updatedAt is greater than the specified value.

updatedAtLt
string<date-time>

This will return items where the updatedAt is less than the specified value.

updatedAtGe
string<date-time>

This will return items where the updatedAt is greater than or equal to the specified value.

updatedAtLe
string<date-time>

This will return items where the updatedAt is less than or equal to the specified value.

Response

200 - application/json

The response is of type object[].