Skip to content
PerformaPeople / Developers

PERFORMAPEOPLE DEVELOPERS · EARLY REFERENCE

Build with context.

Explore the workspace endpoints behind PerformaPeople, understand how access works, and take the OpenAPI reference with you.

● ● ● REQUEST EXAMPLE
GET /api/workspace/roster?q=alex

Same-origin request · signed-in session

Current availability

This is a partial reference for existing application routes. These routes are not yet a versioned public integration API. API keys and service-to-service authentication are not currently available. The specification describes session authentication in prose and cannot configure it for generated clients.

Start with your workspace

Use a signed-in PerformaPeople browser session on the same deployment. Workspace data is scoped to the session’s organization and permissions. Access and returned data can vary by role.

01Sign in

Use your workspace account and complete the email sign-in flow.

02Make a request

Call a documented endpoint from the same origin with your browser session.

03Handle the response

Check status codes and show the returned error message when a request fails.

Authentication & access

Workspace requests use the Supabase-managed session cookies established by interactive sign-in. The browser sends them on same-origin requests; cookie names are managed by Supabase and may change. Do not share or hard-code session cookies.

Workspace routes enforce their own role and tenant rules. A successful sign-in does not grant access to every route or employee. Platform preview and impersonation can change the context returned by the application.

JAVASCRIPT · SAME ORIGIN
const response = await fetch("/api/workspace/roster?q=alex");
const data = await response.json();
if (!response.ok) throw new Error(data.error);
console.log(data.employees);

API reference

View OpenAPI JSON ↗

Selected endpoints · OpenAPI 3.0.3 · Reference version 0.1.0

Each operation below is sourced from the downloadable specification. Other application routes are not yet covered by this reference.

GET/api/workspace/context

Get the current workspace context

Returns the signed-in viewer and organization. Platform administrators in preview or impersonation mode may receive additional context. The session determines the organization; callers cannot select one through this endpoint.

Responses
200 Workspace context401 Request could not be completed404 Request could not be completed409 Request could not be completed503 Request could not be completed
GET/api/workspace/roster

Search the active team roster

Searches active employees by name, title, or department and returns at most eight matches. Managers are limited to their primary direct reports. An empty search returns an empty list. Some empty manager results omit role.

Query parameters

q optional · string — Search text. Empty input returns no employees.

Responses
200 Matching employees401 Request could not be completed500 Request could not be completed

Extend the reference

The OpenAPI document is the source for the operation list above. As endpoints are documented, verify their request and response shapes, authentication, and role restrictions against the route implementation before adding them to the specification.

Questions about access or an integration? Contact support.