Skip to main content

Create a campaign

POST 

/campaigns

Creates a campaign for a brand and opens one empty creative (NOT_GENERATED) per product; they have no public representation until generated, and generating them happens in the Mocart dashboard. Creating a campaign spends no credits. The 201 carries the campaign the way GET /campaigns/{id} returns it, and a Location header. Idempotency-Key is required: a retry with the same key and body returns the same campaign, never a second one. The account must be under its plan's campaign limit.

Request​

Responses​

Created — or the replay of an earlier create with this key.

Response Headers
    ETag

    Strong hash of this response body.

    Location

    The created campaign: /api/public/v1/campaigns/{campaignId}.