---
title: "GET /api/v1/users/{user}/notifications"
method: GET
path: "/api/v1/users/{user}/notifications"
tags: ["UserService"]
---

# GET /api/v1/users/{user}/notifications

`GET /api/v1/users/{user}/notifications`

ListUserNotifications lists notifications for a user.

## Path parameters

- `user` string, required

## Query parameters

- `pageSize` integer
- `pageToken` string
- `filter` string

## Response `200`

OK

- ListUserNotificationsResponse
  - `notifications` UserNotification[]
    - `name` string — The resource name of the notification. Format: users/{user}/notifications/{notification}
    - `sender` string — The sender of the notification. Format: users/{user}
    - `senderUser` User
      - `name` string — The resource name of the user. Format: users/{user}
      - `role` 'ROLE_UNSPECIFIED' | 'ADMIN' | 'USER', enum, required — The role of the user.
      - `username` string, required — Required. The unique username for login.
      - `email` string — Optional. The email address of the user.
      - `displayName` string — Optional. The display name of the user.
      - `avatarUrl` string — Optional. The avatar URL of the user.
      - `description` string — Optional. The description of the user.
      - `password` string — Input only. The password for the user.
      - `state` 'STATE_UNSPECIFIED' | 'NORMAL' | 'ARCHIVED', enum, required — The state of the user.
      - `createTime` string, date-time — Output only. The creation timestamp.
      - `updateTime` string, date-time — Output only. The last update timestamp.
    - `status` 'STATUS_UNSPECIFIED' | 'UNREAD' | 'ARCHIVED', enum — The status of the notification.
    - `createTime` string, date-time — The creation timestamp.
    - `type` 'TYPE_UNSPECIFIED' | 'MEMO_COMMENT' | 'MEMO_MENTION', enum — The type of the notification.
    - `memoComment` UserNotificationMemoCommentPayload
      - `memo` string — The memo name of comment. Format: memos/{memo}
      - `relatedMemo` string — The name of related memo. Format: memos/{memo}
      - `memoSnippet` string — Preview text of the comment memo.
      - `relatedMemoSnippet` string — Preview text of the related memo.
    - `memoMention` UserNotificationMemoMentionPayload
      - `memo` string — The memo that contains the mention. Format: memos/{memo}
      - `relatedMemo` string — The related parent memo when the mention was created in a comment. Format: memos/{memo}
      - `memoSnippet` string — Preview text of the memo that contains the mention.
      - `relatedMemoSnippet` string — Preview text of the related parent memo.
  - `nextPageToken` string

## Other responses

- `default` — Default error response

---

[API](https://skmtc.net/usememos/apis/untitled-api.md) · [All operations](https://skmtc.net/usememos/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usememos/untitled-api/versions/f01e84cf5acc/schema)
