Logo

Dyzo API

v2.0.0

Time Warnings

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

API Overview

Capabilities and features

Manage employee time warnings with ignore/resolve actions. Admins can temporarily hide warnings or resolve them with automatic notifications and email alerts.

Key Features

Ignore warnings (hide until next day)
Resolve warnings (notify employee)
Automatic warning creation if not exists
Auto-reset ignored warnings daily
Email notifications on resolution
WebSocket real-time notifications
Company-level warning management
Filter by status and visibility
POST
/api/time-warning/action/
200 OK

Take Action on Time Warning

Ignore or resolve a time warning for an employee. If warning doesn't exist, it will be automatically created. Ignore action hides the warning until next day. Resolve action sends notification and email to the employee.

JSONRequest Body
1{
2 "user_id": 123,
3 "action": "ignore",
4 "action_by_id": 456
5}
GET
/api/company/{company_id}/time-warnings/
200 OK

Get Company Time Warnings

Retrieve all time warnings for a specific company with optional filtering by status and visibility.