---
title: "Store onboarding step in session"
method: POST
path: "/api/auth/onboarding-step"
tags: ["auth", "internal"]
---

# Store onboarding step in session

`POST /api/auth/onboarding-step`

## Request body

- OnboardingStepRequest — Request to save onboarding step
  - `step` string, required — Identifier of the onboarding step the user has reached.
  - `use_case` 'homelab' | 'internal_it' | 'msp' | 'other'

## Response `200`

Step saved

- ApiResponse
  - `data` TupleUnit — No payload. Present only so the envelope keeps its shape.
  - `error` string, nullable — Human-readable failure message. Omitted on success.
  - `meta` ApiMeta, required — API metadata included in all responses
    - `api_version` integer, required — API version (integer, increments on breaking changes)
    - `server_version` string, required — Server version (semver)
  - `success` boolean, required — `true` when the request succeeded. `false` responses carry `error` instead of `data`.

## Changes

- **2026-07-29** `51af15be596e` — 1 breaking
  - the `data/oneOf[#/components/schemas/TupleUnit]/` response's property type/format changed from ``/`` to `object`/`` for status `200`
- **2026-05-01** `71cdaaff2425` — 2 breaking, 2 warning, 1 info
  - the request property `use_case` became not nullable
  - the `use_case` request property type/format changed from `string, null`/`` to ``/``
  - removed the request property `referral_source`
  - removed the request property `referral_source_other`
  - …1 more
- **2026-04-20** `f04499e2280f` — 2 breaking, 3 info
  - removed `#/components/schemas/UseCase, subschema #1` from the `use_case` request property `oneOf` list
  - the `use_case` request property type/format changed from ``/`` to `string, null`/``
  - added the new optional request property `referral_source`
  - added the new optional request property `referral_source_other`
  - …1 more

[Change history](https://skmtc.dev/scanopy/apis/scanopy-api/changes/api/auth/onboarding-step/post.md)

---

[API](https://skmtc.dev/scanopy/apis/scanopy-api.md) · [All operations](https://skmtc.dev/scanopy/apis/scanopy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scanopy/scanopy-api/revisions/198b17140a11/schema)
