APIGeliştiriciler

Webhook'lar

Bu konudaki bütün uç noktalar; her birinin yöntemi, yolu, istediği yetki ve istek ile yanıt alanları. Kimlik doğrulama, hatalar ve sayfalama gibi ortak kurallar API referansının ana sayfasında.

Bütün uç noktalar
Temel adres
https://api-callboi.boilab.ai
Sürüm
2026-07-01
Bu sayfada
POST/v1/webhook-endpoints

Webhook adresi kaydeder, gizli anahtar bir kez gösterilir

Yetkiwebhooks:manageIdempotency-Key
Alanlar
İstek gövdesi
  • urlstring · uriZorunlu
  • descriptionstring
  • eventTypesarray<string>Zorunlu
    call.queuedcall.startedcall.ringingcall.answeredcall.transferredcall.completedcall.failedlead.qualifiedlead.opted_outappointment.createdcampaign.completedbudget.threshold_reached
Yanıt gövdesi · 201
  • endpointobjectZorunlu
  • endpoint.idstring · whep_…Zorunlu
  • endpoint.urlstring · uriZorunlu
  • endpoint.descriptionstringZorunluBoş olabilir
  • endpoint.eventTypesarray<string>Zorunlu
    call.queuedcall.startedcall.ringingcall.answeredcall.transferredcall.completedcall.failedlead.qualifiedlead.opted_outappointment.createdcampaign.completedbudget.threshold_reached
  • endpoint.activebooleanZorunlu
  • endpoint.createdAtstring · date-timeZorunlu
  • secretstringZorunlu
GET/v1/webhook-endpoints

Webhook adreslerini listeler

Yetkiwebhooks:read
Alanlar
Yanıt gövdesi · 200

Liste döner; her öğe:

  • idstring · whep_…Zorunlu
  • urlstring · uriZorunlu
  • descriptionstringZorunluBoş olabilir
  • eventTypesarray<string>Zorunlu
    call.queuedcall.startedcall.ringingcall.answeredcall.transferredcall.completedcall.failedlead.qualifiedlead.opted_outappointment.createdcampaign.completedbudget.threshold_reached
  • activebooleanZorunlu
  • createdAtstring · date-timeZorunlu
DELETE/v1/webhook-endpoints/{endpointId}

Bir webhook adresini devre dışı bırakır

Yetkiwebhooks:manage
Alanlar
Parametreler
  • endpointIdstring · whep_…YolZorunlu
Yanıt gövdesi · 200
  • idstring · whep_…Zorunlu
  • urlstring · uriZorunlu
  • descriptionstringZorunluBoş olabilir
  • eventTypesarray<string>Zorunlu
    call.queuedcall.startedcall.ringingcall.answeredcall.transferredcall.completedcall.failedlead.qualifiedlead.opted_outappointment.createdcampaign.completedbudget.threshold_reached
  • activebooleanZorunlu
  • createdAtstring · date-timeZorunlu
GET/v1/webhook-endpoints/{endpointId}/deliveries

Gönderim geçmişi

Yetkiwebhooks:read
Alanlar
Parametreler
  • endpointIdstring · whep_…YolZorunlu
  • limitintegerSorguVarsayılan: 25
  • cursorstringSorgu
Yanıt gövdesi · 200
  • itemsarray<object>Zorunlu
  • items[].idstring · whd_…Zorunlu
  • items[].endpointIdstring · whep_…Zorunlu
  • items[].eventIdstring · evt_…Zorunlu
  • items[].eventTypestringZorunlu
    call.queuedcall.startedcall.ringingcall.answeredcall.transferredcall.completedcall.failedlead.qualifiedlead.opted_outappointment.createdcampaign.completedbudget.threshold_reached
  • items[].statusstringZorunlu
    pendingdeliveringdeliveredfaileddead
  • items[].attemptsintegerZorunlu
  • items[].lastResponseStatusintegerZorunluBoş olabilir
  • items[].lastErrorstringZorunluBoş olabilir
  • items[].nextAttemptAtstring · date-timeZorunluBoş olabilir
  • items[].deliveredAtstring · date-timeZorunluBoş olabilir
  • items[].createdAtstring · date-timeZorunlu
  • nextCursorstringZorunluBoş olabilir
POST/v1/webhook-endpoints/{endpointId}/deliveries/{deliveryId}/replay

Bir gönderimi elle yeniden yollar

Yetkiwebhooks:manage202Eşzamansız
Alanlar
Parametreler
  • endpointIdstring · whep_…YolZorunlu
  • deliveryIdstring · whd_…YolZorunlu
Yanıt gövdesi · 202
  • acceptedbooleanZorunlu
    true
  • idstringZorunlu
  • kindstringZorunlu