Social API reference

Social API · Notifications

get/v1/communities/{community_id}/actors/{actor_id}/notificationsAuth

List notifications for an actor (newest first).

Reverse-chronological inbox. Pass `unread_only=true` to filter to unread rows only. Cursor encodes `(created_at, id)` and round-trips through the response. Default page size 50, max 200. Suppression of self-actions and blocked-actor pairs happens at write time, so every row returned here has already passed those filters.

Path parameters

community_id*string

Community UUID.

actor_id*string

Social actor UUID (returned from POST /actors).

Query parameters

limitinteger

Items per page (1..200, default 50).

cursorstring

Opaque base64url cursor returned by the prior page.

unread_onlyboolean

When `true`, returns only rows where `read_at IS NULL`.

statusenum (3)

Filter slice. `inbox` (default) hides suppressed rows; `requests` shows only suppressed rows (notifications from actors the viewer has restricted); `all` merges both.

Response · 200 Page of notifications.

data*array

Page of notifications, newest first.

pagination*object
next_cursor*string

Opaque base64url cursor for the next page; `null` when no further pages.

Example: "eyJjcmVhdGVkX2F0IjoiMjAyNi0wNS0wMVQxMjowMDowMC4wMDBaIiwiaWQiOiJiYmJiIn0"

has_more*boolean

`true` when at least one more page exists. Mirrors `next_cursor !== null`; published as a separate field so SDKs can drive a `while` loop without parsing the cursor. A short or empty `data` array does NOT imply the end of the list when a lane post-filters — always page until this is `false`.

Example: true

Example

Request

GET https://social.productcraft.co/v1/communities/{community_id}/actors/{actor_id}/notifications
Authorization: Bearer YOUR_TOKEN

Response

{
  "data": [
    {
      "id": "11111111-1111-1111-1111-111111111111",
      "community_id": "cccccccc-cccc-cccc-cccc-cccccccccccc",
      "recipient_actor_id": "aaaaaaaa-0000-0000-0000-000000000001",
      "kind": "reaction",
      "actor_id": "aaaaaaaa-0000-0000-0000-000000000002",
      "target_kind": "post",
      "target_id": "bbbbbbbb-0000-0000-0000-000000000001",
      "payload": {
        "type": "like"
      },
      "suppressed": false,
      "read_at": null,
      "created_at": "2026-05-01T12:00:00.000Z"
    }
  ],
  "pagination": {
    "next_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNi0wNS0wMVQxMjowMDowMC4wMDBaIiwiaWQiOiJiYmJiIn0",
    "has_more": true
  }
}