VerifyEmailResponse
Verify email response
accessTokenstringrequired
JWT access token (user can now login)
Example:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...expiresIninteger<int64>required
Token expiry in seconds
Possible values: >= 0
Example:
86400messagestringrequired
Success message
Example:
Email verified successfullytokenTypestringrequired
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:
adminVerifyEmailResponse
{
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"expiresIn": 86400,
"message": "Email verified successfully",
"tokenType": "Bearer",
"user": {
"email": "admin@example.com",
"emailVerified": true,
"id": "550e8400-e29b-41d4-a716-446655440000",
"isAdmin": true,
"username": "admin"
}
}