curl --request GET \
--url https://api.revring.ai/v1/agents \
--header 'x-api-key: <api-key>'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sipTrunkId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"status": "active",
"promptTemplate": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"sipTrunk": {
"friendlyName": "<string>"
},
"defaultVariables": {},
"firstMessage": "<string>",
"turnTimeoutSeconds": 123,
"silenceEndCallTimeoutSeconds": 123,
"maxConversationDurationSeconds": 123,
"llmTemperature": 1,
"timezone": "<string>",
"language": "<string>",
"preCallWebhookUrl": "<string>",
"postCallWebhookUrl": "<string>",
"endCallEnabled": true,
"endCallRulesOverride": "<string>",
"transferEnabled": true,
"transferRoutes": [
{
"to_number": "<string>",
"condition": "<string>"
}
],
"transferDescriptionOverride": "<string>",
"voicemailEnabled": true,
"voicemailAction": "hangup",
"voicemailMessage": "<string>",
"voiceId": "<string>",
"voiceTemperature": 1,
"voiceSpeed": 1,
"runtimeConfig": {},
"phoneNumbers": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"e164": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"customTools": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"webhookUrl": "<string>",
"enabled": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"schema": {}
}
]
}
]
}Retrieve all AI voice agents for your organization
curl --request GET \
--url https://api.revring.ai/v1/agents \
--header 'x-api-key: <api-key>'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sipTrunkId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"status": "active",
"promptTemplate": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"sipTrunk": {
"friendlyName": "<string>"
},
"defaultVariables": {},
"firstMessage": "<string>",
"turnTimeoutSeconds": 123,
"silenceEndCallTimeoutSeconds": 123,
"maxConversationDurationSeconds": 123,
"llmTemperature": 1,
"timezone": "<string>",
"language": "<string>",
"preCallWebhookUrl": "<string>",
"postCallWebhookUrl": "<string>",
"endCallEnabled": true,
"endCallRulesOverride": "<string>",
"transferEnabled": true,
"transferRoutes": [
{
"to_number": "<string>",
"condition": "<string>"
}
],
"transferDescriptionOverride": "<string>",
"voicemailEnabled": true,
"voicemailAction": "hangup",
"voicemailMessage": "<string>",
"voiceId": "<string>",
"voiceTemperature": 1,
"voiceSpeed": 1,
"runtimeConfig": {},
"phoneNumbers": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"e164": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"customTools": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"webhookUrl": "<string>",
"enabled": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"schema": {}
}
]
}
]
}API key for authentication. Generate API keys from the RevRing dashboard.
List of agents
Show child attributes
Agent name
active, disabled System prompt template with {{variable}} placeholders
Default template variables
Agent's opening message
Seconds to wait for user response
Silence duration before ending call
Maximum call duration
LLM temperature for response randomness (0 = deterministic, 2 = very creative)
0 <= x <= 2IANA timezone identifier (e.g., America/New_York, Europe/London)
Language code (e.g., en, es, fr, de)
Webhook URL called before answering inbound calls
Webhook URL called after call ends with transcript and recording
Allow agent to end the call
Custom instructions for when agent should end call
Allow agent to transfer calls
Custom instructions for transfer feature
Enable voicemail detection
What to do when voicemail is detected
hangup, leave_message Message to leave on voicemail (if action is leave_message)
Voice ID (copy from dashboard Voice Library)
Voice randomness/creativity (0 = consistent, 2 = varied)
0 <= x <= 2Speech speed multiplier (0.5 = half speed, 1.5 = 1.5x speed)
0.5 <= x <= 1.5Advanced runtime configuration
Custom function calling tools available to this agent
Show child attributes
Tool name (used in function calls)
Webhook URL to invoke
OpenAI function schema defining parameters