Skip to content

bots.callOutcomes

Every outcome label the account’s calls can carry.

Reference

GET/api/v1/workflows/call-outcomes

Auth
API key in X-API-Key
Content
none
Returns
200 · CallOutcomeResponse[]

Every outcome label the organization's calls can carry. The calls list is org-wide while the taxonomy is per agent, so the filter needs the union rather than one agent's list — otherwise ticking "paid" on a page showing every call would be offering a box that only some of the rows could ever match, and the codes belonging to the other agents would simply be missing from the menu.

Arguments

This method takes no arguments.

Example request

curl -X GET "https://api.decibyl.ai/api/v1/workflows/call-outcomes" \
  -H "X-API-Key: dcb_your_key"

Response

[
  {
    "code": "string",
    "label": "string",
    "when": "string"
  }
]

Errors

StatusWhen
404Not found
422Validation Error