dotCMS Notifications API
User notifications and alerts management
Operations 5
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Ask an LLM
“How do I clear a batch of notifications at once?”
“Can I delete multiple notifications by their IDs?”
Tell an agent destructive · confirm first
Delete notifications {items}.
Clear the notifications listed in {items}.
Ask an LLM
“How do I dismiss one notification permanently?”
“Can I remove a single notification by ID?”
Tell an agent destructive · confirm first
Delete notification {id}.
Dismiss notification {id}.
GET
/api/v1/notification/getNewNotificationsCount
Count unread notifications · Get new notifications count
#
Ask an LLM
“How many new notifications do I have?”
“Is there anything unread in my notifications?”
Tell an agent
Count my new notifications using {params}.
Get the unread notification total with {params}.
Ask an LLM
“What notifications have I received?”
“Can I fetch notifications in a range for paging?”
Tell an agent
List my notifications with {params}.
Get notifications {params} for range {Range}.
Ask an LLM
“How do I mark my notifications as read?”
“Can I clear the unread badge on notifications?”
Tell an agent
Mark all my notifications as read.
Clear my unread notification count.
Documentation
Documentation
https://dev.dotcms.com/docs/build/apis/api-basics/rest-apis
APIReference
https://dev.dotcms.com/docs/build/apis/rest-apis/api-playground