Endpoints
The Subscription Categories API consists of the following endpoints:- Get Subscription Preferences: Fetches the subscription category preferences information for a specific user.
- Update Subscription Preferences: Updates the subscription category preferences information for a specific user who navigates to the custom landing page from the email notification sent to them and updates their preferences.
- Bulk Update Subscription Preferences: Updates subscription category preferences in bulk. Use this API for updating the user preferences to MoEngage in large volumes.
FAQs
Get Subscription Preferences
How do we fetch the parameters to be passed in the request?
How do we fetch the parameters to be passed in the request?
The user_id (MoEngage ID) and the cid (Campaign ID) fields should be fetched from the landing page URL. For example, if the link to the custom landing page was Here, you can parse and find user_id and cid
https://www.abc.com/managepreference, when the user clicks the same from the email, the link will be as below:- user_id is: 7XvJW2dj3iS.rYAt4pg5ASBQtaqAMFDw9e89vZCXx_RFfN3eL0wBG008oI6cpncOQV6ESg
- cid is: 5FGZGcA8FRv3Id89JCCczQjwxq6ApEyAarYDje2mzfRQ_WG7VyyFEc0w4L3MA.31a7wzR64fi7lfq8Km0AaeO4paGVul.4HxixDYnoUp21xyUjGtfvnrHSR2G1reTpYPHHU.r3Ac9vE and pass the same while triggering the API.
Update Subscription Preferences
How do we fetch the parameters to be passed in the request?
How do we fetch the parameters to be passed in the request?
The user_id (MoEngage ID) and the cid (Campaign ID) fields should be fetched from the landing page URL. For example, if the link to the custom landing page was Here, you can parse and find user_id and cid
https://www.abc.com/managepreference, when the user clicks the same from the email, the link will be as below:- user_id is: 7XvJW2dj3iS.rYAt4pg5ASBQtaqAMFDw9e89vZCXx_RFfN3eL0wBG008oI6cpncOQV6ESg
- cid is: 5FGZGcA8FRv3Id89JCCczQjwxq6ApEyAarYDje2mzfRQ_WG7VyyFEc0w4L3MA.31a7wzR64fi7lfq8Km0AaeO4paGVul.4HxixDYnoUp21xyUjGtfvnrHSR2G1reTpYPHHU.r3Ac9vE and pass the same while triggering the API.
Bulk Update Subscription Preferences
What is the batch size for the bulk update?
What is the batch size for the bulk update?
The maximum batch size is 50.