cURL
curl --request GET \ --url https://api.vocode.dev/v1/agents/ \ --header 'Authorization: Bearer <token>'
{ "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" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Show child attributes
An enumeration.
action_end_conversation
action_dtmf
action_transfer_call
voice_base
voice_azure
voice_rime
voice_eleven_labs
event_message
event_action
event_phone_call_connected
event_phone_call_ended
event_transcript
event_recording
GET
POST