Notifications
GET
http://localhost:4000/api/v1 /notifications List notifications
Newest first: posts published and failed, channels to reconnect, approvals, comments, automation failures and plan events. unread counts the rows newer than the caller's read marker. Rows are kept for 90 days. Page back with before set to the createdAt of the last row.
Parameters
limitinteger
query
beforestring
query
categorystring
query
severitystring
query
readstring
query
fromstring
query
tostring
query
Code samples
cURL
curl -X GET "http://localhost:4000/api/v1/notifications" \
-H "Authorization: Bearer $API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{}Option 1
{}Option 2
{}POST
http://localhost:4000/api/v1 /notifications/read Mark every notification as read
Moves the caller's own read marker to now; nobody else's changes.
Code samples
cURL
curl -X POST "http://localhost:4000/api/v1/notifications/read" \
-H "Authorization: Bearer $API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{}Option 1
{}Option 2
{}POST
http://localhost:4000/api/v1 /notifications/clear Clear every notification
Hides what is listed now from the caller's own list and marks it read; other members keep theirs.
Code samples
cURL
curl -X POST "http://localhost:4000/api/v1/notifications/clear" \
-H "Authorization: Bearer $API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{}Option 1
{}Option 2
{}Updated