campaigns
9 endpoints · /api/callcenter/v1/campaigns
Request examples are generated from each endpoint's REAL method and path. 9 endpoints have no hand-verified body example yet; their skeleton has no body — we do not invent field names.
SF9.4 — dialer dispatch (mock): sonraki pending lead → DNC + max_attempts + toll-fraud kontrolü →
OturumYol parametresi:
idcalling işaretle (SF9-live gerçek giden-çağrı). FOR UPDATE SKIP LOCKED ile eşzamanlı-çift-arama yok.
İstek
curl -X POST "https://{slug}.call.blesyum.app/api/callcenter/v1/campaigns/<id>/dispatch" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}SF9.5 — kampanya raporu: lead durum-dağılımı (pending/calling/answered/failed/dnc) + toplam.
OturumYol parametresi:
idİstek
curl -X GET "https://{slug}.call.blesyum.app/api/callcenter/v1/campaigns/<id>/report" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Bu sayfa işine yaradı mı?