Read the caller's notification feed (flat, newest first)
GET
/v1/notifications
const url = 'http://localhost:3000/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:3000/v1/notifications?limit=20' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”limit
integer
next
string
Opaque paging token. Pass the next value from the previous page.
owner
string
Server token only — the user whose feed to read.
Responses
Section titled “Responses”A page of notifications plus unseen/unread counts.
Media typeapplication/json
object
results
required
Array
next
required
Opaque cursor. Null when no further page.
string | null
results
required
Array<object>
object
id
required
string format: uuid
verb
required
string
actor
required
string
object
required
Follow: the followed feed ref; react: the activity id
string
reaction_kind
required
string | null
created_at
required
string format: date-time
seen_at
required
string | null format: date-time
read_at
required
string | null format: date-time
actor_user
required
Enriched from users.custom when actor parses as user:
object
id
string
custom
object
key
additional properties
any
unseen
required
integer
unread
required
integer
Example
{ "results": [ { "verb": "follow", "actor": "user:bob" } ]}Invalid, expired, revoked, or absent token.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
requestId
required
string
fields
Present only for VALIDATION_FAILED.
Array<object>
object
path
string
message
string
Example
{ "error": { "code": "VALIDATION_FAILED" }}Authenticated but not permitted.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
requestId
required
string
fields
Present only for VALIDATION_FAILED.
Array<object>
object
path
string
message
string
Example
{ "error": { "code": "VALIDATION_FAILED" }}Rate limit exceeded.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
requestId
required
string
fields
Present only for VALIDATION_FAILED.
Array<object>
object
path
string
message
string
Example
{ "error": { "code": "VALIDATION_FAILED" }}Headers
Section titled “Headers”Retry-After
integer