OppiziDeveloper
API ReferencePricing

Your campaign price estimate (pre-submit)

A read-only ESTIMATE of what your OWN draft campaign would cost, computed the same way the Oppizi Ads builder shows a running estimate before you submit — quantity, per-piece price, subtotal, tax and total in your currency. This is your client-facing price (same class as your campaign price), never an Oppizi delivery cost. Only your client’s campaign; a campaign that is not yours returns 404. Notes: - Estimate only — the billed amount is client-campaign-cost once the campaign is charged. Oppizi delivery-cost/margin fields are never returned. Composed from: ownership check (Campaign.client_id = key.clientId) then the /ai cost-preview estimator, curated to a client-price allowlist

GET
/client/campaigns/{id}/cost-preview

A read-only ESTIMATE of what your OWN draft campaign would cost, computed the same way the Oppizi Ads builder shows a running estimate before you submit — quantity, per-piece price, subtotal, tax and total in your currency. This is your client-facing price (same class as your campaign price), never an Oppizi delivery cost. Only your client’s campaign; a campaign that is not yours returns 404.

Notes:

  • Estimate only — the billed amount is client-campaign-cost once the campaign is charged. Oppizi delivery-cost/margin fields are never returned.

Composed from: ownership check (Campaign.client_id = key.clientId) then the /ai cost-preview estimator, curated to a client-price allowlist

Authorization

clientKey
AuthorizationBearer <token>

Your Oppizi client key. Send it as Authorization: Bearer <client-key>. Scoped to your client account only.

In: header

Path Parameters

id*string

Numeric campaign id (must belong to the calling key’s client).

Response Body

application/json

curl -X GET "https://example.com/client/campaigns/string/cost-preview"
{  "success": true,  "data": {    "campaignId": "9114",    "clientId": "450",    "channel": "EDDM",    "subtype": "EDDM",    "format": "BEST_SELLER",    "quantity": 1706,    "perPiece": 0.4941,    "subtotal": 842.93,    "tax": 0,    "totalCost": 842.93,    "currency": "$",    "isEstimate": true,    "note": null  }}
Empty
Empty
Empty
Empty
Empty