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 transaction hash

PATCH
/tasks/{id}/txhash
Stores a Web3 transaction hash for blockchain verification of task completion.
Both admins and employees can use this endpoint.
Ownership rule: Employees can only update their own tasks.

Request

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

Body Params application/jsonRequired

Example
{
    "txHash": "0x8a4c1e2f3b5d6c7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d"
}

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/txhash' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "txHash": "0x8a4c1e2f3b5d6c7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d"
}'

Responses

🟢200
application/json
Transaction hash saved
Body

Example
{
    "success": true,
    "data": {
        "id": "cm5task001",
        "title": "Build Dashboard UI",
        "status": "COMPLETED",
        "txHash": "0x8a4c1e2f3b5d6c7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d"
    },
    "message": "Task verification hash updated successfully"
}
🟠403
🟠404NotFound
Modified at 2026-02-22 18:59:05
Previous
Update task status
Next
Get dashboard statistics
Built with