---
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
  - `use_case` 'homelab' | 'internal_it' | 'msp' | 'other'

## Response `200`

Step saved

- ApiResponse
  - `data` TupleUnit — unresolved $ref
  - `error` string, nullable
  - `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

## Changes

- **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/bd76f90aa44b/schema)
