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": "<string>",
  "description": "<string>",
  "is_active": true
}
'
{
  "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"
}

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.

Path Parameters

outcome_id
string<uuid>
required

Body

application/json
label
string | null
Required string length: 1 - 100
description
string | null
Maximum string length: 500
is_active
boolean | null

Response

Successful Response

id
string
required
name
string
required
label
string
required
description
string | null
required
is_active
boolean
required
created_at
string<date-time>
required
updated_at
string<date-time>
required