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.
/
Update Project
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/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>'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/projects
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X POST \
https://api.webwork-tracker.com/api/v2/projects \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspace_id": 1,
"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"
}'Response
application/json
{ "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" } }
- API 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>'Response
application/json
{ "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" } }
- API 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 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspace_id": 1,
"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"
}'Response
application/json
{ "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" } }
- API 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 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspace_id": 1
}'Response
application/json
{ "success": true, "message": "Project deleted successfully", "data": null, "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }