Apply Referrer Code
This API call will help you to set referrer code to particular user
Base URL https://api.appvirality.com
POST /saas/v1_0/applyreferrercode
Content-Type application/json
Input i.e. Request
{ "apikey":"7b808b1f934448db8463a4c60091c49b", "privatekey":"097262223465191eda4ec006d601b", "userkey":"176502556c624614b913a62400ab4d7e", "email":"user@mail.com", "useraccountid":"34", "referrercode":"av1234" }
Input Params | Description |
---|---|
apikey | API Key of the Product Get it from Dashboard >> App Details |
privatekey | Private key for API requests Get it from: Dashboard >> App Details >> Click App Settings >> Advanced |
userkey | User 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) |
referrercode | Referrer's Referral Code: user will be attributed to his friend(one who invited) when on providing his referral code |
Response
{ "success": true, "message": "" }
Output Params | Description |
---|---|
success | (Boolean) Status of the API call. |
message | Information regarding API call (if relevant). |