Modern REST API for WebWork Time Tracker with OAuth2 authentication. This API provides access to workspaces, members, projects, and time tracking features.
WebWork Time Tracker API V2 Documentation (2.0.0)
Request
Retrieve all team members in your workspace. Members are automatically filtered based on your role and permissions. You can apply additional filters to narrow down results. Rate and financial information is only visible if you have permission to view rates. Security: Only members of the specified workspace can access its member list.
- Production Serverhttps://api.webwork-tracker.com/api/v2/members
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X GET \
'https://api.webwork-tracker.com/api/v2/members?workspace_id=1' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "success": true, "data": [ { … } ], "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z", "pagination": { … } } }
Request
Invite a new member to your workspace. This endpoint is only accessible to Owners and Executive Managers. An invitation email will be sent to the provided email address.
- Production Serverhttps://api.webwork-tracker.com/api/v2/members
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X POST \
'https://api.webwork-tracker.com/api/v2/members?workspace_id=1' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"email": "john.doe@example.com",
"firstname": "John",
"lastname": "Doe",
"role": "Regular User"
}'{ "success": true, "message": "Member invited successfully", "data": { "user_id": 100, "invitation_link": "https://app.webwork-tracker.com/dashboard/accept-invitation/abc123def456" }, "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
- Production Serverhttps://api.webwork-tracker.com/api/v2/members/{memberId}
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X GET \
'https://api.webwork-tracker.com/api/v2/members/100?workspace_id=1' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "success": true, "message": "Member retrieved successfully", "data": { "id": 100, "email": "john.doe@example.com", "firstname": "John", "lastname": "Doe", "avatar": "avatar.jpg", "current_role": "Regular User", "timezone": "America/New_York", "status": "active", "team_name": "Development Team", "title": "Senior Developer, Manager", "birth_date": "1990-01-01", "hired_at": "2023-01-15T09:00:00Z", "preferred_timezone": "America/New_York", "settings_max_inactive_minutes": 15, "currency": "USD", "rate": 50, "rate_type": "Hourly", "rate_status": 1, "tax_country": "US", "tax_state": "NY", "is_blocked": false, "weekly_hours_limit": 40, "screenshots": "blur", "created_at": "2023-01-15T09:00:00Z", "updated_at": "2023-01-15T09:00:00Z", "deleted_at": null }, "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
Request
Update member information. This endpoint is only accessible to Owners and Executive Managers. You can update profile information, role, rate settings, and other member attributes. Security: You must be a member of the workspace AND have Owner/Executive Manager role. You can only update members within workspaces you have access to.
Role
- Production Serverhttps://api.webwork-tracker.com/api/v2/members/{memberId}
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X PUT \
'https://api.webwork-tracker.com/api/v2/members/100?workspace_id=1' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"email": "john.doe@example.com",
"firstname": "John",
"lastname": "Doe",
"timezone": "America/New_York",
"role": "Regular User",
"rate_status": 1,
"weekly_hours_limit": 40,
"remove_avatar": 0
}'{ "success": true, "message": "Member updated successfully", "data": null, "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
- Production Serverhttps://api.webwork-tracker.com/api/v2/members/{memberId}
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X DELETE \
'https://api.webwork-tracker.com/api/v2/members/100?workspace_id=1' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "success": true, "message": "Member deleted successfully", "data": null, "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
- Production Serverhttps://api.webwork-tracker.com/api/v2/members/{memberId}/restore
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X POST \
'https://api.webwork-tracker.com/api/v2/members/100/restore?workspace_id=1' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "success": true, "message": "Member restored 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.