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 availabilityThis 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.
01 / GET STARTED
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 inUse your workspace account and complete the email sign-in flow.
02Make a requestCall a documented endpoint from the same origin with your browser session.
03Handle the responseCheck status codes and show the returned error message when a request fails.
02 / ACCESS
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);
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.
Responses200 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 parametersq optional · string — Search text. Empty input returns no employees.
Responses200 Matching employees401 Request could not be completed500 Request could not be completed
POST/api/auth/sign-in
Request a sign-in link
Sends a secure sign-in link to the supplied email when sign-in and mail delivery are configured. This initiates an interactive browser sign-in; it does not issue an API key or return a session token.
Request bodyJSON with required email and optional next local path.
Responses200 Sign-in link sent400 Request could not be completed503 Request could not be completed
04 / CONTRIBUTE
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.