Get notification preferences
curl --request GET \ --url https://example.com/api/v1/notifications/preferences \ --header 'Authorization: Bearer <token>'Returns the caller’s preference for every notification type, applying defaults for types without a stored preference. Unpaginated.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Set to client to return only the types a client portal contact receives.
Set to client to return only the types a client portal contact receives.
Responses
Section titled “Responses”Notification preferences (unpaginated array).
object
A member’s delivery preference for one notification type. Types without a stored row fall back to defaults.
object
Whether this type reaches the member as a Discord direct message. Absent on an older server. Discord messages reach only members who linked their Discord account.
Email digest frequency: IMMEDIATE, DAILY, or NEVER.
Notification type — one of the NotificationType enum values.
Example generated
{ "data": [ { "discordEnabled": true, "emailDigest": "example", "emailEnabled": true, "inAppEnabled": true, "memberId": "example", "notificationType": "example" } ]}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC