API Endpoint
Last updated
Last updated
Get campaign program details for the given Id.
OK
The ID of the campaign.
"JCu82f30F1"
The name of the campaign.
"Q4 Growth Program"
Campaign status. [Active, Pause, End].
"Active"
Campaign creation date.
"2023-10-11T00:36:27.753+00:00"
Campaign end date if set.
"2024-10-11T00:36:27.753+00:00"
Campaign URL.
"https://referralrocket.io/campaign?id=JCu82f30F1"
The flag indicates if the campaign is paused or not.
false
The flag indicates if the campaign has ended or not.
false
Campaign reward header.
"Refer a friend and win"
Campaign reward description.
"Give friends $20 off their first order, and you'll get $20 when they make a purchase."
Campaign share widget header.
"Refer a friend and win"
Campaign share widget description.
"Use your unique link to give friends $20 off their first order, and you'll get $20 when they make a purchase."
Referrer reward value.
20
Referee reward value.
20
Reward type.
"Monetary"
Total participant in the campaign.
8
Add participants to a program by providing the campaign ID and their email address. Optionally, if a 'referredByCode' or 'referredByEmail' is provided, the user will be added as a referral to the participant with the corresponding code.
The ID of the campaign.
"JCu82f30F1"
The email address of the participant.
"johndoe@example.com"
Referral code of the participant referring.
"7ZZp9eBG"
Email of the participant referring.
"john@ghmail.com"
OK
The email address of the participant.
"johndoe@example.com"
The first name of the participant.
"john"
The last name of the participant.
"doe"
The unique referral code of the participant.
"8Mnu09TD"
The referral code of the invitee.
"7ZZp9eBG"
The datetime when participant joined the program.
"2023-11-04T15:41:08.828+00:00"
The campaign Id of the program participant is part of.
"JCu82f30F1"
The unique referral link of the participant.
"https://referralrocket.io/campaign?id=JCu82f30F1&referralCode=8Mnu09TD"
The total referrals made by the participant.
0
The total rewards earned by referrals.
0
The total referral reward redeemed.
0
The total referral balance left.
0
The total rewards earned by joining the program.
20
The total referee reward redeemed.
0
The total referee balance left.
0
The Boolean flag to indicate if the participant fulfilled the event required to earn the reward.
false
The fraud score of the participant. Will be empty for participant created via APIs.
"Low"
Get participant details for given campaign Id and email.
OK
The email address of the participant.
"johndoe@example.com"
The first name of the participant.
"john"
The last name of the participant.
"doe"
The unique referral code of the participant.
"8Mnu09TD"
The referral code of the invitee.
"7ZZp9eBG"
The datetime when participant joined the program.
"2023-11-04T15:41:08.828+00:00"
The campaign Id of the program participant is part of.
"JCu82f30F1"
The unique referral link of the participant.
"https://referralrocket.io/campaign?id=JCu82f30F1&referralCode=8Mnu09TD"
The total referrals made by the participant.
0
The total rewards earned by referrals.
0
The total referral reward redeemed.
0
The total referral balance left.
0
The total rewards earned by joining the program.
20
The total referee reward redeemed.
0
The total referee balance left.
0
The Boolean flag to indicate if the participant fulfilled the event required to earn the reward.
false
The fraud score of the participant. Will be empty for participant created via APIs.
"Low"
Mark qualifying event complete for a participant. Marking a qualifying event complete for a participant will result in the referrer being eligible for a reward. Only referred participants can be can complete a qualifying event and hence marked as qualified.
The ID of the campaign.
"JCu82f30F1"
The email address of the participant.
"johndoe@example.com"
Amount spent/paid by participant.
"250"
OK
The email address of the participant.
"johndoe@example.com"
The first name of the participant.
"john"
The last name of the participant.
"doe"
The unique referral code of the participant.
"8Mnu09TD"
The referral code of the invitee.
"7ZZp9eBG"
The datetime when participant joined the program.
"2023-11-04T15:41:08.828+00:00"
The campaign Id of the program participant is part of.
"JCu82f30F1"
The unique referral link of the participant.
"https://referralrocket.io/campaign?id=JCu82f30F1&referralCode=8Mnu09TD"
The total referrals made by the participant.
0
The total rewards earned by referrals.
0
The total referral reward redeemed.
0
The total referral balance left.
0
The total rewards earned by joining the program.
20
The total referee reward redeemed.
0
The total referee balance left.
0
The Boolean flag to indicate if the participant fulfilled the event required to earn the reward.
false
The fraud score of the participant. Will be empty for participant created via APIs.
"Low"
Get all participants of a campaign. API returns 20 records at a time. You can adjust the size by passing in the Pageable params.
OK
The email address of the participant.
"johndoe@example.com"
The first name of the participant.
"john"
The last name of the participant.
"doe"
The unique referral code of the participant.
"8Mnu09TD"
The referral code of the invitee.
"7ZZp9eBG"
The datetime when participant joined the program.
"2023-11-04T15:41:08.828+00:00"
The campaign Id of the program participant is part of.
"JCu82f30F1"
The unique referral link of the participant.
"https://referralrocket.io/campaign?id=JCu82f30F1&referralCode=8Mnu09TD"
The total referrals made by the participant.
0
The total rewards earned by referrals.
0
The total referral reward redeemed.
0
The total referral balance left.
0
The total rewards earned by joining the program.
20
The total referee reward redeemed.
0
The total referee balance left.
0
The Boolean flag to indicate if the participant fulfilled the event required to earn the reward.
false
The fraud score of the participant. Will be empty for participant created via APIs.
"Low"
Return all referrals of a participant. The API returns 20 records at a time. You can adjust the size by passing the Pageable params.
OK
The email address of the participant.
"johndoe@example.com"
The first name of the participant.
"john"
The last name of the participant.
"doe"
The unique referral code of the participant.
"8Mnu09TD"
The referral code of the invitee.
"7ZZp9eBG"
The datetime when participant joined the program.
"2023-11-04T15:41:08.828+00:00"
The campaign Id of the program participant is part of.
"JCu82f30F1"
The unique referral link of the participant.
"https://referralrocket.io/campaign?id=JCu82f30F1&referralCode=8Mnu09TD"
The total referrals made by the participant.
0
The total rewards earned by referrals.
0
The total referral reward redeemed.
0
The total referral balance left.
0
The total rewards earned by joining the program.
20
The total referee reward redeemed.
0
The total referee balance left.
0
The Boolean flag to indicate if the participant fulfilled the event required to earn the reward.
false
The fraud score of the participant. Will be empty for participant created via APIs.
"Low"