# Get All Project Viewers Retrieve all project viewers in your workspace. Project viewers are users with read-only access to specific projects. You can filter by email to find a specific viewer. Endpoint: GET /project-viewers Version: 2.0.0 Security: oauth2, apiKey ## Query parameters: - `workspace_id` (integer, required) ID of the workspace Example: 1 - `email` (string) Filter project viewers by email address Example: "viewer@example.com" - `page` (integer) Page number for pagination Example: 1 - `per_page` (integer) Number of items per page (max 100) Example: 20 ## Response 200 fields (application/json): - `success` (boolean) Example: true - `data` (array) - `data.id` (integer, required) Unique identifier for the project viewer (user_id) Example: 100 - `data.email` (string, required) Email address of the project viewer Example: "viewer@example.com" - `data.firstname` (string, required) First name of the project viewer Example: "John" - `data.lastname` (string, required) Last name of the project viewer Example: "Doe" - `data.status` (string,null) Status of the project viewer Enum: "active", "inactive", "left" - `data.member_since` (string,null) Timestamp when project viewer was added to workspace Example: "2024-01-15T09:00:00Z" - `data.projects` (array) List of projects assigned to this viewer - `data.projects.project_id` (integer) ID of the project Example: 100 - `data.projects.project_name` (string) Name of the project Example: "Marketing Campaign Q1" - `meta` (object) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string) ## Response 400 fields (application/json): - `success` (boolean, required) - `message` (string, required) Error message describing what went wrong Example: "An error occurred" - `error` (string,null) Optional additional error details Example: "Internal Server Error" - `meta` (object, required) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string) ## Response 401 fields (application/json): - `success` (boolean, required) - `message` (string, required) Error message describing what went wrong Example: "An error occurred" - `error` (string,null) Optional additional error details Example: "Internal Server Error" - `meta` (object, required) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string) ## Response 403 fields (application/json): - `success` (boolean, required) - `message` (string, required) Error message describing what went wrong Example: "An error occurred" - `error` (string,null) Optional additional error details Example: "Internal Server Error" - `meta` (object, required) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string) ## Response 500 fields (application/json): - `success` (boolean, required) - `message` (string, required) Error message describing what went wrong Example: "An error occurred" - `error` (string,null) Optional additional error details Example: "Internal Server Error" - `meta` (object, required) - `meta.api_version` (string) Example: "2.0.0" - `meta.timestamp` (string)