APIGeliştiriciler

Kampanyalar

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

Taslak bir kampanya oluşturur

Yetkicampaigns:writeIdempotency-Key
Alanlar
İstek gövdesi
  • namestringZorunlu
  • agentVersionIdstring · agv_…Zorunlu
  • providerConnectionIdstring · pcon_…Zorunlu
  • leadIdsarray<string> · lead_…Varsayılan: []
  • callingWindowobjectBoş olabilirVarsayılan: null
  • callingWindow.startMinuteintegerZorunlu
  • callingWindow.endMinuteintegerZorunlu
  • callingWindow.daysOfWeekarray<integer>Zorunlu
  • maxAttemptsPerLeadPerDayintegerBoş olabilirVarsayılan: 2
  • maxAttemptsPerLeadPerWeekintegerBoş olabilirVarsayılan: 5
  • minMinutesBetweenAttemptsintegerBoş olabilirVarsayılan: 60
  • budgetHardCapobjectBoş olabilirVarsayılan: null
  • budgetHardCap.amountMinorintegerZorunlu
  • budgetHardCap.currencystring · ISO 4217Zorunlu
  • disclosureTemplateIdstringBoş olabilirVarsayılan: null
  • variablesobjectVarsayılan: {}
  • variables.campaign_offerstring
  • variables.campaign_deadlinestring
  • variables.campaign_marketstring
  • variables.asset_urlstring
  • takenIndustriesarray<string>
Yanıt gövdesi · 201
  • idstring · cmp_…Zorunlu
  • namestringZorunlu
  • statestringZorunlu
    DRAFTSCHEDULEDRUNNINGPAUSEDCOMPLETEDCANCELLED
  • agentVersionIdstring · agv_…Zorunlu
  • providerConnectionIdstring · pcon_…Zorunlu
  • dispatchPausedbooleanZorunlu
  • callingWindowobjectZorunluBoş olabilir
  • callingWindow.startMinuteintegerZorunlu
  • callingWindow.endMinuteintegerZorunlu
  • callingWindow.daysOfWeekarray<integer>Zorunlu
  • maxAttemptsPerLeadPerDayintegerZorunluBoş olabilir
  • maxAttemptsPerLeadPerWeekintegerZorunluBoş olabilir
  • minMinutesBetweenAttemptsintegerZorunluBoş olabilir
  • budgetHardCapobjectZorunluBoş olabilir
  • budgetHardCap.amountMinorintegerZorunlu
  • budgetHardCap.currencystring · ISO 4217Zorunlu
  • budgetSpentobjectZorunlu
  • budgetSpent.amountMinorintegerZorunlu
  • budgetSpent.currencystring · ISO 4217Zorunlu
  • disclosureTemplateIdstringZorunluBoş olabilir
  • variablesobjectZorunlu
  • variables.campaign_offerstring
  • variables.campaign_deadlinestring
  • variables.campaign_marketstring
  • variables.asset_urlstring
  • variablesSetBystringZorunlu
    personcredential
  • takenIndustriesarray<string>Zorunlu
  • leadCountintegerZorunlu
  • createdAtstring · date-timeZorunlu
GET/v1/campaigns

Kampanyaları listeler

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

Liste döner; her öğe:

  • idstring · cmp_…Zorunlu
  • namestringZorunlu
  • statestringZorunlu
    DRAFTSCHEDULEDRUNNINGPAUSEDCOMPLETEDCANCELLED
  • agentVersionIdstring · agv_…Zorunlu
  • providerConnectionIdstring · pcon_…Zorunlu
  • dispatchPausedbooleanZorunlu
  • callingWindowobjectZorunluBoş olabilir
  • callingWindow.startMinuteintegerZorunlu
  • callingWindow.endMinuteintegerZorunlu
  • callingWindow.daysOfWeekarray<integer>Zorunlu
  • maxAttemptsPerLeadPerDayintegerZorunluBoş olabilir
  • maxAttemptsPerLeadPerWeekintegerZorunluBoş olabilir
  • minMinutesBetweenAttemptsintegerZorunluBoş olabilir
  • budgetHardCapobjectZorunluBoş olabilir
  • budgetHardCap.amountMinorintegerZorunlu
  • budgetHardCap.currencystring · ISO 4217Zorunlu
  • budgetSpentobjectZorunlu
  • budgetSpent.amountMinorintegerZorunlu
  • budgetSpent.currencystring · ISO 4217Zorunlu
  • disclosureTemplateIdstringZorunluBoş olabilir
  • variablesobjectZorunlu
  • variables.campaign_offerstring
  • variables.campaign_deadlinestring
  • variables.campaign_marketstring
  • variables.asset_urlstring
  • variablesSetBystringZorunlu
    personcredential
  • takenIndustriesarray<string>Zorunlu
  • leadCountintegerZorunlu
  • createdAtstring · date-timeZorunlu
GET/v1/campaigns/{campaignId}

Bir kampanyayı getirir

Yetkicampaigns:read
Alanlar
Parametreler
  • campaignIdstring · cmp_…YolZorunlu
Yanıt gövdesi · 200
  • idstring · cmp_…Zorunlu
  • namestringZorunlu
  • statestringZorunlu
    DRAFTSCHEDULEDRUNNINGPAUSEDCOMPLETEDCANCELLED
  • agentVersionIdstring · agv_…Zorunlu
  • providerConnectionIdstring · pcon_…Zorunlu
  • dispatchPausedbooleanZorunlu
  • callingWindowobjectZorunluBoş olabilir
  • callingWindow.startMinuteintegerZorunlu
  • callingWindow.endMinuteintegerZorunlu
  • callingWindow.daysOfWeekarray<integer>Zorunlu
  • maxAttemptsPerLeadPerDayintegerZorunluBoş olabilir
  • maxAttemptsPerLeadPerWeekintegerZorunluBoş olabilir
  • minMinutesBetweenAttemptsintegerZorunluBoş olabilir
  • budgetHardCapobjectZorunluBoş olabilir
  • budgetHardCap.amountMinorintegerZorunlu
  • budgetHardCap.currencystring · ISO 4217Zorunlu
  • budgetSpentobjectZorunlu
  • budgetSpent.amountMinorintegerZorunlu
  • budgetSpent.currencystring · ISO 4217Zorunlu
  • disclosureTemplateIdstringZorunluBoş olabilir
  • variablesobjectZorunlu
  • variables.campaign_offerstring
  • variables.campaign_deadlinestring
  • variables.campaign_marketstring
  • variables.asset_urlstring
  • variablesSetBystringZorunlu
    personcredential
  • takenIndustriesarray<string>Zorunlu
  • leadCountintegerZorunlu
  • createdAtstring · date-timeZorunlu
POST/v1/campaigns/{campaignId}/leads

Kampanyaya müşteri adayı ekler

Yetkicampaigns:writeIdempotency-Key
Alanlar
Parametreler
  • campaignIdstring · cmp_…YolZorunlu
İstek gövdesi
  • leadIdsarray<string> · lead_…Zorunlu
Yanıt gövdesi · 200
  • addedintegerZorunlu
PATCH/v1/campaigns/{campaignId}/variables

Kampanyanın aramalarda söylenecek bilgilerini değiştirir

Yetkicampaigns:writeIdempotency-Key
Alanlar
Parametreler
  • campaignIdstring · cmp_…YolZorunlu
İstek gövdesi
  • variablesobjectZorunlu
  • variables.campaign_offerstring
  • variables.campaign_deadlinestring
  • variables.campaign_marketstring
  • variables.asset_urlstring
  • takenIndustriesarray<string>
Yanıt gövdesi · 200
  • idstring · cmp_…Zorunlu
  • namestringZorunlu
  • statestringZorunlu
    DRAFTSCHEDULEDRUNNINGPAUSEDCOMPLETEDCANCELLED
  • agentVersionIdstring · agv_…Zorunlu
  • providerConnectionIdstring · pcon_…Zorunlu
  • dispatchPausedbooleanZorunlu
  • callingWindowobjectZorunluBoş olabilir
  • callingWindow.startMinuteintegerZorunlu
  • callingWindow.endMinuteintegerZorunlu
  • callingWindow.daysOfWeekarray<integer>Zorunlu
  • maxAttemptsPerLeadPerDayintegerZorunluBoş olabilir
  • maxAttemptsPerLeadPerWeekintegerZorunluBoş olabilir
  • minMinutesBetweenAttemptsintegerZorunluBoş olabilir
  • budgetHardCapobjectZorunluBoş olabilir
  • budgetHardCap.amountMinorintegerZorunlu
  • budgetHardCap.currencystring · ISO 4217Zorunlu
  • budgetSpentobjectZorunlu
  • budgetSpent.amountMinorintegerZorunlu
  • budgetSpent.currencystring · ISO 4217Zorunlu
  • disclosureTemplateIdstringZorunluBoş olabilir
  • variablesobjectZorunlu
  • variables.campaign_offerstring
  • variables.campaign_deadlinestring
  • variables.campaign_marketstring
  • variables.asset_urlstring
  • variablesSetBystringZorunlu
    personcredential
  • takenIndustriesarray<string>Zorunlu
  • leadCountintegerZorunlu
  • createdAtstring · date-timeZorunlu
POST/v1/campaigns/{campaignId}/launch

Kampanyayı başlatır, arka planda genişletilir

Yetkicampaigns:launchIdempotency-Key202Eşzamansız
Alanlar
Parametreler
  • campaignIdstring · cmp_…YolZorunlu
Yanıt gövdesi · 202
  • acceptedbooleanZorunlu
    true
  • idstringZorunlu
  • kindstringZorunlu
POST/v1/campaigns/{campaignId}/pause

Çalışan bir kampanyayı duraklatır

Yetkicampaigns:launch
Alanlar
Parametreler
  • campaignIdstring · cmp_…YolZorunlu
Yanıt gövdesi · 200
  • idstring · cmp_…Zorunlu
  • namestringZorunlu
  • statestringZorunlu
    DRAFTSCHEDULEDRUNNINGPAUSEDCOMPLETEDCANCELLED
  • agentVersionIdstring · agv_…Zorunlu
  • providerConnectionIdstring · pcon_…Zorunlu
  • dispatchPausedbooleanZorunlu
  • callingWindowobjectZorunluBoş olabilir
  • callingWindow.startMinuteintegerZorunlu
  • callingWindow.endMinuteintegerZorunlu
  • callingWindow.daysOfWeekarray<integer>Zorunlu
  • maxAttemptsPerLeadPerDayintegerZorunluBoş olabilir
  • maxAttemptsPerLeadPerWeekintegerZorunluBoş olabilir
  • minMinutesBetweenAttemptsintegerZorunluBoş olabilir
  • budgetHardCapobjectZorunluBoş olabilir
  • budgetHardCap.amountMinorintegerZorunlu
  • budgetHardCap.currencystring · ISO 4217Zorunlu
  • budgetSpentobjectZorunlu
  • budgetSpent.amountMinorintegerZorunlu
  • budgetSpent.currencystring · ISO 4217Zorunlu
  • disclosureTemplateIdstringZorunluBoş olabilir
  • variablesobjectZorunlu
  • variables.campaign_offerstring
  • variables.campaign_deadlinestring
  • variables.campaign_marketstring
  • variables.asset_urlstring
  • variablesSetBystringZorunlu
    personcredential
  • takenIndustriesarray<string>Zorunlu
  • leadCountintegerZorunlu
  • createdAtstring · date-timeZorunlu
POST/v1/campaigns/{campaignId}/resume

Duraklatılmış bir kampanyayı sürdürür

Yetkicampaigns:launch
Alanlar
Parametreler
  • campaignIdstring · cmp_…YolZorunlu
Yanıt gövdesi · 200
  • idstring · cmp_…Zorunlu
  • namestringZorunlu
  • statestringZorunlu
    DRAFTSCHEDULEDRUNNINGPAUSEDCOMPLETEDCANCELLED
  • agentVersionIdstring · agv_…Zorunlu
  • providerConnectionIdstring · pcon_…Zorunlu
  • dispatchPausedbooleanZorunlu
  • callingWindowobjectZorunluBoş olabilir
  • callingWindow.startMinuteintegerZorunlu
  • callingWindow.endMinuteintegerZorunlu
  • callingWindow.daysOfWeekarray<integer>Zorunlu
  • maxAttemptsPerLeadPerDayintegerZorunluBoş olabilir
  • maxAttemptsPerLeadPerWeekintegerZorunluBoş olabilir
  • minMinutesBetweenAttemptsintegerZorunluBoş olabilir
  • budgetHardCapobjectZorunluBoş olabilir
  • budgetHardCap.amountMinorintegerZorunlu
  • budgetHardCap.currencystring · ISO 4217Zorunlu
  • budgetSpentobjectZorunlu
  • budgetSpent.amountMinorintegerZorunlu
  • budgetSpent.currencystring · ISO 4217Zorunlu
  • disclosureTemplateIdstringZorunluBoş olabilir
  • variablesobjectZorunlu
  • variables.campaign_offerstring
  • variables.campaign_deadlinestring
  • variables.campaign_marketstring
  • variables.asset_urlstring
  • variablesSetBystringZorunlu
    personcredential
  • takenIndustriesarray<string>Zorunlu
  • leadCountintegerZorunlu
  • createdAtstring · date-timeZorunlu
POST/v1/campaigns/{campaignId}/cancel

Kampanyayı iptal eder

Yetkicampaigns:launch
Alanlar
Parametreler
  • campaignIdstring · cmp_…YolZorunlu
Yanıt gövdesi · 200
  • idstring · cmp_…Zorunlu
  • namestringZorunlu
  • statestringZorunlu
    DRAFTSCHEDULEDRUNNINGPAUSEDCOMPLETEDCANCELLED
  • agentVersionIdstring · agv_…Zorunlu
  • providerConnectionIdstring · pcon_…Zorunlu
  • dispatchPausedbooleanZorunlu
  • callingWindowobjectZorunluBoş olabilir
  • callingWindow.startMinuteintegerZorunlu
  • callingWindow.endMinuteintegerZorunlu
  • callingWindow.daysOfWeekarray<integer>Zorunlu
  • maxAttemptsPerLeadPerDayintegerZorunluBoş olabilir
  • maxAttemptsPerLeadPerWeekintegerZorunluBoş olabilir
  • minMinutesBetweenAttemptsintegerZorunluBoş olabilir
  • budgetHardCapobjectZorunluBoş olabilir
  • budgetHardCap.amountMinorintegerZorunlu
  • budgetHardCap.currencystring · ISO 4217Zorunlu
  • budgetSpentobjectZorunlu
  • budgetSpent.amountMinorintegerZorunlu
  • budgetSpent.currencystring · ISO 4217Zorunlu
  • disclosureTemplateIdstringZorunluBoş olabilir
  • variablesobjectZorunlu
  • variables.campaign_offerstring
  • variables.campaign_deadlinestring
  • variables.campaign_marketstring
  • variables.asset_urlstring
  • variablesSetBystringZorunlu
    personcredential
  • takenIndustriesarray<string>Zorunlu
  • leadCountintegerZorunlu
  • createdAtstring · date-timeZorunlu
GET/v1/campaigns/{campaignId}/stats

Kampanyanın yürütme istatistikleri

Yetkicampaigns:read
Alanlar
Parametreler
  • campaignIdstring · cmp_…YolZorunlu
Yanıt gövdesi · 200
  • totalJobsintegerZorunlu
  • byStateobject · mapZorunlu
  • callsByStateobject · mapZorunlu
  • spentobjectZorunlu
  • spent.amountMinorintegerZorunlu
  • spent.currencystring · ISO 4217Zorunlu