API ReferenceMissions
List missions
Returns the distribution missions for a campaign belonging to your client account.
Returns the distribution missions for a campaign belonging to your client account.
Authorization
clientKey AuthorizationBearer <token>
Your Oppizi client key. Send it as Authorization: Bearer <client-key>. Scoped to your client account only.
In: header
Query Parameters
campaignId*string
The campaign to list missions for.
limit?integer
Maximum number of missions to return (1-100, default 20).
Range
1 <= value <= 100Default
20Response Body
application/json
application/json
curl -X GET "https://example.com/client/missions?campaignId=string"{ "success": true, "data": { "nodes": [ { "id": "msn_987", "campaignId": "cmp_123", "status": "COMPLETED", "startTime": "2026-03-04T09:00:00Z", "endTime": "2026-03-04T13:00:00Z", "zoneName": "Châtelet — Les Halles", "distributed": 3200, "scans": 210 } ], "totalCount": 1 }}{ "success": false, "error": "Unauthorized"}Get campaign coupons GET
Lists the flyer/promo codes for your campaign. Each row's `code` is the value to send as `coupon` when recording a tracking event. Scoped to your client — a campaign that is not yours returns an empty page.
Create event POST
Publish a new event. `eventName` and `value` are required. Scoped to your own client account.