Cancel a draft
Abandons a campaign while it is still a draft.
Needs an OAuth access token carrying the campaigns:create scope — a plain client key is refused. The campaign must be one of yours; anything else returns 404.
Authorization
campaignBuilderOAuth campaigns:createOAuth access token carrying the campaigns:create scope, obtained through the Oppizi consent screen (the same sign-in used by the MCP connector). A plain client key carries no scopes and is refused on these endpoints.
In: header
Scope: campaigns:create
Path Parameters
Your campaign id.
Response Body
application/json
curl -X POST "https://example.com/client/campaigns/string/cancel"{ "success": true, "data": { "campaignId": 9700, "status": "CANCELLED" }}Rename a campaign PATCH
Changes the name of one of your campaigns. Needs an OAuth access token carrying the `campaigns:create` scope — a plain client key is refused. The campaign must be one of yours; anything else returns 404.
Find routes around a point GET
USPS carrier routes within a radius of a latitude and longitude — the same search the Oppizi map runs when you drop a pin on a store. Pair it with [the geocoder](/docs/api-reference/targeting/geocodeaddress) to start from a street address. Pass each result's `raw` object straight into [Set EDDM routes](/docs/api-reference/campaign-builder/setcampaignareas). This endpoint caps results rather than paging them: it accepts `first` but has no `skip`. If `totalCount` is larger than what you got back, raise `first` — there is no second page to fetch.