WebWork Tracker REST API V2 provides programmatic access to your workspace data. This API allows you to manage members, projects, tasks, time tracking, leaves, and expenses. Access is restricted to workspace owners and executive managers only.
/
Unassign Task from User
WebWork Tracker REST API V2 (2.0.0)
Overview
Languages
Servers
Production Server
https://api.webwork-tracker.com/api/v2/
- Production Serverhttps://api.webwork-tracker.com/api/v2/tasks
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X GET \
'https://api.webwork-tracker.com/api/v2/tasks?workspace_id=1&project_id=100' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "success": true, "data": [ { … } ], "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
Bodyapplication/jsonrequired
Task description
Example: "Add OAuth2 authentication support"
Task status: 0 = Incomplete, 10 = Doing, 20 = Done, 30 = Completed
Default 0
Enum0102030
Example: 0
Task priority: 10 = Urgent, 20 = High, 30 = Normal, 40 = Low
Default 30
Enum10203040
Example: 30
Task end date (must be after or equal to start_date)
Example: "2024-01-30"
- Production Serverhttps://api.webwork-tracker.com/api/v2/tasks
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X POST \
https://api.webwork-tracker.com/api/v2/tasks \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspace_id": 1,
"project_id": 100,
"title": "Implement user authentication",
"description": "Add OAuth2 authentication support",
"status": 0,
"priority": 30,
"start_date": "2024-01-15",
"end_date": "2024-01-30",
"assignees": [
100,
101
]
}'Response
application/json
{ "success": true, "data": { "id": 500, "title": "Implement user authentication", "description": "Add OAuth2 authentication support", "project_id": 100, "owner_id": 10, "creator_id": 100, "status": 0, "priority": 30, "start_date": "2024-01-15", "end_date": "2024-01-30", "completed_at": "2024-01-30T10:00:00Z", "assignees": [ … ], "has_details": false, "created_at": "2024-01-15T09:00:00Z", "updated_at": "2024-01-20T14:30:00Z", "deleted_at": null }, "message": "Task created successfully", "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
- Production Serverhttps://api.webwork-tracker.com/api/v2/tasks/{taskId}
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X GET \
'https://api.webwork-tracker.com/api/v2/tasks/500?workspace_id=1&project_id=100' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "success": true, "data": { "id": 500, "title": "Implement user authentication", "description": "Add OAuth2 authentication support", "project_id": 100, "owner_id": 10, "creator_id": 100, "status": 0, "priority": 30, "start_date": "2024-01-15", "end_date": "2024-01-30", "completed_at": "2024-01-30T10:00:00Z", "assignees": [ … ], "has_details": false, "created_at": "2024-01-15T09:00:00Z", "updated_at": "2024-01-20T14:30:00Z", "deleted_at": null }, "message": "Task retrieved successfully", "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
Bodyapplication/jsonrequired
Task description
Example: "Add OAuth2 authentication support"
Task status: 0 = Incomplete, 10 = Doing, 20 = Done, 30 = Completed
Enum0102030
Example: 10
Task priority: 10 = Urgent, 20 = High, 30 = Normal, 40 = Low
Enum10203040
Example: 20
- Production Serverhttps://api.webwork-tracker.com/api/v2/tasks/{taskId}
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X PUT \
https://api.webwork-tracker.com/api/v2/tasks/500 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspace_id": 1,
"project_id": 100,
"title": "Implement user authentication",
"description": "Add OAuth2 authentication support",
"status": 10,
"priority": 20,
"start_date": "2024-01-15",
"end_date": "2024-01-30"
}'Response
application/json
{ "success": true, "data": { "id": 500, "title": "Implement user authentication", "description": "Add OAuth2 authentication support", "project_id": 100, "owner_id": 10, "creator_id": 100, "status": 0, "priority": 30, "start_date": "2024-01-15", "end_date": "2024-01-30", "completed_at": "2024-01-30T10:00:00Z", "assignees": [ … ], "has_details": false, "created_at": "2024-01-15T09:00:00Z", "updated_at": "2024-01-20T14:30:00Z", "deleted_at": null }, "message": "Task updated successfully", "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
- Production Serverhttps://api.webwork-tracker.com/api/v2/tasks/{taskId}
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X DELETE \
https://api.webwork-tracker.com/api/v2/tasks/500 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspace_id": 1,
"project_id": 100
}'Response
application/json
{ "success": true, "data": null, "message": "Task deleted successfully", "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
- Production Serverhttps://api.webwork-tracker.com/api/v2/tasks/{taskId}/assignees
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X GET \
'https://api.webwork-tracker.com/api/v2/tasks/500/assignees?workspace_id=1&project_id=100' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "success": true, "data": [ { … } ], "message": "Task assignees retrieved successfully", "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
- Production Serverhttps://api.webwork-tracker.com/api/v2/tasks/{taskId}/assign/{userId}
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X POST \
https://api.webwork-tracker.com/api/v2/tasks/500/assign/100 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspace_id": 1,
"project_id": 100
}'Response
application/json
{ "success": true, "data": { "id": 100, "firstname": "John", "lastname": "Doe", "email": "john.doe@example.com", "user_id": 100, "task_id": 500, "assigner_id": 101 }, "message": "Task assigned successfully", "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
- Production Serverhttps://api.webwork-tracker.com/api/v2/tasks/{taskId}/unassign/{userId}
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X DELETE \
https://api.webwork-tracker.com/api/v2/tasks/500/unassign/100 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspace_id": 1,
"project_id": 100
}'Response
application/json
{ "success": true, "data": null, "message": "Task unassigned successfully", "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }