{ "opencollection": "1.0.0", "info": { "name": "MoEngage Email Subscription Management APIs", "version": "1.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Resubscribe", "type": "folder" }, "items": [ { "info": { "name": "Bulk Resubscribe Users", "type": "http" }, "http": { "method": "POST", "url": "https://api-{dc}.moengage.com/emails/v1.0/bulk-resubscribe", "headers": [ { "name": "MOE-APPKEY", "value": "YOUR_WORKSPACE_ID_XXXX" } ], "body": { "type": "json", "data": "{}" } }, "docs": "This API resubscribes users who have previously unsubscribed on the MoEngage platform and an external email vendor platform simultaneously. This API resets the unsubscribe flag to “false” for users on MoEngage and makes a call to an External Service Provider (ESP) like SendGrid to remove the email addresses (associated with the unsubscribed users) from their suppression list.\n" } ] }, { "info": { "name": "Opt-in Management", "type": "folder" }, "items": [ { "info": { "name": "Update User Email Opt-in Preferences", "type": "http" }, "http": { "method": "PUT", "url": "https://api-{dc}.moengage.com/v1.0/opt-in-management/user-preferences", "headers": [ { "name": "MOE-APPKEY", "value": "YOUR_WORKSPACE_ID_XXXX" } ], "body": { "type": "json", "data": "{}" } }, "docs": "This API updates a user's overall email opt-in status and/or category-level subscription preferences within MoEngage. This API is typically used after a user submits the second confirmation through MoEngage consent-seeking emails (Double Opt-in).\n" } ] } ], "bundled": true }