POST /api/auth/register
Creates a new user account and automatically activates a 14-day Solo trial. Returns a JWT token for immediate API access.Request
Valid email address. Must be unique across the platform.
Display name for the user. 1—100 characters.
Account password. Must be 8—128 characters.
Response
- 201 Created
- 400 Validation Error
Trial Activation
Every new account automatically receives a 14-day Solo trial that includes:- Up to 3 machines
- Full scan, guard, chat, and report capabilities
- Basic AI analysis
After the trial expires, the account reverts to the Community tier (1 machine, scan + Layer 1 guard only). Upgrade at any time from the CLI with
panguard upgrade or from the web dashboard.Security: Duplicate Email Handling
This means:- Attackers cannot probe the API to discover which emails have accounts
- The original account remains unaffected
- A “password reset” email is silently sent to the existing account holder
Validation Rules
| Field | Rule |
|---|---|
email | Must be a valid email format |
name | 1—100 characters, trimmed |
password | 8—128 characters, no other restrictions |