GET
https://app.evoriqa.com/api/v1/chatbots/{chatbotId}/actionsList agent actions
Returns the action types available on the plan and the chatbot's configured actions. An unknown or out-of-workspace chatbot returns 404.
Requires scope chatbots:read
Warning:
Access is gated — enable it before your first call
The API is off by default. A request succeeds only when all three switches are on: the platform master switch (off by default), your organisation’s API toggle, and your plan or client entitlement. Any one off returns 403 API access is not enabled for this workspace.
Parameters
| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
| chatbotId | path | string uuid | Required | — | The chatbot's id. |
Request
curl
curl "https://app.evoriqa.com/api/v1/chatbots/{chatbotId}/actions" \
-H "x-api-key: $EVORIQA_API_KEY"Node.js
const res = await fetch("https://app.evoriqa.com/api/v1/chatbots/{chatbotId}/actions", {
headers: {
Authorization: `Bearer ${process.env.EVORIQA_API_KEY}`,
},
});
const responseBody = await res.json();Python
import os
import requests
res = requests.get(
"https://app.evoriqa.com/api/v1/chatbots/{chatbotId}/actions",
headers={"Authorization": f"Bearer {os.environ['EVORIQA_API_KEY']}"},
)
body = res.json()Response
200 OK
{
"success": true,
"data": {
"available": [
{
"type": "capture_lead",
"label": "Capture lead"
}
],
"actions": [
{
"id": "7f3a9b21-4c5d-4e6f-8a9b-0c1d2e3f4a5b",
"type": "capture_lead",
"enabled": true
}
]
}
}