OppiziDeveloper
API ReferencePricing

Your campaign price

The price of your OWN campaign as shown in the Oppizi UI — subtotal, tax, total, any discount (amountOff/percentOff), plus the currency sign. Only your client’s campaign; a campaign that is not yours returns 404. Oppizi-internal cost/margin fields are never included. Notes: - For an ad-hoc quote BEFORE a campaign exists, use the calculators (client-calc-*). Composed from: ownership check (Campaign.client_id = key.clientId) then sales-ai /cost, curated to a client-price allowlist + currency

GET
/client/campaigns/{id}/cost

The price of your OWN campaign as shown in the Oppizi UI — subtotal, tax, total, any discount (amountOff/percentOff), plus the currency sign. Only your client’s campaign; a campaign that is not yours returns 404. Oppizi-internal cost/margin fields are never included.

Notes:

  • For an ad-hoc quote BEFORE a campaign exists, use the calculators (client-calc-*).

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

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"
{  "success": true,  "data": {    "subtotal": 3200,    "tax": 320,    "totalCost": 3520,    "amountOff": 0,    "currencySign": "$"  }}
Empty
Empty
Empty
Empty
Empty