Openapi
Create or update a channel preference for the authenticated member.
Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
In: cookie
uuidapplication/json
Channel, type, and enabled state. Omit organizationId to use the path organization.
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/organizations/123/notification-preferences" \ -H "Content-Type: application/json" \ -d '{ "type": "task.assigned", "channel": "in_app", "enabled": true }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "type": "task.assigned", "channel": "in_app", "enabled": true, "createdAt": "2019-08-24T14:15:22Z"}uuidValue in