Skip to main content
GET
/
v1
/
workspace
/
call-outcomes
List Call Outcomes
curl --request GET \
  --url https://api.oneinbox.ai/v1/workspace/call-outcomes \
  --header 'Authorization: Bearer <token>'
{
  "builtin": [
    "<string>"
  ],
  "items": [
    {
      "id": "<string>",
      "name": "<string>",
      "label": "<string>",
      "description": "<string>",
      "is_active": true,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "total": 123
}

Authorizations

Authorization
string
header
required

Your API key sent as a Bearer credential — Authorization: Bearer <api_key>, where <api_key> starts with oi_sk_ (create one via POST /v1/api-keys). Although the field is labelled 'token', paste your API key here. A dashboard JWT is also accepted on this header for the same endpoints.

Response

200 - application/json

Successful Response

GET /v1/workspace/call-outcomes. builtin are the always-available platform outcome names; items are this workspace's custom outcomes.

builtin
string[]
required
items
CallOutcomeResponse · object[]
required
total
integer
required