Logo

Dyzo API

v2.0.0

Notifications

Complete Dyzo API Documentation - Project Management, Team Collaboration & Time Tracking Platform

API Overview

Capabilities and features

Manage notifications and alerts.

Key Features

Send notifications to users
Mark as read/unread
Get unread count
Clear all notifications
GET
/notifications/recipient/{recipient_id}/?app_type=[HR|task]&category=[task|project|need_attention|message|notice]&priorty=[primary|updates|others|activity]&isArchive=[true|false]&later=[true|false]&read=[true|false]&starred=[true|false]&isMention=[true|false]&page=[number]
200 OK

Get User Notifications (Advanced Filtering)

Get all notifications for a user with advanced filtering options. Supports category-based tabs, priority filters, app-type filtering, and pagination for both HR and Task apps. Query Parameters (all optional): • app_type: 'hr' or 'task' • category: 'task', 'project', 'need_attention', 'message', 'notice' • priorty: 'primary', 'updates', 'others', 'activity' • isArchive: true or false • later: true or false • read: true or false • starred: true or false • isMention: true or false • page: page number (10 per page)

PATCH
/api/notifications/read/{notification_id}/
200 OK

Mark Notification as Read

Mark a notification as read.

POST
/mark_notifications_as_read/{user_id}/
200 OK

Mark All as Read

Mark all notifications as read.

DELETE
/notifications/delete/
200 OK

Delete Notifications

Delete multiple notifications.

JSONRequest Body
1{
2 "notification_ids": [
3 5001,
4 5002
5 ]
6}
DELETE
/notifications/{user_id}/clear/
200 OK

Clear All Notifications

Clear all notifications for a user.

GET
/notifications/unread-count/{user_id}/
200 OK

Get Unread Count

Get count of unread notifications.