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.
Base URL https://api.appvirality.com
POST /v2_0/emailsubscription
Content-Type application/json
Input i.e. Request
{ "apikey":"888eb7a4f004d3418007154687de619e", "privatekey":"ee69040ef8aa509005546886e67abb18", "emailid":"testcam@stag.growthscore.io", "action":"Unsubscribe" }
Input Params | Description |
---|---|
apikey | API Key of the App Get it from Dashboard >> App Details |
emailid | Email of the User, updated to AppVirality |
privatekey | Private key for API requests Get it from: Dashboard >> App 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" }
Output Params | Description |
---|---|
success | Call Success Response (true/false) |
status code | code based on status of the API call |
message | Information regarding API call (if relevant) |