Skip to main content
POST
Sign up
Creates a new user account and returns JWT tokens. The user is active immediately but email is unverified until POST /users/verify-email is called.

Request body

string
required
Valid email address.
string
required
Account password.
string
Optional. If provided, must match password.

Response

string
JWT access token. Valid for 24 hours.
string
JWT refresh token. Use to get a new access token when it expires.
string
Always bearer.
integer
Access token lifetime in seconds.
object

Example