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.
- List All Webhooks
WebWork Tracker REST API V2 (2.0.0)
Request
Retrieve all webhooks in your workspace. By default, results are paginated with 50 rows per page. Use this resource to manage and administer your webhooks. With this resource, you can register callback URLs to receive real-time event notifications from our platform. Once registered, you'll automatically receive notifications whenever new events occur—such as data updates, member actions, or system alerts.
- Production Serverhttps://api.webwork-tracker.com/api/v2/webhooks
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X GET \
'https://api.webwork-tracker.com/api/v2/webhooks?workspace_id=1' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "max_rows": 50, "current_page": 1, "total_pages": 3, "data": [ { … } ] }
Request
Create a new webhook by registering a callback URL and specifying which events to listen for. You can create a new webhook using POST method and adding all necessary parameters to request body. Include one of the following content types in your request header: Content-Type: application/x-www-form-urlencoded or application/json
- application/json
- application/x-www-form-urlencoded
The callback URL where webhook events will be sent
- Production Serverhttps://api.webwork-tracker.com/api/v2/webhooks
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X POST \
https://api.webwork-tracker.com/api/v2/webhooks \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspace_id": 1,
"url": "https://example.com/webhook/endpoint",
"events": [
"tracker.started",
"tracker.stopped"
]
}'{ "success": true, "data": { "id": "abc123def456", "url": "https://example.com/webhook/endpoint", "events": [ … ], "token": "whsec_1234567890abcdef" } }
- Production Serverhttps://api.webwork-tracker.com/api/v2/webhooks/{webhookId}
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X GET \
'https://api.webwork-tracker.com/api/v2/webhooks/abc123def456?workspace_id=1' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "success": true, "data": { "id": "abc123def456", "url": "https://example.com/webhook/endpoint", "events": [ … ], "token": "whsec_1234567890abcdef" } }
Request
Update an existing webhook. To update a webhook, you should send a request to the same URL using PUT method and adding a webhook_id at the end of it. Include one of the following content types in your request header: Content-Type: application/x-www-form-urlencoded or application/json
- application/json
- application/x-www-form-urlencoded
The callback URL where webhook events will be sent
- Production Serverhttps://api.webwork-tracker.com/api/v2/webhooks/{webhookId}
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X PUT \
https://api.webwork-tracker.com/api/v2/webhooks/abc123def456 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspace_id": 1,
"url": "https://example.com/webhook/endpoint",
"events": [
"tracker.started",
"tracker.stopped"
]
}'{ "success": true }
- Production Serverhttps://api.webwork-tracker.com/api/v2/webhooks/{webhookId}
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X DELETE \
https://api.webwork-tracker.com/api/v2/webhooks/abc123def456 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspace_id": 1
}'{ "success": true }