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.
/
Unassign Project from Vie...
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/project-viewers
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X GET \
'https://api.webwork-tracker.com/api/v2/project-viewers?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" } }
- Production Serverhttps://api.webwork-tracker.com/api/v2/project-viewers
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X POST \
https://api.webwork-tracker.com/api/v2/project-viewers \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspace_id": 1,
"email": "viewer@example.com",
"firstname": "John",
"lastname": "Doe"
}'Response
application/json
{ "success": true, "data": { "id": 100, "email": "viewer@example.com", "firstname": "John", "lastname": "Doe", "status": "active", "member_since": "2024-01-15T09:00:00Z", "projects": [ … ] }, "message": "Project viewer created successfully", "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
- Production Serverhttps://api.webwork-tracker.com/api/v2/project-viewers/{viewerId}
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X GET \
'https://api.webwork-tracker.com/api/v2/project-viewers/100?workspace_id=1' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
application/json
{ "success": true, "data": { "id": 100, "email": "viewer@example.com", "firstname": "John", "lastname": "Doe", "status": "active", "member_since": "2024-01-15T09:00:00Z", "projects": [ … ] }, "message": "Project viewer retrieved successfully", "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
- Production Serverhttps://api.webwork-tracker.com/api/v2/project-viewers/{viewerId}
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X DELETE \
https://api.webwork-tracker.com/api/v2/project-viewers/100 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspace_id": 1
}'Response
application/json
{ "success": true, "data": null, "message": "Project viewer deleted successfully", "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
- Production Serverhttps://api.webwork-tracker.com/api/v2/project-viewers/{viewerId}/restore
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X POST \
https://api.webwork-tracker.com/api/v2/project-viewers/100/restore \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspace_id": 1
}'Response
application/json
{ "success": true, "data": null, "message": "Project viewer restored successfully", "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
- Production Serverhttps://api.webwork-tracker.com/api/v2/project-viewers/{viewerId}/assign-project
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X POST \
https://api.webwork-tracker.com/api/v2/project-viewers/100/assign-project \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspace_id": 1,
"project_id": 100
}'Response
application/json
{ "success": true, "data": null, "message": "Project assigned to viewer successfully", "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }
- Production Serverhttps://api.webwork-tracker.com/api/v2/project-viewers/{viewerId}/unassign-project
- cURL
- JS
- Python
- PHP
- Go
- Java 8
- C#
- C++
curl -i -X DELETE \
https://api.webwork-tracker.com/api/v2/project-viewers/100/unassign-project \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"workspace_id": 1,
"project_id": 100
}'Response
application/json
{ "success": true, "data": null, "message": "Project unassigned from viewer successfully", "meta": { "api_version": "2.0.0", "timestamp": "2019-08-24T14:15:22Z" } }