API reference

Notifications

Notifications are the bell of the Sublaunch's owner in the Community, who liked, replied, voted or posted. Only the owner's keys and connections read them.

The notification object

Something that happened in the Community, from the bell of the Sublaunch's owner.

Attributes

  • idstring
    Unique identifier for the notification.
  • objectstring
    Always notification.
  • typestring
    What happened, a like, a reply, a vote or a new post.
    likereplyvotepost
  • post_idstring or null
    The post it is about.
  • reply_idstring or null
    The comment, for a reply.
  • post_urlstring or null
    The post in the Sublaunch's Community.
  • excerptstring
    A few words of the post or the comment.
  • fromarray of objects
    Who did it.
  • countinteger
    How many times it happened, grouped in one notification.
  • readboolean
    Whether the owner read it.
  • created_atstring
    When it happened, ISO 8601.
Notification object
{
  "id": "Nt3kQ8xM2P",
  "object": "notification",
  "type": "reply",
  "post_id": "Pt9xK3mQ2L",
  "reply_id": "Cm2kX8pQ7R",
  "post_url": "https://sublaunch.com/alphadesk/community/weekly-outlook",
  "excerpt": "Thanks, the 4 hour chart helps a lot.",
  "from": [
    {
      "name": "Sam Carter",
      "is_creator": false
    }
  ],
  "count": 1,
  "read": false,
  "created_at": "2026-11-15T18:20:13.000Z"
}

List notifications

GET/v1/notificationsread scopeMCPlist_notifications

Returns the owner's Community notifications, newest first, and how many are not read yet.

Query parameters

  • limitinteger
    How many notifications to return, from 1 to 50. 20 by default.
  • cursorstring
    The next_cursor of the previous page, to get the page after it. Keep the other parameters the same. See Pagination.

Returns

A list of notification objects with unread_count, the notifications not read yet.

Errors

  • A parameter has a value the API does not accept. param names it.
  • The cursor is not one this list gave, was made for other filters, or goes deeper than its limit.
GET/v1/notifications
curl -G https://api.sublaunch.com/v1/notifications \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY" \
  -d limit=20
Response200
{
  "object": "list",
  "data": [
    {
      "id": "Nt3kQ8xM2P",
      "object": "notification",
      "type": "reply",
      "post_id": "Pt9xK3mQ2L",
      "reply_id": "Cm2kX8pQ7R",
      "post_url": "https://sublaunch.com/alphadesk/community/weekly-outlook",
      "excerpt": "Thanks, the 4 hour chart helps a lot.",
      "from": [
        {
          "name": "Sam Carter",
          "is_creator": false
        }
      ],
      "count": 1,
      "read": false,
      "created_at": "2026-11-15T18:20:13.000Z"
    }
  ],
  "has_more": true,
  "next_cursor": "eyJ0IjoiMjAyNi0xMS0xNVQxNzowMjo0MC4wMDBaIn0",
  "unread_count": 4
}

Mark notifications read

POST/v1/notifications/readwrite scopeMCPread_notifications

Marks every Community notification of the owner read, as opening the bell in the app does.

Returns

An object with unread_count.

POST/v1/notifications/read
curl -X POST https://api.sublaunch.com/v1/notifications/read \
  -H "Authorization: Bearer $SUBLAUNCH_API_KEY"
Response200
{
  "object": "notifications",
  "unread_count": 0
}