WebWork Tracker REST API V2 provides programmatic access to your workspace data, allowing you to integrate WebWork Tracker functionality into your own applications, scripts, and workflows.
The REST API V2 is a modern, RESTful API that enables you to:
- Manage Workspaces - Access and manage workspace information
- Manage Members - Invite, update, and manage team members
- Manage Projects - Create, update, and organize projects
- Manage Tasks - Create and manage tasks within projects
- Manage Time Requests - Create, approve, and reject manual time requests
- Track Time - Access time tracking data and timesheets
- Manage Leaves - Handle leave requests and balances
- Manage Expenses - Track and manage expenses
- Manage Contracts - Handle project-member assignments
All API requests should be made to:
- Production:
https://api.webwork-tracker.com/api/v2
Important: All endpoints use the /api/v2/ prefix. For example:
/api/v2/workspaces/api/v2/projects/api/v2/members
All API responses are in JSON format and follow a consistent structure:
{
"success": true,
"data": { ... },
"meta": {
"api_version": "2.0.0",
"timestamp": "2024-01-15T10:30:00Z",
"pagination": { ... }
}
}The API uses standard HTTP methods:
- GET - Retrieve resources
- POST - Create new resources
- PUT - Update existing resources
- DELETE - Remove resources
The API supports two authentication methods:
- OAuth2 - For applications requiring user authorization
- Personal Access Tokens - For simple integrations and scripts
For detailed authentication instructions, see the Authorization page.
API requests are rate-limited to ensure fair usage:
- Rate Limit: 60 requests per minute per authenticated user
- Rate limit information is included in response headers
Many endpoints support pagination for efficient data retrieval:
- page: The current page number (default: 1)
- per_page: Number of items per page (default: 20, max: 100)
- total: Total number of available records
- last_page: Total number of pages
Important: REST API V2 access is restricted to:
- Workspace Owners
- Executive Managers
Only users with these roles can access the API. If you don't have the required role, contact your workspace owner or administrator.
- Set up Authentication - Create an OAuth2 app or Personal Access Token (see Authorization)
- Explore Endpoints - Browse the available endpoints in the sidebar
- Make Your First Request - Start with the
/api/v2/workspacesendpoint to get your workspace IDs - Use Workspace IDs - Use workspace IDs in subsequent requests to access workspace-specific data
- API Documentation: Browse endpoints in the sidebar for detailed information
- Support: Contact api-support@webwork-tracker.com
- Terms of Service: https://www.webwork-tracker.com/terms-of-service