APIGeliştiriciler

Rızalar

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/consents

Müşteri adayına rıza ya da hukuki dayanak kanıtı ekler

Yetkiconsents:writeIdempotency-Key
Alanlar
İstek gövdesi
  • leadIdstring · lead_…Zorunlu
  • legalBasisstringZorunlu
  • sourcestringZorunlu
  • channelstringZorunlu
  • consentTextVersionstring
  • scopestringVarsayılan: outbound_calls
  • grantedAtstring · date-time
  • evidenceRefstring
  • externalRefstring
  • sourceUrlstring · uri
  • ipAddressone of
  • formIdstring
  • requestedByRecipientboolean
Yanıt gövdesi · 201
  • idstring · cons_…Zorunlu
  • leadIdstring · lead_…Zorunlu
  • legalBasisstringZorunlu
  • sourcestringZorunlu
  • channelstringZorunlu
  • consentTextVersionstringZorunluBoş olabilir
  • scopestringZorunlu
  • grantedAtstring · date-timeZorunlu
  • withdrawnAtstring · date-timeZorunluBoş olabilir
  • evidenceRefstringZorunluBoş olabilir
  • externalRefstringZorunluBoş olabilir
  • importedBystringZorunluBoş olabilir
  • sourceUrlstringZorunluBoş olabilir
  • ipAddressstringZorunluBoş olabilir
  • formIdstringZorunluBoş olabilir
  • requestedByRecipientbooleanZorunlu
  • createdAtstring · date-timeZorunlu
GET/v1/leads/{leadId}/consents

Bir müşteri adayının rıza kayıtlarını listeler

Yetkiconsents:read
Alanlar
Parametreler
  • leadIdstring · lead_…YolZorunlu
Yanıt gövdesi · 200

Liste döner; her öğe:

  • idstring · cons_…Zorunlu
  • leadIdstring · lead_…Zorunlu
  • legalBasisstringZorunlu
  • sourcestringZorunlu
  • channelstringZorunlu
  • consentTextVersionstringZorunluBoş olabilir
  • scopestringZorunlu
  • grantedAtstring · date-timeZorunlu
  • withdrawnAtstring · date-timeZorunluBoş olabilir
  • evidenceRefstringZorunluBoş olabilir
  • externalRefstringZorunluBoş olabilir
  • importedBystringZorunluBoş olabilir
  • sourceUrlstringZorunluBoş olabilir
  • ipAddressstringZorunluBoş olabilir
  • formIdstringZorunluBoş olabilir
  • requestedByRecipientbooleanZorunlu
  • createdAtstring · date-timeZorunlu
POST/v1/consents/{consentId}/withdraw

Rızanın geri çekildiğini kaydeder

Yetkiconsents:write
Alanlar
Parametreler
  • consentIdstring · cons_…YolZorunlu
Yanıt gövdesi · 200
  • idstring · cons_…Zorunlu
  • leadIdstring · lead_…Zorunlu
  • legalBasisstringZorunlu
  • sourcestringZorunlu
  • channelstringZorunlu
  • consentTextVersionstringZorunluBoş olabilir
  • scopestringZorunlu
  • grantedAtstring · date-timeZorunlu
  • withdrawnAtstring · date-timeZorunluBoş olabilir
  • evidenceRefstringZorunluBoş olabilir
  • externalRefstringZorunluBoş olabilir
  • importedBystringZorunluBoş olabilir
  • sourceUrlstringZorunluBoş olabilir
  • ipAddressstringZorunluBoş olabilir
  • formIdstringZorunluBoş olabilir
  • requestedByRecipientbooleanZorunlu
  • createdAtstring · date-timeZorunlu