TalentOS API
Github
Talent OS
  1. Tasks
  • Auth
    • Register a new organization
      POST
    • Login as organization admin
      POST
    • Login as employee
      POST
    • Change employee password
      POST
  • Employees
    • List all employees
      GET
    • Create a new employee
      POST
    • Get my profile
      GET
    • Get my productivity score
      GET
    • Get employee by ID
      GET
    • Update employee
      PUT
    • Delete employee
      DELETE
    • Get employee productivity score
      GET
  • Tasks
    • List all tasks
      GET
    • Create a new task
      POST
    • Get my tasks
      GET
    • Get task by ID
      GET
    • Update task
      PUT
    • Delete task
      DELETE
    • Update task status
      PATCH
    • Update task transaction hash
      PATCH
  • Dashboard
    • Get dashboard statistics
      GET
    • Get productivity leaderboard
      GET
    • Get recent activity
      GET
  • AI
    • AI HR assistant chat
      POST
    • Organization skill gap analysis
      GET
    • My personal skill gap analysis
      GET
    • Get daily AI insight
      GET
    • Smart task assignment recommendation
      POST
    • Extract skills from resume PDF
      POST
  • Schemas
    • CreateEmployeeRequest
    • UpdateEmployeeRequest
    • CreateTaskRequest
    • UpdateTaskRequest
    • AuthResponse
    • Employee
    • Task
Github
Talent OS
  1. Tasks

Create a new task

POST
/tasks
Creates a new task assigned to an employee. Initial status is TODO. Admin only.

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Body Params application/jsonRequired

Example
{
    "title": "Build Dashboard UI",
    "description": "Create responsive dashboard with charts and analytics",
    "employeeId": "cm5emp001",
    "priority": "HIGH",
    "deadline": "2026-03-01T00:00:00.000Z",
    "skillRequired": "React"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/tasks' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "title": "Build Dashboard UI",
    "description": "Create responsive dashboard with charts and analytics",
    "employeeId": "cm5emp001",
    "priority": "HIGH",
    "deadline": "2026-03-01T00:00:00.000Z",
    "skillRequired": "React"
}'

Responses

🟢201
application/json
Task created successfully
Body

Example
{
    "success": true,
    "data": {
        "id": "cm5task001",
        "orgId": "cm5abc123def456",
        "employeeId": "cm5emp001",
        "title": "Build Dashboard UI",
        "description": "Create responsive dashboard with charts and analytics",
        "status": "TODO",
        "priority": "HIGH",
        "deadline": "2026-03-01T00:00:00.000Z",
        "completedAt": null,
        "txHash": null,
        "skillRequired": "React",
        "createdAt": "2026-02-21T09:00:00.000Z",
        "updatedAt": "2026-02-21T09:00:00.000Z"
    },
    "message": "Task created successfully"
}
🟠404
🟠400ValidationError
Modified at 2026-02-22 18:59:05
Previous
List all tasks
Next
Get my tasks
Built with