Onboarding get
Get the onboarding doc for the authenticated user (auto-created on first read).
Responses
Successful response
idstring · requiredid === userId
versionnumber · requiredSchema version for future migrations
updatedAtnumber · requiredLast server-side write timestamp (last-write-wins)
startedAtnumbercompletedAtnumbertodoIdstringThe board's setup todo (ONBOARDING_AGENT); kept (DONE) after finishing, '' on restart.
currentStepstringStepper step id the user is on
websiteUrlstringboardModePersonal board (no brand UI) or business board (brand card, analyzer, voice).
Onboarding update
Patch the onboarding doc. Last-write-wins via expectedUpdatedAt.
Request Body
patchobject · requiredMake all properties in T optional
expectedUpdatedAtnumberClient's last known updatedAt; reject if server doc is newer
Responses
Successful response
idstring · requiredid === userId
versionnumber · requiredSchema version for future migrations
updatedAtnumber · requiredLast server-side write timestamp (last-write-wins)
startedAtnumbercompletedAtnumbertodoIdstringThe board's setup todo (ONBOARDING_AGENT); kept (DONE) after finishing, '' on restart.
currentStepstringStepper step id the user is on
websiteUrlstringboardModePersonal board (no brand UI) or business board (brand card, analyzer, voice).