# Unread GitHub notification is killing me

For a couple of weeks, if not months at this point, I’ve been feeling terrorized as I am someone who only subscribes to notifications that are of an interest to me. That is so, when I find myself on the GitHub website, I would intentionally click on them and be informed of any issues that matter to me.

However since late summer I’ve been seeing a badge of new notification but there was no way to clear it. I was hoping it’d go away by itself one day. I even tried the GitHub app on the phone. Nothing.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1760002680433/b89ba91d-47ff-4759-b95d-33fd32d77445.png align="center")

My OCD is unfortunately too big and it got to the point where I was ready to open a ticket and complain about it. But I must say they did a good job suggesting issues that might be related.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1760001654007/29a7da38-705a-4e7a-9c53-2e22ae495c4a.png align="center")

I click on the first one and quickly discover a pleasant idea - to use the API to mark all notifications as read.

Ref: [https://github.com/orgs/community/discussions/6874#discussioncomment-2859125](https://github.com/orgs/community/discussions/6874#discussioncomment-2859125)

Let’s try. I open my terminal in Warp, setup a GitHub token using 1password (I already use that) and make the `cURL` call.

```bash
TOKEN=$(op read op://Personal/GithubAccountItem/token)
curl -X PUT \
    -H "Accept: application/vnd.github.v3+json" \
    -H "Authorization: token $TOKEN" \
     https://api.github.com/notifications \
    -d '{"last_read_at":"2025-10-10T00:00:00Z"}'
```

Yayy, I feel relieved! I am no longer distracted and that matters a ton to me.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1760002041670/4c8bfb0d-e335-4c76-a800-5d803c7dcfca.png align="center")
