Skip to main content
POST
Create affiliate campaign

Authorizations

X-API-Key
string
header
required

Preferred authentication method. Pass the API key in the X-API-Key HTTP request header. The user account must have api_status enabled.

Body

application/json
name
string
required

Campaign name. Maximum 100 characters.

offer_id
integer
required

Offer ID. Must be accessible to the affiliate.

landing_page_id
integer
required

Landing page ID bound to the selected offer.

commission_plan_id
integer

Commission plan ID bound to the selected offer. Required on Brand and Marketplace platforms.

traffic_source_id
integer

Optional traffic source ID.

traffic_approach_id
integer

Optional traffic approach ID.

creative_id
integer | null

Optional creative ID bound to the selected offer.

status
enum<string>

Initial campaign status. Defaults to active if omitted.

Available options:
active,
paused

Response

Campaign created.

status
enum<string>
Available options:
success
code
enum<integer>
Available options:
201
name
enum<string>
Available options:
Created
message
string
Example:

"Campaign created"

info
object