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 Your Oppizi client key. Send it as Authorization: Bearer <client-key>. Scoped to your client account only.
In: header
Query Parameters
The campaign to list missions for.
Maximum number of missions to return (1-100, default 20).
1 <= value <= 10020Response 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"}Self-serve cities GET
Cities you can target in a self-serve campaign, with the fields needed for targeting: id, name, state, nameWithState, country, latitude, longitude. Only self-serve-enabled cities; ops-only fields (surge, pay, recruitment) are never exposed. Optional `search` on name; `first` (≤1000). Notes: - Pass rows as `selectedCities` to set_campaign_targeting when building a DM-core / H2H self-serve campaign. Composed from: direct PG SELECT on "City" (minimal geo/label columns) WHERE the city has a self-serve "Location" (Location.is_self_serve_location = true)
Create event POST
Publish a new event. `eventName` and `value` are required. Scoped to your own client account.