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