Skip to main content
GET
/
api
/
v1
/
phone-number
List Phone Numbers
curl --request GET \
  --url https://api.voicebot.studio/api/v1/phone-number \
  --header 'X-API-Key: <api-key>'
[
  {
    "id": "<string>",
    "provider": "<string>",
    "number": "<string>",
    "name": "<string>",
    "assistantId": "<string>",
    "squadId": "<string>",
    "fallbackDestination": {
      "type": "number",
      "number": "<string>",
      "extension": "<string>",
      "callerId": "<string>",
      "message": "<string>",
      "description": "<string>",
      "numberE164CheckEnabled": true
    },
    "serverUrl": "<string>",
    "serverUrlSecret": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "orgId": "<string>",
    "twilioAccountSid": "<string>",
    "twilioAuthToken": "<string>"
  }
]

Authorizations

X-API-Key
string
header
required

Response

200 - application/json

Successful Response

id
string
required
provider
string
required
number
string
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
name
string | null
assistantId
string | null
squadId
string | null
fallbackDestination
object | null
serverUrl
string | null
serverUrlSecret
string | null
orgId
string | null
twilioAccountSid
string | null
twilioAuthToken
string | null