List all notifications
GET
/notifications
const url = 'http://localhost:8000/api/v1/notifications?limit=20';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:8000/api/v1/notifications?limit=20' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” limit
integer
Number of items to return per page
synced_since
string format: date-time
Get recent changes after this date
no_client_id
boolean
Get results with no client id
unread_only
boolean
Responses
Section titled “ Responses ”Successful operation
Media type application/json
object
last_sync
string format: date-time
data
Array<object>
object
id
integer
type
string
title
string
body
string
data
object
read_at
string format: date-time
created_at
string format: date-time
unread_count
integer
Example
{ "data": [ { "type": "reminder" } ]}