Numbers
List Numbers
GET
https://api.vocode.dev
/
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": "",
"inbound_agent": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"outbound_only": false,
"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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Response
200
application/json
Successful Response
The response is of type object
.
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": "",
"inbound_agent": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"outbound_only": false,
"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
}
Assistant
Responses are generated using AI and may contain mistakes.