PUT
/
v1
/
voice
/
agents
/
classifiers
/
call-outcome
/
{callOutcome}
cURL
curl --request PUT \
  --url https://api.comm.com/api/v1/voice/agents/classifiers/call-outcome/{callOutcome} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "prompt": "<string>",
  "is_active": true
}'
{
  "data": {
    "id": "<string>",
    "team_id": "<string>",
    "name": "<string>",
    "prompt": "<string>",
    "meta": [
      "<any>"
    ],
    "is_active": true,
    "ver": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

callOutcome
string<uuid>
required

The call outcome ID

Body

application/json

Response

200
application/json

CallOutcomeClassifierResource

The response is of type object.