Skip to content

This API call will help you to set referrer code to particular user


POSTapi.appvirality.com/saas/v1_0/applyreferrercodeapplication/json

Input i.e. Request

{
"apikey":"7b808b1f934448db8463a4c60091c49b",
"privatekey":"097262223465191eda4ec006d601b",
"userkey":"176502556c624614b913a62400ab4d7e",
"email":"user@mail.com",
"useraccountid":"34",
"referrercode":"av1234"
}

Input Params

Input ParamsDescription
apikeyAPI Key of the Product
Get it from DashboardApp Details
privatekeyPrivate key for API requests
Get it from: DashboardApp Details › Click App SettingsAdvanced
userkeyUser Key of the Product user, assigned by AppVirality - a unique identifier for every Product user recorded
email
(optional)
Email of the user
useraccountid
(optional)
ID of the user in your Account(helps to identify users on dashboard as you do in your product)
referrercodeReferrer’s Referral Code: user will be attributed to his friend(one who invited) when on providing his referral code

Response

{
"success": true,
"message": ""
}

Response Params

Output ParamsDescription
success(Boolean) Status of the API call.
messageInformation regarding API call (if relevant).