API Reference
Feedback
Record user feedback (thumbs up / thumbs down) for an ad impression
POST
Documentation Index
Fetch the complete documentation index at: https://docs.thrads.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Must be
application/jsonBody
The
bidId from the original bid response. Identifies which impression the feedback is for. User, publisher, campaign, and product information is resolved server-side from the impression data.User’s feedback signal. Must be
"positive" or "negative".Optional free-text feedback from the user (max 1000 characters). Useful for “tell us why” flows on negative feedback.
Behavior
- One feedback per impression — duplicate submissions for the same
bid_idreturn204silently (no error, no overwrite). - Impression must exist — the
bid_idmust correspond to a tracked impression. If the impression has expired or was never recorded, the endpoint returns404. - Server-side enrichment — user, publisher, campaign, and product information is resolved automatically from the impression. You only need to send the
bid_id. - No authentication required — this endpoint is called from the client side (browser or mobile app) and does not require an API key.
Status Codes
| Status Code | Meaning | Scenario |
|---|---|---|
204 No Content | Success | Feedback recorded (or already recorded for this impression) |
404 Not Found | Invalid impression | bid_id doesn’t match a known impression or has expired |
422 Unprocessable Entity | Validation error | Missing required fields or invalid feedback_type |
500 Internal Server Error | Server error | Internal processing failure |
Integration
Add a thumbs up / thumbs down UI next to each ad. When the user taps, fire a singlePOST request:
