OppiziDeveloper
API ReferenceCampaigns

Your campaign creative

The creative for your OWN campaign — flyer design (S3 link + thumbnail), logo and any additional artworks. Ownership is checked first (404 if the campaign is not yours). Composed from: ownership check (PG) then the /ai artworks upstream, curated to { flyer, logo, artworks }

GET
/client/campaigns/{id}/artworks

The creative for your OWN campaign — flyer design (S3 link + thumbnail), logo and any additional artworks. Ownership is checked first (404 if the campaign is not yours).

Composed from: ownership check (PG) then the /ai artworks upstream, curated to { flyer, logo, artworks }

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/artworks"
{  "success": true,  "data": {    "flyer": {      "s3Link": "https://…/design.pdf",      "thumbnailUrl": "https://…/design.jpeg",      "fileName": "My design",      "designSource": "upload",      "isUploaded": true    },    "logo": null,    "artworks": []  }}
Empty
Empty
Empty
Empty
Empty