Reklam

consent

8 endpoints · /api/ads/v1/consent

Request examples are generated from each endpoint's REAL method and path. 8 endpoints have no hand-verified body example yet; their skeleton has no body — we do not invent field names.

POST/api/ads/v1/consent

Record consent

Oturum
İstek
curl -X POST "https://{slug}.ads.blesyum.app/api/ads/v1/consent" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
POST/api/ads/v1/consent/preview

Preview

Oturum
İstek
curl -X POST "https://{slug}.ads.blesyum.app/api/ads/v1/consent/preview" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
POST/api/ads/v1/consent/proof

🔴 Kanıt paketi bir kişinin rıza geçmişini döndürür — yani **kişisel veriye erişim**.

Oturum

Bu yüzden kapısı ads.view değil ads.audience.upload: raporları okuyabilen herkesin "şu e-posta bu kiracının listesinde mi" sorusunu sorabilmesi, listeyi yükleyebilmekle aynı yetki sınıfıdır.

İstek
curl -X POST "https://{slug}.ads.blesyum.app/api/ads/v1/consent/proof" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
POST/api/ads/v1/consent/texts

Create text

Oturum
İstek
curl -X POST "https://{slug}.ads.blesyum.app/api/ads/v1/consent/texts" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
POST/api/ads/v1/consent/texts/{id}/publish

Publish text

OturumYol parametresi: id
İstek
curl -X POST "https://{slug}.ads.blesyum.app/api/ads/v1/consent/texts/<id>/publish" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
Bu sayfa işine yaradı mı?