Skip to main content
PATCH
/
v1
/
users
/
notifications
Update Notification Preferences
curl --request PATCH \
  --url https://api.agentpowers.ai/v1/users/notifications \
  --header 'Content-Type: application/json' \
  --data '
{
  "purchase_receipts": true,
  "payout_notifications": true,
  "marketing_emails": true
}
'
{
  "purchase_receipts": true,
  "payout_notifications": true,
  "marketing_emails": false
}

Body

application/json

Partial update for notification preferences.

purchase_receipts
boolean | null
payout_notifications
boolean | null
marketing_emails
boolean | null

Response

Successful Response

Notification preference settings.

purchase_receipts
boolean
default:true
payout_notifications
boolean
default:true
marketing_emails
boolean
default:false