curl --request GET \
--url https://api.example.com/api/tasks{
"id": 123,
"title": "<string>",
"description": "<string>",
"status": "<string>",
"priority": "<string>",
"position": 123,
"projectId": 123,
"taskTypeId": 123,
"userId": 123,
"createdAt": "<string>",
"updatedAt": "<string>"
}Retrieve all tasks for the authenticated user
curl --request GET \
--url https://api.example.com/api/tasks{
"id": 123,
"title": "<string>",
"description": "<string>",
"status": "<string>",
"priority": "<string>",
"position": 123,
"projectId": 123,
"taskTypeId": 123,
"userId": 123,
"createdAt": "<string>",
"updatedAt": "<string>"
}curl -X GET https://api.dailytracker.com/api/tasks \
-H "Authorization: Bearer YOUR_TOKEN_HERE"
[
{
"id": 1,
"title": "Complete API documentation",
"description": "Write comprehensive API docs for all endpoints",
"status": "IN_PROGRESS",
"priority": "HIGH",
"position": 1,
"projectId": 5,
"taskTypeId": 2,
"userId": 123,
"createdAt": "2026-03-08T10:30:00Z",
"updatedAt": "2026-03-09T14:20:00Z"
},
{
"id": 2,
"title": "Review pull requests",
"description": "Review pending PRs from the team",
"status": "TODO",
"priority": "MEDIUM",
"position": 2,
"projectId": 5,
"taskTypeId": 1,
"userId": 123,
"createdAt": "2026-03-09T09:00:00Z",
"updatedAt": "2026-03-09T09:00:00Z"
}
]
{
"error": "Unauthorized",
"message": "Invalid or missing authentication token"
}