Authentication

Authentication endpoints for customer-facing applications

JWT Token Authentication

All Customer Portal API endpoints require a valid JWT token obtained through the login endpoint. Include the token in the Authorization header as a Bearer token.

Authorization: Bearer YOUR_JWT_TOKEN
Tenant Subdomain Header

All requests must include the X-Tenant-Subdomain header to identify your organization.

X-Tenant-Subdomain: your-company

Endpoints

POST/api/customer/login

Authenticate a customer and receive a JWT token

POST/api/customer/register

Register a new customer account