POST
/
v1
/
voice
/
agents
/
classifiers
/
call-outcome
cURL
curl --request POST \
  --url https://api.comm.com/api/v1/voice/agents/classifiers/call-outcome \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "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.

Body

application/json

Response

201
application/json

CallOutcomeClassifierResource

The response is of type object.