Skip to content
Anlyon
Esc
↑↓navigate↵open⌘Jpreview

Get your own notification preferences

Returns the calling member’s own preferences in this workspace. Needs a user, so a console session or an OAuth connection. An API key has no user and answers 403 USER_IDENTITY_REQUIRED.

GET/api/v2/notifications/preferences/me
Authorization
AuthorizationBearer token (Anlyon API key) · headerrequired

Workspace API key sent as Authorization: Bearer <key>.

or
better-auth.session_tokenAPI key · cookierequired

Browser session used by dashboard-only operations.

Header parameters
X-Request-Idstring

Optional caller correlation ID. Unsafe or oversized values are replaced.

max length 128
Responses
200

The calling member's own notification preferences returned.

successbooleanrequired
dataMyNotificationPreferencesrequired
Show properties
mutedTypesNotificationTypeName[]required
updatedAtstring<date-time> | nullrequired

Null until you save your preferences for the first time.

401

Unauthorized - Invalid or missing API key

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
403

Authenticated credential lacks the required scope or workspace access.

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
429

Too Many Requests - Rate limit exceeded

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://api.anlyon.com/api/v2/notifications/preferences/me' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
{
  "success": true,
  "data": {
    "mutedTypes": [
      "quota_warning"
    ],
    "updatedAt": "2019-08-24T14:15:22Z"
  }
}