ressource.socialbetadocumentation
API referenceNotifications

Set one community's activity preferences

`enabled` alone is the community's master switch: false mutes it, true makes it follow the global defaults again. Otherwise the channels sent are set on one `activity_type`, or on all of them when it is omitted; channels not sent keep their current value. Only this community changes. Members only (403 otherwise).

PATCH
/api/v1/notifications/preferences/communities/{orgId}

Sends a real request with your token. Prefer a read-only token; it is kept in this browser's storage.

enabled alone is the community's master switch: false mutes it, true makes it follow the global defaults again. Otherwise the channels sent are set on one activity_type, or on all of them when it is omitted; channels not sent keep their current value. Only this community changes. Members only (403 otherwise).

Authorization

headerAuthorizationBearer <token>

A personal access token (rsk_…) or a Supabase access token.

Path Parameters

orgId*string
Match^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

Request Body

application/json
  1. body
enabled?boolean

The community's master switch, sent alone. false mutes every activity type in this community (all channels off); true removes the community's own settings so it follows the global defaults again — it never turns email or the quiet pushes on.

activity_type?string

Omit to set these channels on every activity type at once

Value in"bookmark_shared""bookmark_reacted""bookmark_commented""comment_replied""bookmark_resaved""community_upload_created""event_created""user_joined""user_invited"
in_app_enabled?boolean
push_enabled?boolean
email_enabled?boolean

Response Body

Saved

curl -X PATCH 'https://www.ressource.social/api/v1/notifications/preferences/communities/string' \  -H 'Content-Type: application/json' \  -d '{}'
Empty