Get Agent
GET/voice-ai/agents/:agentId
Retrieve detailed configuration and settings for a specific voice AI agent
Request
API Version
v3Unique agent identifier
Location ID
Agent details retrieved successfully
- application/json
- Schema
- Example (auto)
Schema
Unique identifier for the created agent
Unique identifier for the location where this agent operates
Display name of the voice AI agent
Name of the business this agent represents
Greeting message spoken when the agent answers calls
Custom instructions defining the agent's behavior
Identifier for the speech synthesis voice being used
Language code for the agent's speech and understanding
Current tolerance level for caller response delays
Maximum call duration in seconds, between 180-900
Possible values: >= 180 and <= 900
Indicates whether automatic idle reminders are enabled
Seconds to wait before sending idle reminders, between 1-20
Possible values: >= 1 and <= 20
Phone number for receiving inbound calls
Identifier for the number pool managing this agent's phone allocation
Array of workflow IDs triggered automatically when calls end
Current post-call notification settings including recipient configuration
Time intervals when the agent accepts calls, organized by day of week
IANA timezone identifier for working hours and scheduling
Indicates whether this agent is excluded from backup scenarios
Current language translation settings including enablement status and target language
Raw actions configured for this agent with complete actionParameters structure
{
"id": "507f1f77bcf86cd799439011",
"locationId": "LOC123456789ABCDEF",
"agentName": "Customer Support Agent",
"businessName": "Acme Corporation",
"welcomeMessage": "Hello! Thank you for calling. How can I assist you today?",
"agentPrompt": "You are a helpful customer service representative.",
"voiceId": "507f1f77bcf86cd799439011",
"language": "en-US",
"patienceLevel": "medium",
"maxCallDuration": 600,
"sendUserIdleReminders": true,
"reminderAfterIdleTimeSeconds": 5,
"inboundNumber": "+1234567890",
"numberPoolId": "pool_507f1f77bcf86cd799439011",
"callEndWorkflowIds": [],
"sendPostCallNotificationTo": {
"admins": true,
"allUsers": false,
"contactAssignedUser": false,
"specificUsers": [],
"customEmails": []
},
"agentWorkingHours": [],
"timezone": "America/New_York",
"isAgentAsBackupDisabled": false,
"translation": {
"enabled": false,
"language": "es"
},
"actions": [
{
"_id": "507f1f77bcf86cd799439011",
"actionType": "CALL_TRANSFER",
"name": "Transfer to Manager",
"actionParameters": {
"triggerPrompt": "When caller asks for manager",
"triggerMessage": "Let me transfer you",
"transferToType": "number",
"transferToValue": "+1234567890"
}
}
]
}