Get auth methods
Retrieve available authentication methods for a collection.The name or ID of the auth collection
Response
Password authentication configuration
OAuth2 authentication configuration
One-time password configuration
Multi-factor authentication configuration
Authenticate with password
Authenticate a user with identity and password.The name or ID of the auth collection
Request body
The user’s identity (email, username, or other configured field)
The user’s password
Specific field to use for identity lookup (leave empty for auto-detection)
Response
JWT authentication token
The authenticated user record
Authenticate with OAuth2
Authenticate a user via OAuth2 provider.The name or ID of the auth collection
Request body
OAuth2 provider name (e.g.,
google, github, facebook)Authorization code from the OAuth2 provider
The redirect URL used in the initial OAuth2 request
PKCE code verifier (required if provider uses PKCE)
Additional data for creating a new user if one doesn’t exist
Response
JWT authentication token
The authenticated user record
OAuth2 user data and
isNew flagAuthenticate with OTP
Authenticate using a one-time password.The name or ID of the auth collection
Request body
The OTP record ID
The OTP password/code
Response
JWT authentication token
The authenticated user record
Request OTP
Request a new one-time password to be sent to the user.The name or ID of the auth collection
Request body
The user’s email address
Response
Returns 204 No Content on success.Refresh authentication
Refresh an existing auth token.The name or ID of the auth collection
Response
New JWT authentication token
The authenticated user record
Request password reset
Request a password reset email.The name or ID of the auth collection
Request body
The user’s email address
Response
Returns 204 No Content on success (even if email doesn’t exist, to prevent enumeration).Confirm password reset
Confirm password reset with token.The name or ID of the auth collection
Request body
The password reset token from the email
The new password
Password confirmation (must match password)
Response
Returns 204 No Content on success.Request verification
Request an email verification message.The name or ID of the auth collection
Request body
The user’s email address to verify
Response
Returns 204 No Content on success.Confirm verification
Confirm email verification.The name or ID of the auth collection
Request body
The verification token from the email
Response
Returns 204 No Content on success.Request email change
Request to change the authenticated user’s email.The name or ID of the auth collection
Request body
The new email address
Response
Returns 204 No Content on success.Confirm email change
Confirm email change with token.The name or ID of the auth collection
Request body
The email change token
The user’s current password
Response
Returns 204 No Content on success.Common error codes
| Code | Description |
|---|---|
| 400 | Invalid credentials or validation error |
| 403 | Authentication method not enabled for collection |
| 404 | Collection not found or not an auth collection |
| 429 | Too many authentication attempts |