notifications
GET
https://hermetica.15.204.158.166.sslip.io /v1/notifications Your in-app notifications in this workspace, newest first, with the unread count
Parameters
limitintegerquerycursorstringqueryunreadstringqueryCode samples
cURL
curl -X GET "https://hermetica.15.204.158.166.sslip.io/v1/notifications"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"source": "string",
"title": "string",
"body": "string",
"link": "string",
"data": {},
"readAt": "2024-01-01T00:00:00Z",
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string",
"unread": 0
}Schema
itemsobject[]requiredShow child parameters
idstringrequiredsourcestringrequiredtitlestringrequiredbodystringrequiredlinkstringrequireddataobjectrequiredreadAtstringrequiredcreatedAtstringrequirednextCursorstringrequiredunreadintegerrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectPOST
https://hermetica.15.204.158.166.sslip.io /v1/notifications/read Request body
application/json
idsstring[]required{
"ids": [
"string"
]
}Code samples
cURL
curl -X POST "https://hermetica.15.204.158.166.sslip.io/v1/notifications/read" \
-H "Content-Type: application/json" \
-d '{"ids":["string"]}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredPOST
https://hermetica.15.204.158.166.sslip.io /v1/notifications/read-all Code samples
cURL
curl -X POST "https://hermetica.15.204.158.166.sslip.io/v1/notifications/read-all"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"marked": 0
}Schema
markedintegerrequiredUpdated