OppiziDeveloper
API ReferencePerformance

Campaign performance over time

GET
/client/campaigns/{id}/performance

How the campaign is doing over time: flyers distributed, scans and conversions bucketed into periods, alongside your own revenue, ROI, CPA, spend and conversion value.

Authorization

ClientBearer
AuthorizationBearer <token>

Client-scoped key as a Bearer JWT; always pinned to your own client.

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/performance"
{  "success": true,  "data": {    "xAxis": {      "label": "Week",      "data": [        "2026-W20",        "2026-W21"      ]    },    "yAxis": {      "scans": {        "label": "Scans",        "data": [          120,          145        ]      },      "conversions": {        "label": "Conversions",        "data": [          18,          22        ]      },      "flyersDistributed": {        "label": "Flyers Distributed",        "data": [          20000,          25000        ]      }    }  }}
Empty
Empty
Empty
Empty
Empty