Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Notifications

List my notifications

get

Returns the authenticated user's notifications.

Query parameters
pagenumber · nullableOptional
limitnumber · nullableOptional
sortBystringOptional
sortOrderstring · enumOptionalPossible values:
unreadOnlyboolean · nullableOptional
Header parameters
X-Semble-ClientstringOptional

A short identifier for your integration (e.g. my-plugin, mcp). Please set this if you are building an integration — it helps Semble understand which tools people use. Values are lowercased before being recorded, so MyPlugin and myplugin are the same client. After lowercasing the value must match ^[a-z0-9][a-z0-9_-]{0,31}$; values that do not are ignored, and the client is inferred from the auth method instead.

Example: my-pluginPattern: ^[A-Za-z0-9][A-Za-z0-9_-]{0,31}$
Responses
200

200

application/json
unreadCountnumberRequired
get/network.cosmik.notification.list
GET /xrpc/network.cosmik.notification.list HTTP/1.1
Host: api.semble.so
Accept: */*
200

200

{
  "notifications": [
    {
      "id": "text",
      "user": {
        "id": "text",
        "name": "text",
        "handle": "text",
        "avatarUrl": "text",
        "bannerUrl": "text",
        "description": "text",
        "isFollowing": true,
        "isSubscribed": true,
        "subscriptionScopes": [
          "CARD"
        ],
        "followsYou": true,
        "followerCount": 1,
        "followingCount": 1,
        "followedCollectionsCount": 1,
        "urlCardCount": 1,
        "collectionCount": 1,
        "connectionCount": 1,
        "connectionsByType": {
          "total": 1,
          "ANY_ADDITIONAL_PROPERTY": 1
        },
        "labels": [
          {
            "$type": "com.atproto.label.defs#label",
            "ver": 1,
            "src": "text",
            "uri": "text",
            "cid": "text",
            "val": "text",
            "neg": true,
            "cts": "text",
            "exp": "text",
            "sig": null
          }
        ]
      },
      "createdAt": "text",
      "type": "USER_ADDED_YOUR_CARD",
      "read": true,
      "card": {
        "id": "text",
        "type": "URL",
        "url": "text",
        "uri": "text",
        "cardContent": {
          "url": "text",
          "title": "text",
          "description": "text",
          "author": "text",
          "publishedDate": "text",
          "siteName": "text",
          "imageUrl": "text",
          "type": "text",
          "retrievedAt": "text",
          "doi": "text",
          "isbn": "text"
        },
        "libraryCount": 1,
        "urlLibraryCount": 1,
        "urlInLibrary": true,
        "urlConnectionCount": 1,
        "urlIsConnected": true,
        "createdAt": "text",
        "updatedAt": "text",
        "author": {
          "id": "text",
          "name": "text",
          "handle": "text",
          "avatarUrl": "text",
          "bannerUrl": "text",
          "description": "text",
          "isFollowing": true,
          "isSubscribed": true,
          "subscriptionScopes": [
            "CARD"
          ],
          "followsYou": true,
          "followerCount": 1,
          "followingCount": 1,
          "followedCollectionsCount": 1,
          "urlCardCount": 1,
          "collectionCount": 1,
          "connectionCount": 1,
          "connectionsByType": {
            "total": 1,
            "ANY_ADDITIONAL_PROPERTY": 1
          },
          "labels": [
            {
              "$type": "com.atproto.label.defs#label",
              "ver": 1,
              "src": "text",
              "uri": "text",
              "cid": "text",
              "val": "text",
              "neg": true,
              "cts": "text",
              "exp": "text",
              "sig": null
            }
          ]
        },
        "note": {
          "id": "text",
          "text": "text"
        }
      },
      "collections": [
        {
          "id": "text",
          "uri": "text",
          "name": "text",
          "author": {
            "id": "text",
            "name": "text",
            "handle": "text",
            "avatarUrl": "text",
            "bannerUrl": "text",
            "description": "text",
            "isFollowing": true,
            "isSubscribed": true,
            "subscriptionScopes": [
              "CARD"
            ],
            "followsYou": true,
            "followerCount": 1,
            "followingCount": 1,
            "followedCollectionsCount": 1,
            "urlCardCount": 1,
            "collectionCount": 1,
            "connectionCount": 1,
            "connectionsByType": {
              "total": 1,
              "ANY_ADDITIONAL_PROPERTY": 1
            },
            "labels": [
              {
                "$type": "com.atproto.label.defs#label",
                "ver": 1,
                "src": "text",
                "uri": "text",
                "cid": "text",
                "val": "text",
                "neg": true,
                "cts": "text",
                "exp": "text",
                "sig": null
              }
            ]
          },
          "description": "text",
          "accessType": "OPEN",
          "cardCount": 1,
          "createdAt": "text",
          "updatedAt": "text",
          "isFollowing": true,
          "isSubscribed": true,
          "subscriptionScopes": [
            "CARD"
          ],
          "followerCount": 1
        }
      ]
    }
  ],
  "pagination": {
    "currentPage": 1,
    "totalPages": 1,
    "totalCount": 1,
    "hasMore": true,
    "limit": 1
  },
  "unreadCount": 1
}

Get unread notification count

get

Returns the number of unread notifications for the authenticated user.

Header parameters
X-Semble-ClientstringOptional

A short identifier for your integration (e.g. my-plugin, mcp). Please set this if you are building an integration — it helps Semble understand which tools people use. Values are lowercased before being recorded, so MyPlugin and myplugin are the same client. After lowercasing the value must match ^[a-z0-9][a-z0-9_-]{0,31}$; values that do not are ignored, and the client is inferred from the auth method instead.

Example: my-pluginPattern: ^[A-Za-z0-9][A-Za-z0-9_-]{0,31}$
Responses
200

200

application/json
unreadCountnumberRequired
get/network.cosmik.notification.getUnreadCount
GET /xrpc/network.cosmik.notification.getUnreadCount HTTP/1.1
Host: api.semble.so
Accept: */*
200

200

{
  "unreadCount": 1
}

Mark notifications as read

post

Marks one or more notifications as read by ID.

Header parameters
X-Semble-ClientstringOptional

A short identifier for your integration (e.g. my-plugin, mcp). Please set this if you are building an integration — it helps Semble understand which tools people use. Values are lowercased before being recorded, so MyPlugin and myplugin are the same client. After lowercasing the value must match ^[a-z0-9][a-z0-9_-]{0,31}$; values that do not are ignored, and the client is inferred from the auth method instead.

Example: my-pluginPattern: ^[A-Za-z0-9][A-Za-z0-9_-]{0,31}$
Body
notificationIdsstring[]Required
Responses
200

200

application/json
markedCountnumberRequired
post/network.cosmik.notification.markRead
POST /xrpc/network.cosmik.notification.markRead HTTP/1.1
Host: api.semble.so
Content-Type: application/json
Accept: */*
Content-Length: 28

{
  "notificationIds": [
    "text"
  ]
}
200

200

{
  "markedCount": 1
}

Mark all notifications as read

post

Marks all of the authenticated user's notifications as read.

Header parameters
X-Semble-ClientstringOptional

A short identifier for your integration (e.g. my-plugin, mcp). Please set this if you are building an integration — it helps Semble understand which tools people use. Values are lowercased before being recorded, so MyPlugin and myplugin are the same client. After lowercasing the value must match ^[a-z0-9][a-z0-9_-]{0,31}$; values that do not are ignored, and the client is inferred from the auth method instead.

Example: my-pluginPattern: ^[A-Za-z0-9][A-Za-z0-9_-]{0,31}$
Body
objectOptional
Responses
200

200

application/json
markedCountnumberRequired
post/network.cosmik.notification.markAllRead
POST /xrpc/network.cosmik.notification.markAllRead HTTP/1.1
Host: api.semble.so
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
200

200

{
  "markedCount": 1
}

Last updated