# Mark notification as read

**URL:** <https://forum.heroiclabs.com/t/mark-notification-as-read/5216>\
**Category:** Runtime Framework\
**Tags:** server-framework\
**Created:** [April 29, 2024, 3:32pm UTC](https://forum.heroiclabs.com/t/mark-notification-as-read/5216 "2024-04-29T15:32:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sesposito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/sesposito/32/2594_2.png) [@sesposito](https://forum.heroiclabs.com/u/sesposito)\
**Post date:** [May 2, 2024, 11:23am UTC](https://forum.heroiclabs.com/t/mark-notification-as-read/5216/2 "2024-05-02T11:23:39Z")

</div>

Hello @elementalcode,

Since we don’t currently provide an API to update a notification content, a custom query is fine for this purpose, I’d suggest using something like:

```sql
UPDATE notification SET content = content || '{"read":true}'::jsonb WHERE id = '<notification_id>';

```

Best

---

_[View the full topic](https://forum.heroiclabs.com/t/mark-notification-as-read/5216)._
