Skip to content
Sign in Create account

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

  • completed boolean required
  • completed_at string (date-time) or null required
  • segment string required
  • skipped boolean required
  • skipped_at string (date-time) or null required
  • step integer required
  • total_steps integer required
    Value: 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-After string header

    Seconds to wait before retrying, when provided.

  • X-RateLimit-Scope string header

    Identifies the scope of the request limit, when provided.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string