POST /api/userAuth/signup
Creates a new user account and returns an access token. Any extra fields defined in your users collection schema are accepted and validated automatically.
Your project must have a
users collection with at least an email (String, required, unique)
and a password (String, required) field before this endpoint will work.Required Header
x-api-key: your pk_live_… key.
Request Body
string
required
The user’s email address. Must be unique within the project.
string
required
The user’s password. Stored as a bcrypt hash — the raw value is never persisted.
string
The user’s display name.
any
Any additional fields your
users collection schema defines (e.g., username, avatar,
preferences). urBackend validates them against your schema automatically.Response Fields
object
string
A short-lived JWT to use in
Authorization: Bearer headers. Prefer accessToken
over the deprecated token alias.