curl --request PATCH \
--url https://api.comm.com/api/v1/webhooks/calls/receive/openai-hangup \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"call_id": "<string>",
"reason": "<string>"
}'
{
"status": "ok"
}
curl --request PATCH \
--url https://api.comm.com/api/v1/webhooks/calls/receive/openai-hangup \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"call_id": "<string>",
"reason": "<string>"
}'
{
"status": "ok"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.