Modern REST API for WebWork Time Tracker with OAuth2 authentication. This API provides access to workspaces, members, projects, and time tracking features.
- Delete (Archive) Project
WebWork Time Tracker API V2 Documentation (2.0.0)
Request
Retrieve all projects in your workspace. Projects are automatically filtered based on your role and permissions. Role-based access: Owners and Executive Managers see all projects; Project Managers and Project Viewers see only managed projects; Team Managers see projects from managed teams; Regular Users see only projects they are assigned to. You can apply additional filters to narrow down results.
- Production Serverhttps://api.webwork-tracker.com/api/v2/projects
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X GET \
'https://api.webwork-tracker.com/api/v2/projects?workspace_id=1' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "success": true, "data": [ { … } ], "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
Request
Create a new project in your workspace. This endpoint is only accessible to Owners and Executive Managers.
- Production Serverhttps://api.webwork-tracker.com/api/v2/projects
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X POST \
'https://api.webwork-tracker.com/api/v2/projects?workspace_id=1' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Marketing Campaign Q1",
"start_date": "2024-01-15",
"deadline": "2024-03-31",
"estimation": 120,
"budget": 5000,
"notes": "Focus on social media channels",
"icon": "project-icon-1"
}'{ "success": true, "message": "Project created successfully", "data": { "id": 100, "name": "Marketing Campaign Q1", "owner_id": 10, "start_date": "2024-01-15", "deadline": "2024-03-31", "estimation": 120, "budget_estimation": 5000, "notes": "Focus on social media channels", "icon": "project-icon-1", "is_billable": true, "rate": 0, "weekly_hours_limit": 168, "screenshots": "blur", "tags": [ … ], "contracts_count": 3, "status": 1, "created_at": "2024-01-15T09:00:00Z", "updated_at": "2024-01-15T09:00:00Z", "deleted_at": null }, "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
- Production Serverhttps://api.webwork-tracker.com/api/v2/projects/{projectId}
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X GET \
'https://api.webwork-tracker.com/api/v2/projects/100?workspace_id=1' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "success": true, "message": "Project retrieved successfully", "data": { "id": 100, "name": "Marketing Campaign Q1", "owner_id": 10, "start_date": "2024-01-15", "deadline": "2024-03-31", "estimation": 120, "budget_estimation": 5000, "notes": "Focus on social media channels", "icon": "project-icon-1", "is_billable": true, "rate": 0, "weekly_hours_limit": 168, "screenshots": "blur", "tags": [ … ], "contracts_count": 3, "status": 1, "created_at": "2024-01-15T09:00:00Z", "updated_at": "2024-01-15T09:00:00Z", "deleted_at": null }, "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
Request
Update an existing project in your workspace. This endpoint is only accessible to Owners and Executive Managers.
- Production Serverhttps://api.webwork-tracker.com/api/v2/projects/{projectId}
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X PUT \
'https://api.webwork-tracker.com/api/v2/projects/100?workspace_id=1' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Marketing Campaign Q1 Updated",
"start_date": "2024-01-15",
"deadline": "2024-04-30",
"estimation": 150,
"budget": 6000,
"notes": "Updated focus areas",
"icon": "project-icon-2"
}'{ "success": true, "message": "Project updated successfully", "data": { "id": 100, "name": "Marketing Campaign Q1", "owner_id": 10, "start_date": "2024-01-15", "deadline": "2024-03-31", "estimation": 120, "budget_estimation": 5000, "notes": "Focus on social media channels", "icon": "project-icon-1", "is_billable": true, "rate": 0, "weekly_hours_limit": 168, "screenshots": "blur", "tags": [ … ], "contracts_count": 3, "status": 1, "created_at": "2024-01-15T09:00:00Z", "updated_at": "2024-01-15T09:00:00Z", "deleted_at": null }, "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
- Production Serverhttps://api.webwork-tracker.com/api/v2/projects/{projectId}
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X DELETE \
'https://api.webwork-tracker.com/api/v2/projects/100?workspace_id=1' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "success": true, "message": "Project deleted successfully", "data": null, "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
Manage contracts (project-member assignments) within workspaces. Contracts define which members are assigned to which projects, with settings for rates, hours limits, and screenshot modes. Rate information is only visible if you have permission to view rates and the project is billable.