Mark notifications read
mark_messages_readClears notification badges on subscribers' devices while keeping messages in the server cache, so they remain readable with list_messages. Use it to dismiss alerts without deleting them.
Instructions
Clears notifications on subscribers' devices. The messages stay in the server cache and remain readable with list_messages — that is the whole difference from delete_messages, which also leaves them there but tells subscribers to remove rather than to clear.
Needs ntfy 2.16.0 or newer. Against an older server every id comes back with ok:false inside a result that is not an error — check the per-id results rather than only whether the call succeeded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | No | Their topic. Defaults to the first NTFY_TOPICS entry. | |
| sequence_ids | Yes | Ids of the notifications to clear. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | ||
| results | Yes |