Skip to main content
POST
Creates one or more rules for a campaign. All active rules must pass for a payment to trigger the campaign (AND logic). Visit the conditional operators reference for more information on how to use them.

Authorizations

public-api-key
string
header
required
private-secret-key
string
header
required

Path Parameters

campaign_id
string
required

The campaign identifier (UUID).

Body

application/json
rules
object[]
required

Array of rule objects

Response

201 - application/json

Created

data
object[]