Create a new promoter
Use this endpoint to create new promoters using the API. The response will return the newly added promoter as JSON. Probably the most important value from the response is auth_token
, which is a unique key auto-generated on creation and can be used to automatically log in your promoters to their dashboard. Learn more.
Promoter sign up accepted
emails for the campaign, it will start sending emails to the promoter. To skip the emails, set the skip_email_notification
parameter to true
POST https://firstpromoter.com/api/v1/promoters/create
Use this endpoint to create new promoters using the API. The response will return the newly added promoter as JSON.
Probably the most important value from the response is “auth_token”, which is a unique key auto-generated on creation and can be used to automatically log in your promoters to their dashboard. Learn more
If this call is successful and you enabled “Promoter sign up accepted” emails for the campaign, it will start sending emails to the promoter. To skip the emails, set the skip_email_notification parameter to “true”.
Authorizations
Query Parameters
Promoter's email
Promoter's first name
Promoter's last name
Your customer's user ID inside your application/system for the promoter. It will be avaliable in the webhooks to identify the promoter in your system if you subscribe for FirstPromoter webhooks.
Referral ID. If this is blank an ID is assigned based on the first name. Can be only lower-case letters
, numbers
, -
(hyphen) and _
(underscore)
Unique promo code from your billing provider to assign to this affiliate for coupon tracking. This is also known as the Coupon Code
or Coupon ID
Customer promo code from your billing provider to assign to this affiliate for coupon tracking. This is also known as discount code
or promotion code
or display code
. This is the code your customer(s) can use on the checkout form/page.
The ID of the campaign to assign the promoter to. On the campaigns sections you can see the id as camp_id
query parameter on 'Promoter Sign Up page URL'. If there is no camp_id
it means the campaign is the default campaign and this parameter is not required.
A temporary password promoters can use to log in to their dashboard if you don't use authentication tokens(auth_token
) to sign promoters in automatically.
You can set up a custom landing page url for this promoter. The referral id will be appended to it, unless the url_tracking
parameter(below) is used.
Set true
to enable direct url tracking feature. FirstPromoter will do the tracking based on landing_url
(above) without requiring the referral id to be appended to the url. The landing_url
needs to be unique for each promoter. Default is false
.
Promoter's website
Promoter's Paypal email address
URL of the profile picture promoters can see on their dashboard
Id of the parent if the promoter is a sub-affiliate
Email of the parent promoter if the promoter is a sub-affiliate
Promoter's linkedin url
Promoter's twitter url
Promoter's facebook url
Promoter's instagram url
Promoter's youtube url
Promoter's country
Promoter's company name
Promoter's phone number
Promoter's address
A note/description of promoter
ISO date string of the date of the signup event
Set this to true
to skip email notifications. Default is false
.
Response
The promoter's ID inside FirstPromoter
Promoter's status
approved
, pending
, denied
Your customer's user ID inside your application/system for the promoter. This will be included in the webhook event and can be used to identify the promoter in your system if you scribscibe for FirstPromoter's webhooks.
Promoter's email
ISO date string when the promoter signed up
A temporary password the promoter can use to log in to their dashboard if you don't use authentication tokens(auth_token
) to sign promoters in automatically.
Promoter's default promotion id
Promoter's parent referral id.
Promoter's default referral id
A note/description of promoter
The w8 form url
The w9 form url
Parent promoter id
Promoter's earnings balance. This object can contain cash
, credits
, discount_per
Promoter's current balance. This object can contain cash
, credits
, discount_per
Promoter's paid balance. This object can contain cash
, credits
, discount_per
Authentication token generated when the promoter was created