Skip to content

notifications

get notifications for a given user (or for the current user)

Arguments

sort_by · String · Options are created_at_asc and created_at_desc. Defaults to created_at_desc
after · Cursor · Cursor to fetch results after

Returns

[Notification!]

Example

query notifications(
$other_party_id: String
$read_status: Boolean
$seen_status: Boolean
$types: [String]
$sort_by: String
$order_by: NotificationOrderKeys
$offset: Int
$page_size: Int
$after: Cursor
) {
notifications(
other_party_id: $other_party_id
read_status: $read_status
seen_status: $seen_status
types: $types
sort_by: $sort_by
order_by: $order_by
offset: $offset
page_size: $page_size
after: $after
) {
associated_entry
associated_object
created_at
creator_user_name
cursor
id
link
link_string
message
other_party
other_party_id
read
seen
type
user
user_id
}
}