API ReferenceCampaigns
Campaign creative
The artwork on the campaign — flyer design with a thumbnail, your logo and any additional pieces.
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/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
Campaign schedule GET
When the campaign runs: start date, current status, the active date ranges, the planned end date and how many weeks it lasts.
Campaign promo codes GET
The promo codes printed on this campaign. Each row's `code` is what you send as `coupon` when you [record a conversion](/docs/api-reference/tracking/createtrackingevent) — that is how a sale gets attributed back to the flyer that caused it. Page through with `first` (up to 500) and `skip`.