Actions
List Actions
Retrieve a list of actions for a specific voice agent
GET
List Actions
Retrieve all actions associated with a specific voice agent. This endpoint returns a list of webhooks, call transfers, holds, and other actions that the agent can perform during conversations.Endpoint
Path parameters
The unique identifier of the voice agent.
Request headers
Bearer token for authentication. Format:
Bearer talq_your_environment_token_hereExample requests
Response
Success Response (200 OK)
Response fields
Indicates if the operation was successful.
Array of action objects associated with the agent.
Error responses
404 Not Found
401 Unauthorized
403 Forbidden
500 Server Error
Error codes
| Code | Description | HTTP Status |
|---|---|---|
AGENT_NOT_FOUND | Specified agent does not exist | 404 |
INVALID_TOKEN | Authentication token is invalid or missing | 401 |
UNAUTHORIZED | User does not have permission to access this agent | 403 |
SERVER_ERROR | Internal server error occurred | 500 |
Important notes
Empty response is normal. If an agent has no actions configured, the response will be an empty array
[] rather than an error.Status filtering. The response includes both active and inactive actions. You can filter by
current_status on the client side if needed.Action types vary. Different action types (webhook, transfer, hold) have different properties and configurations.
Related endpoints
- Create/Update Action:
POST /api/v1/agents/{agent_id}/actions - Delete Action:
DELETE /api/v1/agents/{agent_id}/actions/{action_id} - Get Agent:
GET /api/v1/agents/{agent_id} - List Agents:
GET /api/v1/agents