Send a production event
Submit a pageView, timeSpent, or conversion event. Limited to about 20 requests per second per token. Include click_id on every request.
Authorization
BearerAuth CAPI token generated in TAM Events Manager (pixel → Pixel code & settings → Generate API Token).
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/problem+json
curl -X POST "https://example.com/event" \ -H "Content-Type: application/json" \ -d '{ "action": "conversion", "click_id": "52d7d822-c723-47f9-82ff-c19a152562ef", "user_session_id": "0fb681dd-c20e-4c5f-bfac-1f175fb973d0", "buyer_pixel_id": 1234, "conversion_type": "Purchase", "conversion_name": "Completed Purchase", "conversion_params": { "price": 14.54, "currency": "USD", "name": "Blue T-Shirt SFRED1451" }, "privacy": { "gdpr_applies": true, "tcf_consent_string": "CPokAsAPokAsABEACBENC7CgAP_AAH_AAAwI", "consent_granted": true }, "event_source_url": "http://www.my-advertiser.com/an/amazing/product/to/buy?sort=ASC&page=2", "event_time": 1519914000 }'