Przejdź do treści

Voice Campaign Request Call Info Updated

Zdarzenie informujące o aktualizacji CallInfo.

Webhook Configuration Example

"subscriptions": {
    "voice_campaign_request_call_info_updated": {
        "active": true
    }
}
"subscriptions": {
    "voice_campaign_request_call_info_updated": {
        "active": true,
        "filter": {
            "voice_campaign_id": ["5b7c389fe8df7b60af688989"]
        }
    }
}

Body

{
    "event_name": <STRING>,
    "event_time": <STRING>,
    "event_type": <STRING>,
    "data": <RequestCallInfoParams>
}

Parameters

Parametr Rodzaj Opis
event_name <STRING> nazwa danego wydarzenia (działania)
event_time <STRING> data wykonania zdarzenia w UTC w formacie YYYY-MM-DD HH:mm:ss
event_type <STRING> typ wydarzenia
data <RequestCallInfoParams> Informacje o połączeniu

Example

{
    "event_name": "voice_campaign_request_call_info_updated",
    "event_time": "2018-05-02 23:40:03",
    "event_type": "voice_campaign",
    "data": {
        "id": "5b9a80037bfc84794477fef1",
        "voice_campaign_id": "5b7c389fe8df7b60af688989",
        "contact_number": "48123123123",
        "current_contact_number": "48123123123",
        "contact_identifier": "#1119317",
        "case_id": "5999990",
        "case_group": "Reklamacje #22",
        "params": {
            "sell_probability": {
                "value": false,
                "tenant_user_id": 4,
                "date": "2018-05-02 23:35:10"
            },
            "declaration": {
                "value": "Umowa",
                "tenant_user_id": 4,
                "date": "2018-05-02 23:40:03"
            }
        }
    }
}