Guide

Consent in GenAI apps

Consent should be collected before sponsorship decisions that require ads or measurement purposes.

Consent timing

Collect consent before requesting placements for sessions that may render sponsored assets.

Store consent

Use /v1/consent when your app or CMP owns the consent UI.

Record consent

record-consent.shbash
1curl -X POST https://api.wavebird.ai/v1/consent \2  -H "Authorization: Bearer sk_test_wavebird_demo_secret" \3  -H "Content-Type: application/json" \4  -d '{5    "client_id": "wbproj_demo_8jK42",6    "session_id": "sess_demo_123",7    "source": "publisher",8    "purposes": {9      "ads": true,10      "measurement": true11    }12  }'

Fallback behavior

If consent is missing, use a no-fill or non-personalized path rather than blocking the user flow.

Need rollout review?

Start with the Server API. Use contact only when you need rollout review, enterprise coordination, or non-standard integration help.