Webkancaları nasıl ayarlanır?
Webkancaları ENTEGRASYON menüsü altından, Yeni bir entegrasyon kur düğmesine tıklanarak ayarlanabilir.
Payloadlar
Hipcall webkancası şimdilik Çağrı, Firma, Kişi, Görev, ve Anlaşmaları kapsamaktadır. Payloadları aşağıdaki ilgili bölümlerde bulabilirsiniz. Payloadlardaki fieldların açıklamalarını Çağrı Kayıtlarına Detaylı Bir Bakış makalemizden detaylıca bulabilirsiniz.
Çağrı
Çağrı başlangıcı
{
"data": {
"hangup_by": null,
"call_flow": [
{
"action": "init",
"detail": {
"id": null,
"type": "contact"
},
"timestamp": 1731840060
}
],
"callee_type": "contact",
"number_id": 328,
"first_touch_duration": null,
"channel_id": 328,
"answered_at": null,
"voicemail_type": null,
"caller_id": null,
"call_duration": null,
"callback_cdr_uuid": null,
"missing_call": null,
"related_id": null,
"callee_number": "+4440333",
"uuid": "2483a75a-56a2-41f1-991b-92b1667e324a",
"callback_time": null,
"related_type": null,
"ended_at": null,
"caller_type": null,
"credited": null,
"channel_type": "number",
"voicemail_url": null,
"callee_id": null,
"user_id": null,
"missing_call_reason": null,
"started_at": "2024-11-17T10:41:00Z",
"bridged_at": null,
"voicemail_id": null,
"contact_id": null,
"callback_user_id": null,
"direction": "outbound",
"caller_number": "+902582440032",
"record_url": null
},
"event": "call_init"
}
Çağrı bitişi
{
"data": {
"hangup_by": "user",
"call_flow": [
{
"action": "hangup",
"detail": {
"hangup_by": "user"
},
"timestamp": 1731840066
},
{
"action": "init",
"detail": {
"id": null,
"type": "contact"
},
"timestamp": 1731840060
}
],
"callee_type": "contact",
"number_id": 328,
"first_touch_duration": 0,
"channel_id": 328,
"answered_at": null,
"voicemail_type": null,
"caller_id": 1121,
"call_duration": 0,
"callback_cdr_uuid": null,
"missing_call": false,
"related_id": null,
"callee_number": "+4440333",
"uuid": "2483a75a-56a2-41f1-991b-92b1667e324a",
"callback_time": null,
"related_type": null,
"ended_at": "2024-11-17T10:41:06Z",
"caller_type": "user",
"credited": false,
"channel_type": "number",
"voicemail_url": null,
"callee_id": null,
"user_id": 1121,
"missing_call_reason": null,
"started_at": "2024-11-17T10:41:00Z",
"bridged_at": null,
"voicemail_id": null,
"contact_id": null,
"callback_user_id": null,
"direction": "outbound",
"caller_number": "+902582440032",
"record_url": null
},
"event": "call_hangup"
}
Görev
Görev oluştuğunda
{
"data": {
"id": 36714,
"name": "Send email to client",
"priority": "medium",
"done": false,
"description": "We need to sent email to client.",
"done_at": null,
"due_date": null,
"assign_to_user_id": 1121
},
"event": "task_create"
}
Anlaşma
Yeni anlaşma oluştuğunda
{
"data": {
"id": 4082,
"name": "Yeni anlaşma",
"state": "waiting",
"amount": 4000,
"lost_at": null,
"won_at": null
},
"event": "deal_create"
}