GET
/
phone-number
/
{id}
curl --request GET \
  --url https://api.vapi.ai/phone-number/{id} \
  --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.

Path Parameters

id
string
required

Response

200 - application/json

The response is of type object.