notifications

Embed
Preview of the card
<a href="https://lucidace.com/docs/ref-notifications"><img src="https://lucidace.com/docs/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/da916cd3-c0fc-4b63-b971-b3c13623daf3/pages/03963324-006a-4a43-9305-9405f45490c5/social-card.svg?v=3e7ae33eec8b" alt="notifications" width="600" height="315"></a>
GEThttps://lucidace.com/v1/notifications

Parameters

unreadbooleanquery
limitintegerquery
cursorstringquery

Code samples

cURL
curl -X GET "https://lucidace.com/v1/notifications"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Page of Notification, newest first
Example
{
  "data": [
    {
      "body": "string",
      "created_at": "2024-01-01T00:00:00Z",
      "id": "string",
      "kind": "string",
      "link": "string",
      "project_id": "string",
      "read_at": "2024-01-01T00:00:00Z",
      "title": "string"
    }
  ],
  "next_cursor": "string"
}
Schema
dataNotification[]required
Show child parameters
bodystringrequired
created_atstringrequired
idstringrequired
kindstringrequired
mention | alert | approval | ...
linkstringrequired
App path to open, e.g. /insights/<id>.
project_idstring
read_atstring
titlestringrequired
next_cursorstring
404
POSThttps://lucidace.com/v1/notifications/read-all

Code samples

cURL
curl -X POST "https://lucidace.com/v1/notifications/read-all"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

204
404
GEThttps://lucidace.com/v1/notifications/unread-count

Code samples

cURL
curl -X GET "https://lucidace.com/v1/notifications/unread-count"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200
Example
{
  "unread": 0
}
Schema
unreadintegerrequired
404
POSThttps://lucidace.com/v1/notifications/{id}/read

Parameters

idstringpathrequired

Code samples

cURL
curl -X POST "https://lucidace.com/v1/notifications/{id}/read"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

204
404
Updated