Shotstash
API referenceGraphQL referenceQueries

Notifications

The caller's notifications, newest first (at most 50).

The caller's notifications, newest first (at most 50).

Arguments

unreadOnly?Boolean

Only unread notifications.

Returns

[Notification!]!
  1. returns

An in-app notification for the signed-in user.

id*ID!

Unique id.

type*String!

Notification type: upload_complete, chat_mention, file_shared or project_created.

title*String!

English fallback title; clients render from type and data.

body*String!

English fallback body; clients render from type and data.

data?String

Structured details (JSON text), null when none.

read*Boolean!

True once marked read.

createdAt*DateTime!

When the notification was created.

query Notifications {  notifications {    id    type    title    body    data    read    createdAt  }}