POST
/api/companies/{companyId}/uiselectionstepSave UI preferences and complete onboarding
Saves the visual design preferences for a company's MCP widgets and completes the UI selection onboarding step. Supply theme and optionally specify accentColor, layout, and onboardingStep. A 200 response confirms that the UI preferences were saved.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
companyIdstringrequired
The unique identifier of the company whose UI preferences you are saving.
UI preferences for the company's MCP widgets. The theme field is required.
accentColorstringoptional
The accent color to use in the widget design.
layoutstringoptional
The preferred widget layout.
onboardingStepnumberoptional
The onboarding step number to save.
themestringrequired
The visual theme to apply to the widgets.
200Returns confirmation that the UI preferences were saved.
Error handling
The companyId path parameter must identify an existing company. The theme field is required; accentColor, layout, and onboardingStep, if provided, must be strings, strings, and a number respectively.