Sign Up with Email
horizon_signup_emailCreate a new player account with email, password, and display name to register new players and send email verification; account starts unverified. Sign in after verification.
Instructions
Creates a new player account with email, password and display name; the account starts unverified and without a session. Use when: a new player registers with email so the account can be recovered on other devices. Not for: existing accounts (use horizon_signin_email) and guest play without email (use horizon_signup_anonymous). Side effects: creates one player account and sends the verification email. It does not sign in. Returns: the new user with userId and isVerified: false. After the player verified the email address, call horizon_signin_email to get the accessToken. Errors: 409 when the email already belongs to an account: sign in with horizon_signin_email instead. 400 for an invalid email, a password outside 8 to 128 characters or a common password, or a bad name: fix the value and retry. Needs HORIZON_API_KEY. Every failure returns an error result (isError) with the HTTP status and body: a 401 that horizon_test_connection also returns means HORIZON_API_KEY is wrong, 429 means the account's per-minute rate limit was reached (wait a minute, then retry).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Player email address (valid format, max 40 characters); must not be registered yet | ||
| password | Yes | Password, 8 to 128 characters; common passwords such as "password1" are rejected. Sent to the API only, never returned | |
| displayName | Yes | Display name shown on leaderboards (max 30 characters) |