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.
WebWork Tracker REST API V2 (2.0.0)
Overview
Languages
Servers
API Server
https://api.webwork-tracker.com/api/v2/
- API Serverhttps://api.webwork-tracker.com/api/v2/timesheets
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X GET \
'https://api.webwork-tracker.com/api/v2/timesheets?workspace_id=1' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "success": true, "data": [ { … } ], "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
- API Serverhttps://api.webwork-tracker.com/api/v2/timesheets/{timesheetId}/approve
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X PUT \
https://api.webwork-tracker.com/api/v2/timesheets/a1b2c3d4-e5f6-7890-abcd-ef1234567890/approve \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspace_id": 1
}'Response
application/json
{ "success": true, "data": null, "message": "Timesheet approved successfully", "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
- API Serverhttps://api.webwork-tracker.com/api/v2/timesheets/{timesheetId}/reject
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X PUT \
https://api.webwork-tracker.com/api/v2/timesheets/a1b2c3d4-e5f6-7890-abcd-ef1234567890/reject \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspace_id": 1,
"reason": "Hours do not match project requirements"
}'Response
application/json
{ "success": true, "data": null, "message": "Timesheet rejected successfully", "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
- API Serverhttps://api.webwork-tracker.com/api/v2/timesheets/{timesheetId}/submit
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X PUT \
https://api.webwork-tracker.com/api/v2/timesheets/a1b2c3d4-e5f6-7890-abcd-ef1234567890/submit \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspace_id": 1
}'Response
application/json
{ "success": true, "data": null, "message": "Timesheet submitted successfully", "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
- API Serverhttps://api.webwork-tracker.com/api/v2/timesheets/{timesheetId}/unsubmit
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X PUT \
https://api.webwork-tracker.com/api/v2/timesheets/a1b2c3d4-e5f6-7890-abcd-ef1234567890/unsubmit \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspace_id": 1
}'Response
application/json
{ "success": true, "data": null, "message": "Timesheet unsubmitted successfully", "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }