GET
/
phone-number
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

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

createdAtLt
string

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

createdAtGe
string

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

createdAtLe
string

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

updatedAtGt
string

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

updatedAtLt
string

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

updatedAtGe
string

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

updatedAtLe
string

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[].