ressource.socialbetadocumentation
API referenceNotifications

The caller's notification preferences

One row per (source_type, notification_type), defaults included — the global switches of the settings page. A community's own settings are read from `/notifications/preferences/communities`.

GET
/api/v1/notifications/preferences

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

One row per (source_type, notification_type), defaults included — the global switches of the settings page. A community's own settings are read from /notifications/preferences/communities.

Authorization

headerAuthorizationBearer <token>

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

Response Body

The preferences

application/json
  1. response
items*array<>
curl -X GET 'https://www.ressource.social/api/v1/notifications/preferences'
{  "items": [    {      "source_type": "string",      "notification_type": "string",      "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",      "in_app_enabled": true,      "push_enabled": true,      "email_enabled": true    }  ]}