Get Agent Action
GET/voice-ai/actions/:actionId
Retrieve details of a specific action by its ID. Returns the action configuration including actionParameters.
Request
Version stringrequired
API Version
Available options
2021-07-28actionId stringrequired
Unique identifier for the action
locationId stringrequired
Location ID
Action details retrieved successfully
- application/json
- Schema
- Example (auto)
Schema
idstringrequired
Unique identifier for the action
actionTypestringrequired
Type of action
Available options
CALL_TRANSFERDATA_EXTRACTIONIN_CALL_DATA_EXTRACTIONWORKFLOW_TRIGGERSMSAPPOINTMENT_BOOKINGCUSTOM_ACTIONKNOWLEDGE_BASEnamestringrequired
Human-readable name for this action
actionParametersobjectrequired
Action parameters - structure varies by actionType
{
"id": "507f1f77bcf86cd799439011",
"actionType": "CALL_TRANSFER",
"name": "Transfer to Manager",
"actionParameters": {
"triggerPrompt": "When the caller asks to speak to a manager",
"transferToType": "number",
"transferToValue": "+12345678901",
"triggerMessage": "Let me transfer you to a manager right away",
"hearWhisperMessage": true
}
}