Skip to content

List in-app notifications for the current account (newest first).

GET
/v1/notifications
curl --request GET \
--url 'https://api.share2.us/v1/notifications?limit=20' \
--header 'Authorization: Bearer <token>'
limit
integer
default: 20 >= 1 <= 50
before
string format: date-time

RFC3339 cursor; returns notifications created strictly before it.

A page of notifications plus the unread count.

Media typeapplication/json
object
items
required
Array<object>
object
id
required
string format: uuid
type
required
string
title
required
string
body
string
nullable
data
object
key
additional properties
any
action
object
kind
required
string
email
string format: email
group_count
required

Number of coalesced events represented by this row.

integer
created_at
required
string format: date-time
updated_at
required
string format: date-time
read_at
string format: date-time
nullable
unread_count
required
integer format: int64
next_cursor
required

RFC3339 cursor for the next page, or empty when there are no more.

string
Example
{
"items": [
{
"type": "share.received",
"action": {
"kind": "trust_contact"
}
}
]
}

Standard error envelope.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
request_id
required
string
Example
{
"error": {
"code": "quota_exceeded"
}
}