First run

Transition the first-session state (dismiss, resume, complete)

Moves the first-session state as the coach progresses, dismisses, or resumes. It only accepts states the coach is allowed to set.

Session-only. This endpoint isn't on the API-key allowlist. An organization API key gets a 403 here, whatever scopes it holds.

patch/api/first-run/state

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/first-run/state
  • Auth: API key in cookie luca.session_token

Headers

Luca-API-Version'1'

The major version of the API this client was built against. Omit it and the request is served by the current major version. Any other value is refused with 400 unsupported_api_version.

Request body

state'first_visit' | 'activated' | 'dismissed' | 'completed' required

Response

ok

oktrue required
firstSessionState'first_visit' | 'activated' | 'dismissed' | 'completed' required

Changes

No recorded changes to this operation across all 1 revision of this API.