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"
}
}
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"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
CallOutcomeClassifierResource
The response is of type object
.