Notifications

Update Notification Email Preferences

PUT
/v0/notifications/email-preferences

Authorization

apiKeyAuth
headerx-api-key<token>

FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.

Request Body

application/json
  1. body
preferences*array<>

Response Body

Success

application/json
  1. response
[index: integer]?
curl -X PUT "https://example.com/v0/notifications/email-preferences" \  -H "Content-Type: application/json" \  -d '{    "preferences": [      {        "type": "organization_invite",        "emailEnabled": true      }    ]  }'
[  {    "type": "organization_invite",    "emailEnabled": true  }]