Skip to content
Sign in Create account

Read legal acceptance state

GET /api/v1/onboarding-state

Returns the authenticated user’s Terms of Service and Privacy Policy acceptance timestamps and version identifiers.

Authenticate with a portal session token.

Responses

200 Current legal acceptance state. Values are null until accepted.

application/json LegalOnboardingState

  • privacy_policy_accepted_at string (date-time) or null required
  • privacy_version string or null required
  • terms_accepted_at string (date-time) or null required
  • terms_version string or null required

Generated sample

{
  "privacy_policy_accepted_at": "2026-01-01T00:00:00Z",
  "privacy_version": "string",
  "terms_accepted_at": "2026-01-01T00:00:00Z",
  "terms_version": "string"
}
401 Authentication is missing or invalid.

application/json object

  • error object required
    • code string required
      Value: "unauthenticated"
    • message string required
429 The route limit of 60 requests per minute was exceeded.

Response headers

  • Retry-After integer header

    Seconds to wait before retrying.

  • X-RateLimit-Scope string header

application/json object

  • error object required
    • code string required
      Value: "too_many_attempts"
    • message string required
    • retry_after_s integer required
      Range: at least 1
    • scope string required
      Value: "route"

text/html string