Create an Affiliate
Creates a new affiliate on your Affiliate Program. The response includes an affiliateLinks array (initially containing the link created from affiliateLink, or an auto-generated slug).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Affiliate details
First name of the affiliate
Last name of the affiliate
Email of the affiliate
Commission rate for the affiliate
Optional slug for the affiliate's first referral link. If omitted, a slug is generated automatically.
Response
Affiliate created successfully
The affiliate ID
First name of the affiliate
Last name of the affiliate
Full name of the affiliate (optional)
Email of the affiliate
Hashed Password of the affiliate (optional)
Flag to indicate if the email has been verified
Profile image URL of the affiliate
Flag to indicate if affiliate details are complete
The program ID that the affiliate is associated with
Email to be used for payouts
Payment method for the affiliate (e.g., WISE)
Commission rate for the affiliate (0 - 100)
Deprecated legacy field; often null. Use affiliateLinks for all link slugs.
All affiliate link records for this affiliate. This is the source of truth for referral link slugs.
Status of the affiliate (active/inactive)
Timestamp when the affiliate was created
Timestamp when the affiliate was last updated
Number of users referred by the affiliate
Number of clicks generated by the affiliate
Total commission earned by the affiliate