Notifications

List a member's notification settings

Changed on

Disclaimer: This beta endpoint is evolving; the API contract may change. <br /><br /> Returns the notification settings an organization member has explicitly chosen. A member who has never changed a setting has none, so an empty list means every notification follows the platform default for their role — it does not mean notifications are off. Settings for notification types the member cannot use are omitted, which depends on their permissions rather than the caller's. Slack is configured for the whole organization and never appears here. A page holds at most limit settings (default 100, maximum 250; a larger value is clamped) and the server may return fewer. Every response carries limit and nextCursor; pass nextCursor as the cursor query parameter to fetch the next page, repeating until it is null.

get/v1/organizations/{organizationId}/members/{userId}/notificationSettings

Request

  • Base URL
    https://api.clickhouse.cloud
  • Auth
    HTTP basic

Path parameters

organizationId, string uuid required

ID of the organization the member belongs to.

userId, string uuid required

ID of the member whose settings are returned.

Query parameters

limit, integer

Maximum number of results to return.

cursor, string

Opaque cursor from a previous response's nextCursor, marking where to resume the list.

type, string
Example:service_backup_failed

Filter to settings for this notification type.

resource_id, string

Filter to settings for this resource.

resource_type, string
Example:service

Filter to settings for resources of this kind. One of 'service', 'organization', 'clickpipe', 'postgres'.

Response

Successful response

object required
status, number

HTTP status code.

requestId, string uuid

Unique id assigned to every request. UUIDv4

result, NotificationSetting[]

List of results.

limit, integer

Maximum number of results returned in this page.

nextCursor, string nullable

Cursor for the next page, to be sent as the cursor query parameter. Null on the last page.

Example response

{
  "status": 200,
  "result": [
    {
      "type": "service_backup_failed",
      "resourceType": "service",
      "channelType": "email",
      "effect": "disabled"
    }
  ]
}

Changes