Affiliates
Create affiliate
Creates a new affiliate in your organization.
POST
/
affiliatesAuthorization
AuthorizationRequiredBearer <token>
API key authentication. Use your API key as the bearer token.
In: header
Request Body
application/jsonRequiredemailRequiredstring
Affiliate email (required)
Format:
"email"first_nameRequiredstring
First name
last_nameRequiredstring
Last name
payout_emailstring
Payout email address
Format:
"email"ref_codestring
Unique code that goes at the end of the affiliate link
promo_codestring
Stripe promo code (will be generated if it doesn't already exist in Stripe)
campaign_idstring
Campaign UUID (uses default if not provided)
Format:
"uuid"approvedboolean
Whether to approve the affiliate to start promoting immediately
Default:
truedetailsstring
Additional details
new_paid_referral_notificationsboolean
Whether the affiliate receives email alerts when they make a new paid referral
Default:
trueAffiliate created