Skip to content

Register account

POST
/v1/auth/register

Sign up with an email and password. You get back a JWT right away — use it as your Authorization: Bearer token on every call that needs one. If someone referred you, include their referral code to link the signup and claim any welcome bonus.

Request Body

application/json

Registration payload.

An optional name to show in the UI; omit to derive one from the email address.

The address to register the account under.

The password to set for the new account.

An optional referral/affiliate code to credit for this signup.

Responses

OK

application/json

Success body for POST /auth/register: a JWT for the new account, the account
itself, and whether an optional referral code was attributed.

The outcome of attributing an optional referral code passed at signup.

JWT bearer token — send it as Authorization: Bearer <token> on
every authenticated call.

The newly-created account.

Playground

Server
Body

Samples

Powered by VitePress OpenAPI