POST /ugc/disable
Suppress specific ads from appearing in a given thread. Use this when the user explicitly dismisses an ad or reports it as irrelevant.
Request
POST https://api.adzen.ai/ugc/disableBody
A JSON array of suppression pairs. You can disable multiple ads in one call.
Array<{
post_id: string
ad_id: string
meta_data?: Record<string, unknown> // Optional context for analytics
}>Example
curl -X POST https://api.adzen.ai/ugc/disable \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY' \
-d '[
{ "post_id": "thread-12345", "ad_id": "ad-abc123" }
]'Response
200 OK
{ "success": true }Disables are thread-scoped, not user-scoped. The same ad can still be
shown to the same user in a different thread. Use the meta_data field to
attach user or session identifiers for analytics.
Disables are idempotent — calling with the same pair multiple times is safe.