OppiziDeveloper
API ReferenceTracking & Conversions

Record a conversion

POST
/tracking/events

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
AuthorizationBearer <token>

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}
Empty
Empty
Empty
Empty
Empty