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/loginAuthenticate a customer and receive a JWT token
POST
/api/customer/registerRegister a new customer account