Frontend API
cURL
curl --request POST \ --url https://api.wacht.dev/notifications/mark-all-read \ --header 'Content-Type: application/x-www-form-urlencoded' \ --cookie session_id= \ --data scope=organization \ --data scope_id=123456789012345678
{ "count": 15 }
Mark all notifications as read, optionally filtered by scope
Session-based authentication using cookies
Scope to filter (e.g., "organization", "workspace")
"organization"
Scope ID to filter
"123456789012345678"
All notifications marked as read
Number of notifications marked as read
15
Was this page helpful?