HOC SiteDokümantasyon

get_notifications

Read in-app notifications for the authenticated platform user. Default lists unread items with id, title, and meta (truncated true); all=true returns every item and every field. Pass fields=body (comma-separated keys) to include notification body on list or get. Pass notificationId for one notification including meta, or unreadCountOnly=true for just the unread count. Known kinds include form_reply (meta.formSubmissionId) and integration_run_failed (meta.runId, definitionId, definitionName, errorCode, ranAt, kind query|webhook, optional trigger manual|lifecycle|inbound, optional errorDetail). Failures of the same definition+errorCode are deduped for ~15 minutes while an unread notification remains.

get_notifications · Grup: notifications

Girdiler

notificationId

isteğe bağlı — uuid — Read one notification by id

unreadCountOnly

isteğe bağlı — boolean — Return only the unread count

unreadOnly

isteğe bağlı — boolean — When true, only unread notifications

all

isteğe bağlı — boolean — Return every notification and every field

websiteId

isteğe bağlı — uuid — Optional website filter

limit

isteğe bağlı — number 1-100 — Max rows (default 50)

fields

isteğe bağlı — Comma-separated response keys

Şema

{
  "name": "get_notifications",
  "group": "notifications",
  "inputFields": [
    {
      "name": "notificationId",
      "required": false,
      "schemaHint": "uuid",
      "description": "Read one notification by id"
    },
    {
      "name": "unreadCountOnly",
      "required": false,
      "schemaHint": "boolean",
      "description": "Return only the unread count"
    },
    {
      "name": "unreadOnly",
      "required": false,
      "schemaHint": "boolean",
      "description": "When true, only unread notifications"
    },
    {
      "name": "all",
      "required": false,
      "schemaHint": "boolean",
      "description": "Return every notification and every field"
    },
    {
      "name": "websiteId",
      "required": false,
      "schemaHint": "uuid",
      "description": "Optional website filter"
    },
    {
      "name": "limit",
      "required": false,
      "schemaHint": "number 1-100",
      "description": "Max rows (default 50)"
    },
    {
      "name": "fields",
      "required": false,
      "description": "Comma-separated response keys"
    }
  ]
}

Eşlendiği uçlar

  • GET /api/v1/{locale}/platform/notifications → API
  • GET /api/v1/{locale}/platform/notifications/{id} → API
  • GET /api/v1/{locale}/platform/notifications/unread-count → API

İlgili