Shotstash
API referenceGraphQL referenceSubscriptions

Notification Received

New notifications for the caller.

New notifications for the caller.

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.

subscription NotificationReceived {  notificationReceived {    id    type    title    body    data    read    createdAt  }}