Authentication API
Sign Up
Create a new user account and tenant
POST
Create a new user account and automatically provision a tenant.
Request Body
User email address (must be unique)
Password (min 12 characters, must include uppercase, lowercase, number, and special character)
Name for the new tenant organization
Response
JWT access token (valid for 15 minutes)
JWT refresh token (valid for 7 days)
Access token expiration time in seconds
User object with id, email, and verification status
Tenant object with id, name, slug, and status
Errors
Invalid request (duplicate email, weak password, etc.)
Rate limit exceeded
Notes
- Email verification is required before full access
- Tenant status will be
pending_setupuntil onboarding is completed - See Verify Email for next steps