RegisterResponse
Register response
accessTokenstring | nullnullable
JWT access token (if email confirmation not required)
Example:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...expiresIninteger,null<int64>nullable
Token expiry in seconds
Possible values: >= 0
Example:
86400messagestring | nullnullable
Message about email verification if required
Example:
Please check your email to verify your accounttokenTypestring | nullnullable
Token type (always "Bearer")
Example:
Beareruser objectrequired
User information
emailstringrequired
Email address
Example:
admin@example.comemailVerifiedbooleanrequired
Whether email has been verified
Example:
trueidstring<uuid>required
User unique identifier
Example:
550e8400-e29b-41d4-a716-446655440000isAdminbooleanrequired
Whether user has admin privileges
Example:
trueusernamestringrequired
Username
Example:
adminRegisterResponse
{
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"expiresIn": 86400,
"message": "Please check your email to verify your account",
"tokenType": "Bearer",
"user": {
"email": "admin@example.com",
"emailVerified": true,
"id": "550e8400-e29b-41d4-a716-446655440000",
"isAdmin": true,
"username": "admin"
}
}