Profile notifications
This Request is Protected by Authentication
hint: this means it requires an x-access-token header put in the request with your authentication token.
Fetch notifications.
Request
Invocation
const result = await client.notifications.fetch();
query Notifications($request: NotificationRequest!) {
result: notifications(request: $request) {
items {
... on ReactionNotification {
...ReactionNotification
}
... on CommentNotification {
...CommentNotification
}
... on MirrorNotification {
...MirrorNotification
}
... on QuoteNotification {
...QuoteNotification
}
... on ActedNotification {
...ActedNotification
}
... on FollowNotification {
...FollowNotification
}
... on MentionNotification {
...MentionNotification
}
}
pageInfo {
...PaginatedResultInfo
}
}
}
Response
Paginated result with Notification
Full GraphQL API Example
Updated about 1 month ago