List Notifications inbox items
const url = 'https://example.com/api/v1/notifications/inbox';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 https://example.com/api/v1/notifications/inbox \ --header 'Authorization: Bearer <token>'Return the caller’s inbox items, newest first. Use cursor to continue from the last page and limit to choose the page size. The response also includes the unread count for the whole inbox. Route: /api/v1/notifications/inbox. Inputs: cursor, limit. Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Opaque cursor returned by the previous page.
Requested page size. The server clamps this value to 100.
Responses
Section titled “Responses”A page of inbox items and an optional cursor for the next page.
object
Newest items first.
One inbox item returned to the authenticated User.
object
Action label for a web toast while its Installation still owns the action.
Optional display detail.
Creation time in Unix milliseconds.
Stable notification identifier.
Stable notification category.
Optional local deep link.
Read time in Unix milliseconds, or null when unread.
Per-User action state for an active block reminder, when this row owns one.
Short display title.
Opaque cursor for the next page.
Unread items in the whole inbox, not only on this page. The web badge reads it from a one-item page, so it never pages the inbox to count.
Examplegenerated
{ "items": [ { "action_label": "example", "body": "example", "created_ms": 1, "id": "example", "kind": "example", "link": "example", "read_ms": 1, "reminder_state": "example", "title": "example" } ], "next_cursor": "example", "unread_count": 1}The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}