Create User Account
Register a new user account with username, email, password, and optional captcha, SSH key, and promo code.
Authorizations
API key must be provided in the Authorization header
Body
User's email address
64^(?!.*@vast)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$"user@example.com"
Desired username
64"testuser123"
Account password
256"securepass123"
If true, account is restricted to host functionality only
true
Parent account ID for subaccounts. Use "me" for current user.
"me"
Optional SSH public key
4096Captcha token (required for non-subaccounts)
8192Response
Account created successfully; returns formatted user object with API key
User ID
Username
Email address
API key (populated for subaccounts)
Active API key ID
Account credit balance (USD)
Promotional credit balance (USD)
Whether the email has been verified
Whether Hugging Face cloud sync is currently enabled for this authenticated user
Whether this is a host-only account
Default SSH public key
Whether a payment method is on file
Whether a Stripe payment method exists