Skip to content
ndStill is in development. These docs describe the v2 API as designed; the SDKs and the hosted MCP server are previews and not generally available.
Docs

Onboarding API

Progress through the guided setup flows.

3 endpointsGenerated from the typed registry

Base URL https://api.ndstill.com/v2. Send Authorization: Bearer with a key, Ndstill-Version: 2026-11-01, and an Idempotency-Key on every POST. Conventions, scopes and errors are in the API overview and Errors and decline reasons. Examples come from the mock backend; the shapes are the TypeScript types in packages/api.

Get onboarding progress#

GET/v2/onboarding/{flow}
Path parameters
  • flowstringrequired

    The onboarding flow: business, individual, seller or platform.

Response OnboardingProgress
  • object"onboarding"
  • flowOnboardingFlow
    "developer""business""individual""platform""seller"
  • stepsOnboardingStepState[]
    OnboardingStepState: 7 fields
    • idstring
    • labelstring
    • doneboolean
    • skippedboolean
    • done_atTimestamp | null
    • setup_doneboolean

      The matching setup-checklist item is already done for this org (from earlier work).

    • resultmap of string | null

      Short facts the step produced ("agent_id", "connection"), shown when you come back.

  • currentstring | null

    First step neither done nor skipped; null when finished.

  • started_atTimestamp | null
  • completed_atTimestamp | null
Errors
  • 401authentication

    The key or token is missing, expired or revoked.

  • 403permission

    The key's scopes or the person's role don't allow this.

  • 404not_found

    No object with that flow in this org.

  • 429rate_limited

    Slow down; retry after the Retry-After header.

Example from the mock backend
Request
curl -X GET "https://api.ndstill.com/v2/onboarding/business" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01"
Response 200
{
  "object": "onboarding",
  "flow": "business",
  "steps": [
    {
      "id": "org",
      "label": "Org details",
      "done": false,
      "skipped": false,
      "done_at": null,
      "setup_done": true,
      "result": null
    },
    {
      "id": "members",
      "label": "Invite members",
      "done": false,
      "skipped": false,
      "done_at": null,
      "setup_done": true,
      "result": null
    },
    {
      "id": "rails",
      "label": "Connect rails",
      "done": false,
      "skipped": false,
      "done_at": null,
      "setup_done": true,
      "result": null
    }
  ],
  "current": "org",
  "started_at": null,
  "completed_at": null
}
Try it

Runs against the in-browser mock with a test key. Nothing leaves your browser.

Restart onboarding#

POST/v2/onboarding/{id}/restart
Path parameters
  • idIdrequired

    A prefixed ID from this org.

Response OnboardingProgress

The same OnboardingProgress object as Get onboarding progress.

Errors
  • 401authentication

    The key or token is missing, expired or revoked.

  • 403permission

    The key's scopes or the person's role don't allow this.

  • 404not_found

    No object with that id in this org.

  • 409conflict

    The object changed or already exists, or the Idempotency-Key was reused with a different body.

  • 429rate_limited

    Slow down; retry after the Retry-After header.

Example request
Request
curl -X POST "https://api.ndstill.com/v2/onboarding/{id}/restart" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01" \
  -H "Idempotency-Key: $(uuidgen)"
Try it

Runs against the in-browser mock with a test key. Nothing leaves your browser.

Complete an onboarding step#

POST/v2/onboarding/{id}/steps
Path parameters
  • idIdrequired

    A prefixed ID from this org.

Request body OnboardingStepBody
  • stepstringrequired
  • skippedboolean
  • resultmap of string
Response OnboardingProgress

The same OnboardingProgress object as Get onboarding progress.

Errors
  • 400invalid_request

    A field is missing or invalid; fields names each one.

  • 401authentication

    The key or token is missing, expired or revoked.

  • 403permission

    The key's scopes or the person's role don't allow this.

  • 404not_found

    No object with that id in this org.

  • 409conflict

    The object changed or already exists, or the Idempotency-Key was reused with a different body.

  • 429rate_limited

    Slow down; retry after the Retry-After header.

Example request
Request
curl -X POST "https://api.ndstill.com/v2/onboarding/{id}/steps" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01" \
  -H "Idempotency-Key: $(uuidgen)"
Try it

Runs against the in-browser mock with a test key. Nothing leaves your browser.