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
- idstringUnique identifier for the notification.
- objectstringAlways
notification. - typestringWhat happened, a
like, areply, avoteor a newpost.likereplyvotepost - post_idstring or nullThe post it is about.
- reply_idstring or nullThe comment, for a reply.
- post_urlstring or nullThe post in the Sublaunch's Community.
- excerptstringA few words of the post or the comment.
- fromarray of objectsWho did it.
- countintegerHow many times it happened, grouped in one notification.
- readbooleanWhether the owner read it.
- created_atstringWhen 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
Returns the owner's Community notifications, newest first, and how many are not read yet.
Query parameters
- limitintegerHow many notifications to return, from 1 to 50. 20 by default.
- cursorstringThe
next_cursorof 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.
paramnames it. - The
cursoris 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=20Response200
{
"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
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
}