---
title: "Mark all my notes as read"
type: reference
method: POST
path: /rest-api/user-preference/notes/read-all.do
tag: "Users"
---

# Mark all my notes as read

`POST https://YOUR-NETWORK-DOMAIN/rest-api/user-preference/notes/read-all.do`

Marks every unread note left for the signed-in user as read and answers with how many it marked. Only the user does this: a session in which someone else is signed in as the user (switch user) is refused. Requires the NOTES_TAB_VISIBLE permission.

## Responses

- `200` — {success, marked}
- `400` — Bad request — invalid or missing parameters
- `401` — Unauthorized — authentication error
- `403` — The role does not show the Notes tab (NOTES_TAB_VISIBLE), or the session is someone signed in as the user

## Example request

```bash
curl --request POST \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/user-preference/notes/read-all.do' \
  --header 'X-Api-Key: YOUR_API_KEY'
```

Source: https://epom.com/ad-server/docs/api/users/post-user-preference-notes-read-all