onboarding

2 endpoints.

GET/api/onboarding Bearer token

Read the onboarding settings

The welcome message the onboarding page opens with — the page an account lands on after its first sign-in while the `onboarding` feature is on (see `GET /api/feature-flags`). Readable whether or not the page is on.

Responses

StatusDescriptionBody
200The current onboarding settings.OnboardingSettings
401The access token is missing or invalid.ErrorResponse
500The onboarding settings could not be read.ErrorResponse
PATCH/api/onboarding Bearer token

Set the onboarding welcome message

Sets the markdown welcome message shown at the top of the onboarding page, or removes it with null or an empty string. Every onboarding page goes on to show where to start and ends with the help & support pages and the support address, with or without a message. Can be set while the page is off. Requires a superuser's access token.

Request body

application/jsonrequiredUpdateOnboardingSettingsRequest
FieldTypeRequiredDescription
welcome_markdownstring | nullyes

The welcome message, as markdown; raw HTML is not rendered. Send null or an empty string to remove it.

at most 50000 characters

Responses

StatusDescriptionBody
200The updated onboarding settings.OnboardingSettings
400The request body failed validation.ErrorResponse
401The access token is missing or invalid.ErrorResponse
403The access token's subject is not a superuser.ErrorResponse
500The onboarding settings could not be written to.ErrorResponse