Marketing

ReferralHero

6min
the referralhero modules allow you to monitor, create, update, list, and delete the subscribers, referrals, rewards, and lists in your referralhero account requirements in order to use referralhero app in {{product name}} , it is necessary to have a referralhero account connect referralhero and {{product name}} to connect your referralhero account to {{product name}} you need to obtain the api key from your referralhero account and insert it in the create a connection dialog in the module log in to your referralhero account and open your dashboard click account > api copy the api token to your clipboard go to make and open the referralhero module's create a connection dialog in the connection name field, enter a name for the connection in the api token field, enter the token details copied in step 3, and click continue the connection has been established set up a referralhero webhook open any watch module, establish a connection as mentioned in the respective modules, click save and copy the url address to your clipboard click ok and save the trigger log in to your referralhero account select the campaign for which you want to add the webhooks click installation instructions > integrations > webhooks > +new webhook add the url address copied in step 1 and select the events for which you want to receive the triggers when you add the url address in the url field, remove the prefix https // as the copied url already has that part click create webhook you have successfully added the webhook referralhero modules subscribers watch new subscribers added to your campaign watch deleted subscribers list subscribers get a subscriber create a subscriber update a subscriber delete a subscriber referrals confirm a referral lists list lists create a list rewards watch unlocked rewards list rewards other make an api call