Onboarding API
Progress through the guided setup flows.
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#
/v2/onboarding/{flow}- flowstringrequired
The onboarding flow: business, individual, seller or platform.
- 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
- 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.
curl -X GET "https://api.ndstill.com/v2/onboarding/business" \
-H "Authorization: Bearer $NDSTILL_API_KEY" \
-H "Ndstill-Version: 2026-11-01"{
"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
}Runs against the in-browser mock with a test key. Nothing leaves your browser.
Restart onboarding#
/v2/onboarding/{id}/restart- idIdrequired
A prefixed ID from this org.
The same OnboardingProgress object as Get onboarding progress.
- 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.
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)"Runs against the in-browser mock with a test key. Nothing leaves your browser.
Complete an onboarding step#
/v2/onboarding/{id}/steps- idIdrequired
A prefixed ID from this org.
- stepstringrequired
- skippedboolean
- resultmap of string
The same OnboardingProgress object as Get onboarding progress.
- 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.
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)"Runs against the in-browser mock with a test key. Nothing leaves your browser.