Skip to content

notifications

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

Arguments

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

Returns

[Notification!]

Example

query notifications(
$after: Cursor
$offset: Int
$other_party_id: String
$page_size: Int
$read_status: Boolean
$seen_status: Boolean
$sort_by: String
$order_by: NotificationOrderKeys
$types: [String]
) {
notifications(
after: $after
offset: $offset
other_party_id: $other_party_id
page_size: $page_size
read_status: $read_status
seen_status: $seen_status
sort_by: $sort_by
order_by: $order_by
types: $types
) {
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
}
}