curl --request GET \
--url https://api-{dc}.moengage.com/v5/subscription-preferences \
--header 'Authorization: Basic <encoded-value>' \
--header 'MOE-APPKEY: <moe-appkey>'Get Subscription Preferences (V5)
Fetches a user profile’s per-category subscription state and global unsubscribe status. The user is identified by a user_identifier_type / user_identifier_value pair rather than a path parameter.
curl --request GET \
--url https://api-{dc}.moengage.com/v5/subscription-preferences \
--header 'Authorization: Basic <encoded-value>' \
--header 'MOE-APPKEY: <moe-appkey>'Rate Limit
The rate limit is 100 RPM and 360k per day.Authorizations
Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'.
- Username: Your MoEngage app key.
- Password: Your MoEngage API secret.
Transitional note: This route currently accepts Basic Auth only. Bearer token support (Authorization: Bearer <token>) is planned but not yet active here — Bearer requests return 401 until the APISIX gateway fronts this route.
For more information on authentication and getting your credentials, refer here.
Headers
This is the project ID of your MoEngage account that must be passed with the request. You can find it in the MoEngage dashboard at Settings > Account > Portfolio > Project ID. Note: This parameter is mandatory for workspaces with the Portfolio feature enabled.
Query Parameters
Response
This response is returned when the request is processed successfully.