PATCH
/
v1
/
webhooks
/
calls
/
{call}
cURL
curl --request PATCH \
  --url https://api.comm.com/api/v1/webhooks/calls/{call} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "is_lead": true,
  "is_answered": true,
  "is_answer_machine": true,
  "is_sale": true
}'
{
  "data": {
    "id": "<string>",
    "team_id": "<string>",
    "contact_id": "<string>",
    "meta": [
      "<any>"
    ],
    "is_processed": true,
    "number_id": "<string>",
    "to_number": 123,
    "call_agent_id": "<string>",
    "events_count": "<string>",
    "tool_logs_count": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "created_at_formatted": "<string>",
    "updated_at": "2023-11-07T05:31:56Z",
    "agent_id": "<string>",
    "deleted_at": "2023-11-07T05:31:56Z",
    "voice_campaign_id": "<string>",
    "voice_campaign_send_id": "<string>",
    "is_answer_machine": true,
    "is_answered": true,
    "is_lead": true,
    "is_sale": true,
    "is_picked_up": true,
    "chat": "<string>",
    "status": "<string>",
    "call_outcome": "<string>",
    "call_source": "<string>",
    "scheduled_at": "<string>",
    "lead_submitted_at": "<string>",
    "country_id": 123,
    "created_at_tz": "<string>",
    "date_key": "<string>",
    "timezone": "<string>",
    "vapi_ended_reason": "<string>",
    "call_outcome_logs": [
      {
        "id": "<string>",
        "team_id": "<string>",
        "call_id": "<string>",
        "call_outcome_classifier_id": "<string>",
        "call_outcome_classifier_run_id": "<string>",
        "initial_call_outcome": "<string>",
        "new_call_outcome": "<string>",
        "status": "<string>",
        "failure_reason": "<string>",
        "created_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

call
string<uuid>
required

The call ID

Body

application/json

Response

200
application/json

CallResource

The response is of type object.