Manage deadlines, due dates, and tasks for cases. Track court deadlines, hearings, and internal tasks.
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"title": "File response to motion",
"dueDate": "2026-02-15T17:00:00Z",
"caseId": "case-uuid-here",
"assignedUserId": "user-uuid-here",
"completedAt": null,
"firmId": "firm-uuid-here",
"createdAt": "2026-01-15T10:00:00Z"
}
| Field | Type | Description |
|---|---|---|
| id | string | Unique identifier (UUID) |
| title | string | Deadline description |
| dueDate | datetime | When the deadline is due (ISO 8601) |
| caseId | string | Associated case ID |
| assignedUserId | string | User responsible |
| completedAt | datetime | When completed (null if pending) |
GET /api/deadlines
| Parameter | Type | Description |
|---|---|---|
| caseId | string | Filter by case ID |
| completed | boolean | Filter by completion status |
GET /api/deadlines?completed=false
Response:
{
"success": true,
"data": [
{
"id": "...",
"title": "Submit evidence",
"dueDate": "2026-02-01T17:00:00Z",
"completedAt": null,
...
}
]
}
GET /api/deadlines/{id}
POST /api/deadlines
{
"title": "Court hearing",
"dueDate": "2026-03-15T10:00:00Z",
"caseId": "case-uuid-here",
"assignedUserId": "user-uuid-here"
}
PUT /api/deadlines/{id}
{
"title": "Court hearing - Rescheduled",
"dueDate": "2026-03-22T10:00:00Z",
"assignedUserId": "user-uuid-here"
}
POST /api/deadlines/{id}/complete
Marks the deadline as completed with the current timestamp.
{
"success": true,
"data": {
"id": "...",
"completedAt": "2026-01-15T14:30:00Z",
...
}
}
DELETE /api/deadlines/{id}
GET /api/deadlines/overdue
Returns all deadlines that are past their due date and not completed.
{
"success": true,
"data": [
{
"id": "...",
"title": "Overdue task",
"dueDate": "2026-01-10T17:00:00Z",
"completedAt": null,
...
}
]
}