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_atstring (date-time) or null requiredprivacy_versionstring or null requiredterms_accepted_atstring (date-time) or null requiredterms_versionstring 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
errorobject requiredcodestring requiredValue:"unauthenticated"messagestring required
429 The route limit of 60 requests per minute was exceeded.
Response headers
Retry-Afterinteger headerSeconds to wait before retrying.
X-RateLimit-Scopestring header
application/json object
errorobject requiredcodestring requiredValue:"too_many_attempts"messagestring requiredretry_after_sinteger requiredRange: at least 1scopestring requiredValue:"route"
text/html string