Documentation
Auth

Create User

Creates a new user or authenticates an existing user. Returns access and refresh tokens for authenticated requests.

POST
/
api
/
auth
/
user

Request Body

externalUserId
string
required

Your application's unique identifier for this user.

username
string
required

The user's display name.

metadata
object
nullable

Additional user information (email, phoneNumber, etc.).

passwordHash
string
nullable

Encrypted password hash for user authentication.