Frontend API
cURL
curl --request GET \ --url https://api.wacht.dev/notifications \ --cookie session_id=
{ "data": [ { "id": "123456789012345678", "user_id": "777777777777777777", "type": "organization.invitation", "title": "New organization invitation", "body": "You have been invited to join Acme Corp", "scope": "organization", "scope_id": "999999999999999999", "action_url": "https://app.wacht.dev/organizations/999", "read": false, "starred": false, "archived": false, "metadata": {}, "created_at": "2024-01-15T10:30:00Z", "updated_at": "2024-01-15T10:30:00Z" } ], "has_more": false, "limit": 20, "offset": 0 }
Retrieve all notifications for the current user
Session-based authentication using cookies
1 <= x <= 100
x >= 0
Filter by scope
"organization"
Filter by scope ID
Filter by archived status
Notifications retrieved successfully
Show child attributes
false
20
0
Was this page helpful?