Get current onboarding state
GET /api/onboarding/state
Returns the authenticated account's onboarding step, segment, skipped/completed flags and timestamps, plus the current total step count of seven.
Authenticate with a portal session token.
Responses
200 Current onboarding step and completion state.
application/json object
completedboolean requiredcompleted_atstring (date-time) or null requiredsegmentstring requiredskippedboolean requiredskipped_atstring (date-time) or null requiredstepinteger requiredtotal_stepsinteger requiredValue:7
Generated sample
{
"completed": true,
"completed_at": "2026-01-01T00:00:00Z",
"segment": "string",
"skipped": true,
"skipped_at": "2026-01-01T00:00:00Z",
"step": 0,
"total_steps": 7
}401 Missing or invalid bearer token.
application/json object
Any keys are accepted.
403 The caller does not meet the route requirements: accepted Terms of Service and Privacy Policy.
application/json object
Any keys are accepted.
429 The request was rate limited. API-generated responses are JSON;
Response headers
Retry-Afterstring headerSeconds to wait before retrying, when provided.
X-RateLimit-Scopestring headerIdentifies the scope of the request limit, when provided.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string