Skip to main content

API Endpoints

This page provides an overview of the available API endpoints, grouped by domain. For full request/response schemas, refer to the interactive API documentation.

Authentication

MethodEndpointDescription
POST/api/v1/auth/loginAuthenticate with email/password (built-in IdP).
POST/api/v1/auth/refreshRefresh an access token using a refresh token.
POST/api/v1/auth/logoutInvalidate the current refresh token.
POST/api/v1/auth/change-passwordChange the current user's password.
GET/api/v1/auth/oidc/authorizeInitiate OIDC login flow.
GET/api/v1/auth/oidc/callbackOIDC callback (handles IdP response).

Visits

MethodEndpointDescription
GET/api/v1/visitsList visits for the current site (filterable by status, date).
POST/api/v1/visitsCreate a new visit (pre-registration).
GET/api/v1/visits/:idGet visit details.
POST/api/v1/visits/:id/check-inCheck in a visitor.
POST/api/v1/visits/:id/check-outCheck out a visitor.
POST/api/v1/visits/:id/cancelCancel a pre-registered visit.
POST/api/v1/visits/validate-qrValidate a QR token (used by kiosk).

Visitors

MethodEndpointDescription
GET/api/v1/visitorsList all visitors (visitor directory).
GET/api/v1/visitors/:idGet visitor profile with visit history.
DELETE/api/v1/visitors/:idDelete a visitor and all associated data.

Documents

MethodEndpointDescription
GET/api/v1/document-templatesList document templates for the current tenant.
POST/api/v1/document-templatesCreate a new template.
GET/api/v1/document-templates/:idGet template details including versions.
POST/api/v1/document-templates/:id/versionsPublish a new version.
POST/api/v1/visits/:id/documentsSubmit signed documents (used by kiosk).
GET/api/v1/visits/:id/documents/:docId/pdfDownload the archived PDF.

Sites

MethodEndpointDescription
GET/api/v1/sitesList sites accessible to the current user.
POST/api/v1/sitesCreate a new site (Tenant-Admin only).
GET/api/v1/sites/:idGet site details.
PUT/api/v1/sites/:idUpdate site configuration.

Users

MethodEndpointDescription
GET/api/v1/usersList users in the current tenant.
POST/api/v1/usersCreate a new user (Tenant-Admin only).
GET/api/v1/users/:idGet user details.
PUT/api/v1/users/:idUpdate user (role, site assignments).
POST/api/v1/users/:id/reset-passwordReset a user's password (Tenant-Admin only).

System

MethodEndpointDescription
GET/api/v1/system/licenseGet current license status and entitlements.
GET/api/v1/system/healthHealth check endpoint (no auth required).

Kiosk

MethodEndpointDescription
GET/api/v1/kiosk/templatesGet document templates for the kiosk's site.
GET/api/v1/kiosk/siteGet site information for the kiosk's bound site.
Token types

Most endpoints require a user token type. Kiosk endpoints (/api/v1/kiosk/* and /api/v1/visits/validate-qr) accept kiosk tokens. The token type is checked before role-based authorization.