curl --request GET \
--url https://api.vocode.dev/v1/numbers/ \
--header 'Authorization: Bearer <token>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"inbound_agent": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prompt": "<string>",
"actions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"config": {
"phone_number": "<string>"
},
"type": "action_transfer_call"
}
],
"voice": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"voice_name": "<string>",
"type": "voice_azure",
"pitch": 0,
"rate": 15
},
"initial_message": "<string>",
"webhook": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subscriptions": [
"event_message"
],
"url": "<string>",
"method": "POST"
}
},
"number": "<string>",
"active": true
}curl --request GET \
--url https://api.vocode.dev/v1/numbers/ \
--header 'Authorization: Bearer <token>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"inbound_agent": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"prompt": "<string>",
"actions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"config": {
"phone_number": "<string>"
},
"type": "action_transfer_call"
}
],
"voice": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"voice_name": "<string>",
"type": "voice_azure",
"pitch": 0,
"rate": 15
},
"initial_message": "<string>",
"webhook": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"subscriptions": [
"event_message"
],
"url": "<string>",
"method": "POST"
}
},
"number": "<string>",
"active": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
Show child attributes
Show child attributes
An enumeration.
action_end_conversation, action_dtmf, action_transfer_call Show child attributes
An enumeration.
voice_base, voice_azure, voice_rime, voice_eleven_labs Show child attributes
An enumeration.
event_message, event_action, event_phone_call_connected, event_phone_call_ended, event_transcript, event_recording An enumeration.
GET, POST