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
Production Server
https://api.webwork-tracker.com/api/v2/
Request
Start time tracking (clock in) for a user. Workspace owners and executive managers can start tracking for any member in their workspace. Regular users can only start tracking for themselves. If the user already has an active tracker, the request will be rejected. The system will forward the tracking request to the background service.
Security
oauth2 or apiKey
ID of the user to start tracking for. Regular users can only track for themselves. Owners and executive managers can track for any workspace member.
Example: 100
ID of the contract (project-member assignment). Must belong to the user and workspace.
Example: 560314
- Production Serverhttps://api.webwork-tracker.com/api/v2/time-tracking/start
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X POST \
https://api.webwork-tracker.com/api/v2/time-tracking/start \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspace_id": 1,
"user_id": 100,
"contract_id": 560314,
"task_id": 12345,
"activity_description": "Working on API documentation"
}'Response
application/json
{ "success": true, "message": "Time tracking started successfully", "data": { "message": "Time tracking started successfully", "start_time": "2024-01-15T10:30:00Z", "contract_id": 560314, "project_id": 285469, "task_id": 12345 }, "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
- Production Serverhttps://api.webwork-tracker.com/api/v2/time-tracking/stop
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X POST \
https://api.webwork-tracker.com/api/v2/time-tracking/stop \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "success": true, "message": "Time tracking stopped successfully", "data": { "message": "Time tracking stopped successfully", "stopped_at": "2024-01-15T18:30:00Z" }, "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }