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

Update task status

PATCH
/tasks/{id}/status
Updates a task's status. Both admins and employees can use this endpoint.
Ownership rule: Employees can only update their own tasks. Admins can update any task.
When status changes to COMPLETED, completedAt is automatically set.
When status changes away from COMPLETED, completedAt is cleared.

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Path Params

Body Params application/jsonRequired

Example
{
    "status": "COMPLETED"
}

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 PATCH '/tasks/cm5task001/status' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "status": "COMPLETED"
}'

Responses

🟢200
application/json
Status updated
Body

Example
{
    "success": true,
    "data": {
        "id": "cm5task001",
        "title": "Build Dashboard UI",
        "status": "COMPLETED",
        "completedAt": "2026-02-25T16:30:00.000Z"
    },
    "message": "Task status updated successfully"
}
🟠403
🟠404NotFound
Modified at 2026-02-22 18:59:05
Previous
Delete task
Next
Update task transaction hash
Built with