Skip to main content
PATCH
/
v1
/
workspace
/
call-outcomes
/
{outcome_id}
Update call outcome
curl --request PATCH \
  --url https://api.oneinbox.ai/v1/workspace/call-outcomes/{outcome_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "label": "demo_scheduled",
  "is_active": true
}
'
{
  "id": "cou_abc123",
  "name": "hot_lead",
  "label": "Hot Lead",
  "description": "<string>",
  "is_active": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.oneinbox.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use api_key from POST /v1/api-keys

Path Parameters

outcome_id
string
required

Body

application/json
label
string

New label in lowercase_underscore format

Example:

"demo_scheduled"

is_active
boolean

Set false to hide this outcome without deleting it

Response

200 - application/json

OK

id
string
Example:

"cou_abc123"

name
string

Auto-generated snake_case version of the label (e.g. "hot_lead")

Example:

"hot_lead"

label
string

Display label as submitted (e.g. "Hot Lead")

Example:

"Hot Lead"

description
string | null
is_active
boolean

Inactive outcomes are hidden from new analysis but preserved on historical calls

created_at
string<date-time>
updated_at
string<date-time>