Record a conversion
Records a conversion — a signup, a purchase, or any event you want to attribute back to a campaign.
Two fields are required: an event name, and coupon — the Oppizi promo code the conversion came from. Without a valid code the call is rejected, because the code is what ties the event to a campaign. Get yours from campaign promo codes.
See recommended events for the shapes that unlock richer reporting.
Authorization
ClientBearer Client-scoped key as a Bearer JWT; always pinned to your own client.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/tracking/events" \ -H "Content-Type: application/json" \ -d '{ "coupon": null }'{ "message": "Event recorded", "recorded": true}List your missions GET
The individual distribution runs behind your campaigns. Filter by `campaignId`, `ids` or status, search on the location name, and page with `first` and `skip`. Each mission carries the place it covered (for example "Kendall Square") and what kind of location that is.
List your events GET
Every event recorded on your account, as a flat array. This endpoint takes **no parameters** — there is no filtering, ordering or paging, and anything you send is ignored. Filter on your side, and expect the response to grow with your account.