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
| Field | Type | Required | Notes |
|---|---|---|---|
optIns | array | Yes | The full set of opt-ins (max 200). Replaces any existing opt-ins |
optIns[].notificationType | enum | Yes | Event to subscribe to. Values include media_buy.created, media_buy.updated, creative.approved, creative.rejected, salesagent.available, syndication.completed, system.error, and others |
optIns[].channel | enum | Yes | email or in_app |
Response
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