The Session API handles user authentication, session management, and password reset flows. This API includes 7 endpoints.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/metabase/metabase/llms.txt
Use this file to discover all available pages before exploring further.
For general authentication information, see the Authentication guide.
Create session
Authenticate with email and password to create a new session.Request body
User email address
User password
Response
Session token (UUID) to use for authentication
Delete session
Log out and invalidate the current session.Response
Returns204 No Content on success.
After logout, the session token is invalidated and cannot be reused.
Get session properties
Get configuration and properties for the current session.Response
Returns session configuration including:Available database engines and drivers
Metabase version information
Instance-level settings
Whether initial setup is complete
Setup token if setup is incomplete
Google OAuth
Authenticate using Google OAuth.Request body
Google OAuth ID token
Response
Returns a session token on successful authentication:Google OAuth must be configured in instance settings for this endpoint to work.
Password verification
Verify a password without creating a new session.Request body
Password to verify for the current user
Response
Whether the password is correct
Requires an active session. Used to confirm user identity before sensitive operations like changing email or password.
Request password reset
Send a password reset email to a user.Request body
Email address of the user requesting password reset
Response
Returns200 OK on success (even if email doesn’t exist, for security).
Validate reset token
Check if a password reset token is valid.Query parameters
Password reset token from the email
Response
Whether the token is valid and not expired
Reset password
Reset a user’s password using a valid reset token.Request body
Password reset token from the email
New password (must meet password requirements)
Response
Whether the password was successfully reset
After successfully resetting the password, the user can log in with their new credentials.
Error codes
Invalid credentials, expired token, or password doesn’t meet requirements
Invalid username or password
Account is deactivated or suspended
Too many login attempts. Please wait before trying again.