OppiziDeveloper
API ReferenceCampaigns

Get a campaign

Returns a single campaign owned by your client account.

GET
/client/campaigns/{id}

Returns a single campaign owned by your client account.

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

The campaign id.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/client/campaigns/string"
{  "success": true,  "data": {    "id": "cmp_123",    "name": "Spring flyer drop — Paris",    "status": "DRAFT",    "type": "HANDTOHAND",    "city": "Paris",    "country": "FR",    "startDate": "2026-03-01",    "endDate": "2026-03-31",    "flyerQuantity": 50000,    "distributed": 42310  }}
{  "success": false,  "error": "Unauthorized"}
{  "success": false,  "error": "Unauthorized"}