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/
- Production Serverhttps://api.webwork-tracker.com/api/v2/expenses
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X GET \
'https://api.webwork-tracker.com/api/v2/expenses?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" } }
Bodyapplication/jsonrequired
UUID of the expense category
Example: "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
- Production Serverhttps://api.webwork-tracker.com/api/v2/expenses
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X POST \
https://api.webwork-tracker.com/api/v2/expenses \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspace_id": 1,
"expense_name": "Office Supplies",
"date": "2024-01-15",
"amount": 150.5,
"category_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"project_id": 100,
"note": "Purchased office supplies for Q1",
"is_billable": true
}'Response
application/json
{ "success": true, "data": { "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "member": "John Doe", "expense_date": "Jan 15, 2024", "expense_name": "Office Supplies", "project": "Marketing Campaign Q1", "category": "Office Supplies", "amount": 150.5, "note": "Purchased office supplies for Q1", "type": "billable", "added_dte": "Jan 15, 2024" }, "message": "Expense created successfully", "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
- Production Serverhttps://api.webwork-tracker.com/api/v2/expenses/{expenseId}
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X PUT \
https://api.webwork-tracker.com/api/v2/expenses/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"expense_name": "Office Supplies Updated",
"date": "2024-01-15",
"amount": 200,
"category_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"project_id": 100,
"note": "Updated expense details",
"is_billable": true
}'Response
application/json
{ "success": true, "data": null, "message": "Expense updated successfully", "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
- Production Serverhttps://api.webwork-tracker.com/api/v2/expenses/{expenseId}
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X DELETE \
https://api.webwork-tracker.com/api/v2/expenses/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspace_id": 1
}'Response
application/json
{ "success": true, "data": null, "message": "Expense deleted successfully", "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
- Production Serverhttps://api.webwork-tracker.com/api/v2/expenses/categories
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X GET \
'https://api.webwork-tracker.com/api/v2/expenses/categories?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" } }