GET
/
v1
/
numbers
/
list
curl --request GET \
  --url https://api.vocode.dev/v1/numbers/list \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "active": true,
      "label": "<string>",
      "inbound_agent": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "outbound_only": true,
      "example_context": {},
      "number": "<string>",
      "telephony_provider": "vonage",
      "telephony_account_connection": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ],
  "page": 123,
  "size": 123,
  "has_more": true,
  "total": 123,
  "total_is_estimated": true
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
integer
default: 1
size
integer
default: 10
sort_column
string
sort_desc
boolean
default: false

Response

200 - application/json
items
object[]
required
page
integer
required
size
integer
required
has_more
boolean
required
total
integer
required
total_is_estimated
boolean
required