Resetting the authentication token (auth_token
), which is used to automatically sign in your promoters (if you use this feature), is not required but can enhance the security of the promoter dashboard. You can set up a cron job to call the API endpoint and store the new auth_token from the response.
You can identify promoters by id, cust_id, or auth_token; only one is required.
PUT https://firstpromoter.com/api/v1/promoters/refresh_token
Promoter's ID inside FirstPromoter
Email of the promoter
Assigned customer/user ID
Referral ID'
Authentication token generated when the promoter was created
Refresh Token response
The response is of type object
.