The TaskFlow API is a REST gateway running on portDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Ajith66310/task-manager-full/llms.txt
Use this file to discover all available pages before exploring further.
5000 that routes requests to the underlying user and task microservices. Every response — success or error — follows a consistent JSON envelope, making it straightforward to handle results uniformly across all endpoints. All protected routes authenticate the caller via a JWT passed in the Authorization header; unauthenticated or unpermitted requests receive a structured error response with an appropriate HTTP status code.
Base URL
http://localhost:5000/api/auth/login).
Response envelope
Every response from the API uses the same JSON structure:| Field | Type | Always present | Description |
|---|---|---|---|
success | boolean | Yes | true for successful responses, false for errors. |
message | string | Yes | Human-readable summary of the outcome. |
data | any | No | Payload returned by the operation (object, array, etc.). |
meta | object | No | Pagination metadata (present on paginated list responses). |
Sample success response
Sample error response
Authentication
All protected routes require a JWT issued at login or signup. Pass it as a Bearer token in the request header:401. See the authentication guide for full details on obtaining and using tokens.
HTTP error codes
| Code | Meaning |
|---|---|
| 400 | Validation error — a required field is missing or has an invalid value. |
| 401 | Not authenticated — no token provided, token is invalid, or has expired. |
| 403 | Forbidden — account not verified, or insufficient role (not admin). |
| 404 | Resource not found — the requested user or task does not exist. |
| 409 | Conflict — a duplicate resource exists (for example, duplicate email). |
| 500 | Server error — an unexpected error occurred in the service. |
Explore the endpoints
Authentication guide
Understand how to obtain a JWT and pass it in the Authorization header.
Authentication endpoints
Sign up, log in, fetch the current user profile, and reset a password.
Task endpoints
Create, list, retrieve, update, and delete tasks with filters and pagination.
Admin endpoints
Manage users and tasks as an admin — verify, assign, and delete.