PUT /api/v2/notification-preferences
Sets the notification opt-ins for the authenticated user. This replaces all existing opt-ins — send the complete set you want enabled, not a delta. To turn everything off, send an empty optIns array.
Request
curl
Parameters
Response
Always-on types
Some operational alert types bypass opt-in and are not managed here. This includessource.action_required (your storefront needs something only you can provide — for example, refreshed ad-server credentials) and source.action_resolved (that problem is resolved). Always-on types are delivered to the in-app feed and by email regardless of the opt-ins you set on this endpoint. Slack is the exception: they only post to Slack once you add the event type to your Slack configuration’s enabled events. See the notifications guide for the full always-on list.
Errors
400 VALIDATION_ERROR— unknownnotificationType, invalidchannel, or more than 200 opt-ins.401 UNAUTHORIZED— missing or invalid API key.
Related
Account tasks
All account operations
Get notification preferences
Read current opt-ins
Account overview
Concepts and hierarchy