Developer reference
Every endpoint in the PolicyTrak REST API, with its method and purpose — 84 operations across 60 paths. For request and response schemas, parameters and live examples, the interactive API reference is the canonical source.
Specification
OpenAPI 3.0.3
OpenAPI definition
https://app.policytrak.com/api/openapi.json
Endpoints
84 operations across 60 paths, in 20 areas
Authentication
Session sign-in, HMAC-SHA256 request signing, or an API key header — depending on the endpoint
This reference reflects the PolicyTrak API definition as published on 15 October 2026. The interactive reference is generated from the live specification and is authoritative wherever the two differ.
Endpoints
Authentication 7 operations
| Method |
Path |
Purpose |
| POST |
/api/auth/login |
Log in with email and password; the session cookie is set on success |
| POST |
/api/auth/start |
Start one-time-code login by sending a verification code to an email address |
| POST |
/api/auth/verify |
Verify the one-time code and complete login |
| POST |
/api/auth/logout |
Log out and clear the session |
| POST |
/api/auth/register |
Register a new account |
| POST |
/api/auth/forgot-password |
Request a password reset email |
| POST |
/api/auth/reset-password |
Reset a password using a verified reset code |
Session and organizations 6 operations
| Method |
Path |
Purpose |
| GET |
/api/me |
The currently authenticated user |
| GET |
/api/tenants |
Organizations the current user belongs to |
| POST |
/api/tenants |
Create an organization |
| GET |
/api/tenants/current |
The active organization for this session |
| PATCH |
/api/tenants/settings |
Update organization settings, including name, timezone and business type (Admin) |
| POST |
/api/tenants/{id}/switch |
Switch the active organization |
Policies 5 operations
| Method |
Path |
Purpose |
| GET |
/api/policies |
List policies, searchable and filterable by category and published state |
| POST |
/api/policies |
Create a policy (Admin or Manager) |
| GET |
/api/policies/{id} |
Get a policy, including its content and version |
| PATCH |
/api/policies/{id} |
Update a policy, including publishing it |
| DELETE |
/api/policies/{id} |
Delete a policy |
SOPs 5 operations
| Method |
Path |
Purpose |
| GET |
/api/sop |
List standard operating procedures, searchable and filterable |
| POST |
/api/sop |
Create an SOP |
| GET |
/api/sop/{id} |
Get an SOP, including its content and version |
| PATCH |
/api/sop/{id} |
Update an SOP, including publishing it |
| DELETE |
/api/sop/{id} |
Delete an SOP |
Locations 7 operations
| Method |
Path |
Purpose |
| GET |
/api/locations |
List locations, searchable and filterable by state |
| POST |
/api/locations |
Create a location |
| GET |
/api/locations/{id} |
Get a location |
| PATCH |
/api/locations/{id} |
Update a location |
| DELETE |
/api/locations/{id} |
Delete a location |
| GET |
/api/locations/{id}/resources |
Resources assigned to a location |
| GET |
/api/locations/{id}/acknowledgment-summary |
Policy and SOP completion percentages for one location |
Members and portal employees 6 operations
| Method |
Path |
Purpose |
| GET |
/api/members |
Members of the active organization, with roles |
| GET |
/api/portal-employees |
List portal employees, filterable by location and active state (Admin) |
| POST |
/api/portal-employees |
Create a portal employee (Admin) |
| GET |
/api/portal-employees/{id} |
Get a portal employee |
| PATCH |
/api/portal-employees/{id} |
Update a portal employee, including location assignments |
| DELETE |
/api/portal-employees/{id} |
Delete a portal employee |
Acknowledgments 6 operations
| Method |
Path |
Purpose |
| POST |
/api/acknowledgments |
Record an acknowledgment, with an optional signature |
| GET |
/api/acknowledgments/{documentType}/{documentId} |
Acknowledgments for one policy or SOP |
| GET |
/api/acknowledgments/my |
The current user acknowledgment history |
| GET |
/api/acknowledgments/matrix |
Compliance matrix, filterable by location and document type |
| GET |
/api/acknowledgments/token/{token} |
View a document for acknowledgment via token (public) |
| POST |
/api/acknowledgments/token/{token} |
Submit an acknowledgment via token (public) |
Resource library 6 operations
| Method |
Path |
Purpose |
| GET |
/api/resources |
List resources, filterable by type — video link, document or external link |
| POST |
/api/resources |
Create a resource (Admin) |
| GET |
/api/resources/{id} |
Get a resource |
| PATCH |
/api/resources/{id} |
Update a resource (Admin) |
| DELETE |
/api/resources/{id} |
Delete a resource (Admin) |
| POST |
/api/resources/{id}/assign |
Assign a resource to a location (Admin) |
Law events 3 operations
| Method |
Path |
Purpose |
| POST |
/api/law-events |
Create a regulatory law event, with jurisdiction and effective date |
| GET |
/api/law-events/{id}/locations |
Locations associated with a law event |
| POST |
/api/law-events/{id}/associate-locations |
Associate locations with a law event |
Compliance monitoring 2 operations
| Method |
Path |
Purpose |
| GET |
/api/compliance-checks |
List compliance checks |
| GET |
/api/monitors |
List compliance monitors |
Audit logs, reports and search 4 operations
| Method |
Path |
Purpose |
| GET |
/api/audit-logs |
Immutable audit trail, paginated and filterable by resource type, user and date range (Admin) |
| GET |
/api/reports |
List saved reports |
| GET |
/api/dashboard |
Dashboard overview metrics |
| GET |
/api/search |
Full-text search across policies, SOPs, locations and employees |
Notifications 2 operations
| Method |
Path |
Purpose |
| GET |
/api/notifications |
Notifications for the active organization |
| GET |
/api/user-notifications |
The current user personal notifications |
Webhooks and integrations 3 operations
| Method |
Path |
Purpose |
| GET |
/api/webhooks |
List configured outbound webhooks (Admin) |
| POST |
/api/webhooks |
Create an outbound webhook for the events you select (Admin) |
| GET |
/api/external-apps/integrations |
List third-party integrations and their last sync time |
SmartShifts integration 11 operations
| Method |
Path |
Purpose |
| POST |
/api/smartshifts/admin/configure |
Create or update integration settings (Admin) |
| POST |
/api/smartshifts/admin/sync |
Manually sync employees, returning added, updated and deactivated counts (Admin) |
| GET |
/api/smartshifts/admin/employees |
Synced employees with acknowledgment counts (Admin) |
| POST |
/api/smartshifts/admin/send-acknowledgements |
Generate token-based e-sign requests for all active employees (Admin) |
| GET |
/api/smartshifts/admin/activity/{integrationId} |
Activity log of syncs, webhooks and sends (Admin) |
| POST |
/api/smartshifts/webhooks/{integrationId} |
Receive an inbound employee event, signed with HMAC-SHA256 and timestamp-checked |
| GET |
/api/smartshifts/employees |
Polling: synced employees with match status (API key) |
| GET |
/api/smartshifts/employees/{externalId}/pending |
Polling: pending acknowledgment requests for one employee (API key) |
| GET |
/api/smartshifts/employees/{externalId}/resources |
Polling: policies, SOPs and resources available to one employee (API key) |
| GET |
/api/smartshifts/acknowledge/{token} |
View a document for e-signing via deep-link token (public) |
| POST |
/api/smartshifts/acknowledge/{token} |
Submit an e-signature via deep-link token (public) |
External API v1 11 operations · machine-to-machine
| Method |
Path |
Purpose |
| GET |
/api/v1/external/locations |
List locations |
| POST |
/api/v1/external/locations |
Create a location |
| GET |
/api/v1/external/locations/{locationId} |
Get a location |
| PATCH |
/api/v1/external/locations/{locationId} |
Update a location |
| DELETE |
/api/v1/external/locations/{locationId} |
Delete a location |
| GET |
/api/v1/external/policies |
List policies |
| POST |
/api/v1/external/policies |
Create a policy |
| GET |
/api/v1/external/sops |
List SOPs |
| POST |
/api/v1/external/sops |
Create an SOP |
| GET |
/api/v1/external/employees |
List portal employees |
| GET |
/api/v1/external/modules |
List field modules and tabs |
Authentication
Which method applies depends on the endpoint.
- Session — most endpoints. A session is obtained through
/api/auth/login or the emailed one-time code at /api/auth/verify, and the session cookie is set automatically.
- HMAC-SHA256 signing — the machine-to-machine endpoints under
/api/v1/external/. Each request carries X-API-Key, X-Timestamp in Unix milliseconds, and X-Signature, a signature computed over the method, path and timestamp.
- API key header — the SmartShifts polling endpoints, which send
X-API-Key.
Inbound SmartShifts webhooks are verified separately: they carry an X-SmartShifts-Signature HMAC-SHA256 digest over the raw body, and a timestamp that must fall within five minutes of server time.
Pagination
The audit log endpoint is paginated, taking page and limit with a default of 50 entries and a maximum of 200, and returns the matching total alongside the current page. Other list endpoints take their own filters rather than a shared pagination scheme; the interactive reference documents the parameters for each one.
Related