Setup

API endpoints for Setup.

GET /api/setup/admin_checklist

Return various “admin checklist” steps and whether they’ve been completed. You must be a superuser to see this!

GET /api/setup/user_defaults

Returns object containing default user details for initial setup, if configured, and if the provided token value matches the token in the configuration value.

PARAMS:

  • token

POST /api/setup/

Special endpoint for creating the first user during setup. This endpoint both creates the user AND logs them in and returns a session ID. This endpoint can also be used to add a database, create and invite a second admin, and/or set specific settings from the setup flow.

PARAMS:

  • invited_last_name nullable value must be a non-blank string.

  • site_locale nullable String must be a valid two-letter ISO language or language-country code e.g. en or en_US.

  • email value must be a valid email address.

  • first_name nullable value must be a non-blank string.

  • request

  • password password is too common.

  • invited_email nullable value must be a valid email address.

  • invited_first_name nullable value must be a non-blank string.

  • site_name value must be a non-blank string.

  • token Token does not match the setup token.

  • last_name nullable value must be a non-blank string.


« Back to API index

Read docs for other versions of Metabase.