Skip to main content
POST
Scope required: rewards.issue
This endpoint creates a new partner-initiated campaign for a merchant. A campaign defines the time window, terms, and reward variants for issuing rewards to users. Each campaign must have between 1 and 4 variants. Treatment variants specify a reward_template_id that defines the reward to be issued. Control variants (named “Control”) do not require a reward_template_id. Use the List Reward Templates endpoint to discover available reward templates for a merchant.

Parameters

campaign.merchant_id
string
required
Merchant ID
campaign.name
string
required
Campaign name
campaign.objective
string
Campaign objective
campaign.fine_print
string
Terms and conditions
campaign.start_at
string
required
Campaign start date (ISO8601)
campaign.end_at
string
required
Campaign end date (ISO8601)
campaign.redeemable_from
string
required
Reward redemption start date (ISO8601)
campaign.redeemable_to
string
required
Reward redemption end date (ISO8601)
campaign.variants
array
required
Campaign variants (1-4 variants)

Response

Returns 201 Created with the campaign object.