Skip to content

Change Email Subscription

Allows you to subscribe or unsubscribe users for sending automated mails.


This API call allows you to subscribe or unsubscribe users. If you unsubscribe the user using this api then user will not get automated email notifications but users will receive reward notifications.

POSTapi.appvirality.com/v2_0/emailsubscriptionapplication/json

Input i.e. Request

{
"apikey":"888eb7a4f004d3418007154687de619e",
"privatekey":"ee69040ef8aa509005546886e67abb18",
"emailid":"testcam@stag.growthscore.io",
"action":"Unsubscribe"
}

Input Params

Input ParamsDescription
apikeyAPI Key of the App
Get it from DashboardApp Details
emailidEmail of the User, updated to AppVirality
privatekeyPrivate key for API requests
Get it from: DashboardApp Details › Click App Settings › Scroll down to Advanced Settings
action“Unsubscribe” - To unsubscribe the user.
”Subscribe” - To subscribe back the user

Response

{
"success": true,
"statuscode": 1,
"message": "Success"
}

Response Params

Output ParamsDescription
successCall Success Response (true/false)
status codecode based on status of the API call
messageInformation regarding API call (if relevant)