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

Org API

Org profile, settings, security, SSO and SCIM, ownership and deletion.

11 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 the org#

GET/v2/org
Response Org
  • idId
  • object"org"
  • org_idId
  • created_atTimestamp
  • updated_atTimestampoptional
  • test_modebooleanoptional

    True for test-mode objects (simulations, sandbox).

  • namestring
  • slugstring
  • kindOrgKind
    "business""individual"
  • platform_idId | null
  • statusstring enum
    "active""closed""setup""restricted"
  • planPlanCode
    "free""starter""growth""enterprise"
  • featuresobject

    Product parts switched on for this org (drives navigation).

    3 fields
    • accountsboolean
    • acceptboolean
    • platformboolean
  • home_cellstring

    Where the org's data lives.

  • time_zonestring
  • default_asset"USD"
  • accentstring enum

    Accent tone per workspace (a tiny tone change for orientation, never a colour wash).

    "default""warm""cool"
  • show_name_to_sellersbooleanoptional

    Sellers on ndStill see this org's name when its agents buy (Verify, checkouts, receipts). Off, they see "An ndStill customer" and new passport key ids leave out the org's short name.

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.

  • 429rate_limited

    Slow down; retry after the Retry-After header.

Example from the mock backend
Request
curl -X GET "https://api.ndstill.com/v2/org" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01"
Response 200
{
  "id": "org_A99F918124609C9DAAACB209D8",
  "object": "org",
  "org_id": "org_A99F918124609C9DAAACB209D8",
  "created_at": "2025-09-29T00:43:11.374Z",
  "name": "Acme Robotics",
  "slug": "acme-robotics",
  "kind": "business",
  "platform_id": null,
  "status": "active",
  "plan": "growth",
  "features": {
    "accounts": true,
    "accept": false,
    "platform": false
  },
  "home_cell": "us-east-1 (demo)",
  "time_zone": "America/Los_Angeles",
  "default_asset": "USD",
  "accent": "default",
  "show_name_to_sellers": true
}
Try it

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

Get security settings#

GET/v2/org/security
Response SecuritySettings
  • object"security_settings"
  • org_idId
  • ssoobject
    13 fields
    • enabledboolean
    • protocolstring enum
      null"saml""oidc"
    • domainstring | null
    • enforcedboolean
    • provider_namestring | nulloptional

      Identity provider shown to people ("Okta", "Microsoft Entra ID", "Google Workspace").

    • metadata_urlstring | nulloptional

      SAML: IdP metadata URL.

    • issuerstring | nulloptional

      OIDC: issuer URL and client id.

    • client_idstring | nulloptional
    • acs_urlstringoptional

      What ndStill gives the IdP (read-only).

    • entity_idstringoptional
    • redirect_uristringoptional
    • last_tested_atTimestamp | nulloptional
    • last_test_okboolean | nulloptional
  • scimobject
    6 fields
    • enabledboolean
    • last_sync_atTimestamp | null
    • endpointstringoptional
    • token_prefixstring | nulloptional

      First characters of the current bearer token; the token itself is shown once.

    • users_syncednumberoptional
    • groups_syncednumberoptional
  • passkeys_requiredboolean
  • step_upobject
    5 fields
    • org_freezeboolean
    • policy_activationboolean
    • approvals_aboveMoney | null

      An amount: integer minor units + asset.

      Money: 2 fields
      • amountnumber
      • assetAssetCode
        "USD""USDC""EUR""GBP"
    • payoutsboolean
    • card_revealboolean
  • chat_approvalsobject

    Approving from WhatsApp or Slack, for the whole org. Each person links their own chat (Your login) and picks their own in-chat limit, never above `max_in_chat`. Above a person's limit, and for anything that needs a passkey or two people, the chat's Approve button opens a one-time link that asks for a passkey.

    3 fields
    • whatsappboolean
    • slackboolean
    • max_in_chatMoney

      An amount: integer minor units + asset.

      Money: 2 fields
      • amountnumber
      • assetAssetCode
        "USD""USDC""EUR""GBP"
  • sessionobject
    2 fields
    • idle_timeout_minutesnumber
    • admin_idle_timeout_minutesnumber
  • ip_allow_liststring[]
  • last_changedobject | nulloptional

    Who changed security last (every change needs a fresh passkey).

    2 fields
    • atTimestamp
    • bystring
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.

  • 429rate_limited

    Slow down; retry after the Retry-After header.

Example from the mock backend
Request
curl -X GET "https://api.ndstill.com/v2/org/security" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01"
Response 200
{
  "object": "security_settings",
  "org_id": "org_A99F918124609C9DAAACB209D8",
  "sso": {
    "enabled": true,
    "protocol": "oidc",
    "domain": "acme-robotics.example",
    "enforced": false,
    "provider_name": "Google Workspace",
    "metadata_url": null,
    "issuer": "https://accounts.google.example",
    "client_id": "ce3746cc0c3d.apps.googleusercontent.example",
    "acs_url": "https://auth.ndstill.example/acme-robotics/saml/acs",
    "entity_id": "https://auth.ndstill.example/acme-robotics/saml/metadata",
    "redirect_uri": "https://auth.ndstill.example/acme-robotics/oidc/callback",
    "last_tested_at": "2026-11-17T00:43:12.308Z",
    "last_test_ok": true
  },
  "scim": {
    "enabled": false,
    "last_sync_at": null,
    "endpoint": "https://api.ndstill.example/scim/v2/org_A99F918124609C9DAAACB209D8",
    "token_prefix": null,
    "users_synced": 0,
    "groups_synced": 0
  },
  "passkeys_required": true,
  "step_up": {
    "org_freeze": true,
    "policy_activation": true,
    "approvals_above": {
      "amount": 50000,
      "asset": "USD"
    },
    "payouts": true,
    "card_reveal": true
  },
  "chat_approvals": {
    "whatsapp": false,
    "slack": false,
    "max_in_chat": {
      "amount": 100000,
      "asset": "USD"
    }
  },
  "session": {
    "idle_timeout_minutes": 60,
    "admin_idle_timeout_minutes": 30
  },
  "ip_allow_list": [],
  "last_changed": {
    "at": "2026-11-14T00:43:12.308Z",
    "by": "Dana Whitfield"
  }
}
Try it

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

Get the org's live state#

GET/v2/org/state
Response OrgState
  • object"org_state"
  • held_countnumber
  • frozenobject

    Active freezes, by scope kind. `org` true = the whole org is frozen.

    6 fields
    • orgboolean
    • freeze_idId | null
    • agentsnumber
    • teamsnumber
    • treesnumber
    • funding_sourcesnumber
  • freezes_in_progressstring[]

    Freezes or unfreezes still fanning out to connectors.

  • setupobject
    2 fields
    • doneboolean
    • stepsSetupStep[]
      SetupStep: 4 fields
      • keystring
      • labelstring
      • doneboolean
      • hrefstring
  • issuesOrgIssue[]
    OrgIssue: 6 fields
    • idId
    • kindstring enum
      "verification""budget""webhook""connector""recon"
    • levelstring enum
      "danger""warn"
    • messagestring
    • hrefstring | null
    • atTimestamp
  • chipobject

    One short chip label: "Setup 4 of 6", "Ramp syncing late", "All connected".

    3 fields
    • labelstring
    • tonestring enum
      "held""blocked""neutral""moved"
    • hrefstring | 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.

  • 429rate_limited

    Slow down; retry after the Retry-After header.

Example from the mock backend
Request
curl -X GET "https://api.ndstill.com/v2/org/state" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01"
Response 200
{
  "object": "org_state",
  "held_count": 8,
  "frozen": {
    "org": false,
    "freeze_id": null,
    "agents": 2,
    "teams": 0,
    "trees": 0,
    "funding_sources": 0
  },
  "freezes_in_progress": [],
  "setup": {
    "done": false,
    "steps": [
      {
        "key": "org",
        "label": "Add your org details",
        "done": true,
        "href": "/org/settings"
      },
      {
        "key": "members",
        "label": "Invite members and set roles",
        "done": true,
        "href": "/org/members"
      },
      {
        "key": "rails",
        "label": "Connect a rail",
        "done": true,
        "href": "/money/connections"
      }
    ]
  },
  "issues": [
    {
      "id": "iss_01KQ667RMEPR",
      "kind": "connector",
      "level": "warn",
      "message": "Ramp: Transactions are syncing 40 minutes behind.",
      "href": "/money/connections/con_01KQ667RMEPRF87EQEW9XS3VQE",
      "at": "2026-11-23T00:41:11.374Z"
    },
    {
      "id": "iss_recon",
      "kind": "recon",
      "level": "warn",
      "message": "8 reconciliation exceptions to review",
      "href": "/books/reconciliation",
      "at": "2026-11-22T21:43:13.216Z"
    },
    {
      "id": "iss_01KWAZNRMEQT",
      "kind": "webhook",
      "level": "warn",
      "message": "Webhook ERP bridge (old) is failing (62% delivered)",
      "href": "/developers/webhooks/we_01KWAZNRMEQTRQGV3HNJVRN8DF",
      "at": "2026-11-22T22:47:11.374Z"
    }
  ],
  "chip": {
    "label": "Setup 7 of 8",
    "tone": "held",
    "href": "/org/settings"
  }
}
Try it

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

Update the org profile#

PATCH/v2/org
Request body OrgSettings
  • namestringrequired
  • time_zonestringrequired
  • default_asset"USD"required
  • statement_descriptorstring
  • show_name_to_sellersboolean
Response Org

The same Org object as Get the org.

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.

  • 429rate_limited

    Slow down; retry after the Retry-After header.

Example from the mock backend
Request
curl -X PATCH "https://api.ndstill.com/v2/org" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Docs example",
    "time_zone": "example",
    "default_asset": "USD"
  }'
Response 200
{
  "id": "org_A99F918124609C9DAAACB209D8",
  "object": "org",
  "org_id": "org_A99F918124609C9DAAACB209D8",
  "created_at": "2025-09-29T00:43:11.374Z",
  "name": "Docs example",
  "slug": "acme-robotics",
  "kind": "business",
  "platform_id": null,
  "status": "active",
  "plan": "growth",
  "features": {
    "accounts": true,
    "accept": false,
    "platform": false
  },
  "home_cell": "us-east-1 (demo)",
  "time_zone": "example",
  "default_asset": "USD",
  "accent": "default",
  "updated_at": "2026-11-23T00:43:13.673Z"
}
Try it

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

Delete the org#

POST/v2/org/delete
Request body OrgDelete
  • confirm_textstringrequired
  • step_upstring
Response JSON
  • object"org_deleted"
  • idId
Errors
  • 400invalid_request

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

  • 400step_up_required

    A person must confirm with a passkey first, when the org requires it.

  • 401authentication

    The key or token is missing, expired or revoked.

  • 403permission

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

  • 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 only (not run: it changes the org for good)
Request
curl -X POST "https://api.ndstill.com/v2/org/delete" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "confirm_text": "FREEZE"
  }'
Try it

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

Update security settings#

PATCH/v2/org/security
Request body JSON
  • ssoobject
    13 fields
    • enabledbooleanrequired
    • protocolstring enumrequired
      null"saml""oidc"
    • domainstring | nullrequired
    • enforcedbooleanrequired
    • provider_namestring | null

      Identity provider shown to people ("Okta", "Microsoft Entra ID", "Google Workspace").

    • metadata_urlstring | null

      SAML: IdP metadata URL.

    • issuerstring | null

      OIDC: issuer URL and client id.

    • client_idstring | null
    • acs_urlstring

      What ndStill gives the IdP (read-only).

    • entity_idstring
    • redirect_uristring
    • last_tested_atTimestamp | null
    • last_test_okboolean | null
  • sessionobject
    2 fields
    • idle_timeout_minutesnumberrequired
    • admin_idle_timeout_minutesnumberrequired
  • scimobject
    6 fields
    • enabledbooleanrequired
    • last_sync_atTimestamp | nullrequired
    • endpointstring
    • token_prefixstring | null

      First characters of the current bearer token; the token itself is shown once.

    • users_syncednumber
    • groups_syncednumber
  • passkeys_requiredboolean
  • step_upobject
    5 fields
    • org_freezebooleanrequired
    • policy_activationbooleanrequired
    • approvals_aboveMoney | nullrequired

      An amount: integer minor units + asset.

      Money: 2 fields
      • amountnumberrequired
      • assetAssetCoderequired
        "USD""USDC""EUR""GBP"
    • payoutsbooleanrequired
    • card_revealbooleanrequired
  • chat_approvalsobject

    Approving from WhatsApp or Slack, for the whole org. Each person links their own chat (Your login) and picks their own in-chat limit, never above `max_in_chat`. Above a person's limit, and for anything that needs a passkey or two people, the chat's Approve button opens a one-time link that asks for a passkey.

    3 fields
    • whatsappbooleanrequired
    • slackbooleanrequired
    • max_in_chatMoneyrequired

      An amount: integer minor units + asset.

      Money: 2 fields
      • amountnumberrequired
      • assetAssetCoderequired
        "USD""USDC""EUR""GBP"
  • ip_allow_liststring[]
  • last_changedobject | null

    Who changed security last (every change needs a fresh passkey).

    2 fields
    • atTimestamprequired
    • bystringrequired
Response SecuritySettings

The same SecuritySettings object as Get security settings.

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.

  • 429rate_limited

    Slow down; retry after the Retry-After header.

Example from the mock backend
Request
curl -X PATCH "https://api.ndstill.com/v2/org/security" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01" \
  -H "Content-Type: application/json" \
  -d '{}'
Response 200
{
  "object": "security_settings",
  "org_id": "org_A99F918124609C9DAAACB209D8",
  "sso": {
    "enabled": true,
    "protocol": "oidc",
    "domain": "acme-robotics.example",
    "enforced": false,
    "provider_name": "Google Workspace",
    "metadata_url": null,
    "issuer": "https://accounts.google.example",
    "client_id": "ce3746cc0c3d.apps.googleusercontent.example",
    "acs_url": "https://auth.ndstill.example/acme-robotics/saml/acs",
    "entity_id": "https://auth.ndstill.example/acme-robotics/saml/metadata",
    "redirect_uri": "https://auth.ndstill.example/acme-robotics/oidc/callback",
    "last_tested_at": "2026-11-17T00:43:12.308Z",
    "last_test_ok": true
  },
  "scim": {
    "enabled": false,
    "last_sync_at": null,
    "endpoint": "https://api.ndstill.example/scim/v2/org_A99F918124609C9DAAACB209D8",
    "token_prefix": null,
    "users_synced": 0,
    "groups_synced": 0
  },
  "passkeys_required": true,
  "step_up": {
    "org_freeze": true,
    "policy_activation": true,
    "approvals_above": {
      "amount": 50000,
      "asset": "USD"
    },
    "payouts": true,
    "card_reveal": true
  },
  "chat_approvals": {
    "whatsapp": false,
    "slack": false,
    "max_in_chat": {
      "amount": 100000,
      "asset": "USD"
    }
  },
  "session": {
    "idle_timeout_minutes": 60,
    "admin_idle_timeout_minutes": 30
  },
  "ip_allow_list": [],
  "last_changed": {
    "at": "2026-11-14T00:43:12.308Z",
    "by": "Dana Whitfield"
  }
}
Try it

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

Save security changes#

POST/v2/org/security/changes
Request body SecurityUpdate
  • ssoobject
    13 fields
    • enabledbooleanrequired
    • protocolstring enumrequired
      null"saml""oidc"
    • domainstring | nullrequired
    • enforcedbooleanrequired
    • provider_namestring | null

      Identity provider shown to people ("Okta", "Microsoft Entra ID", "Google Workspace").

    • metadata_urlstring | null

      SAML: IdP metadata URL.

    • issuerstring | null

      OIDC: issuer URL and client id.

    • client_idstring | null
    • acs_urlstring

      What ndStill gives the IdP (read-only).

    • entity_idstring
    • redirect_uristring
    • last_tested_atTimestamp | null
    • last_test_okboolean | null
  • sessionobject
    2 fields
    • idle_timeout_minutesnumberrequired
    • admin_idle_timeout_minutesnumberrequired
  • scimobject
    6 fields
    • enabledbooleanrequired
    • last_sync_atTimestamp | nullrequired
    • endpointstring
    • token_prefixstring | null

      First characters of the current bearer token; the token itself is shown once.

    • users_syncednumber
    • groups_syncednumber
  • passkeys_requiredboolean
  • step_upobject
    5 fields
    • org_freezebooleanrequired
    • policy_activationbooleanrequired
    • approvals_aboveMoney | nullrequired

      An amount: integer minor units + asset.

      Money: 2 fields
      • amountnumberrequired
      • assetAssetCoderequired
        "USD""USDC""EUR""GBP"
    • payoutsbooleanrequired
    • card_revealbooleanrequired
  • chat_approvalsobject

    Approving from WhatsApp or Slack, for the whole org. Each person links their own chat (Your login) and picks their own in-chat limit, never above `max_in_chat`. Above a person's limit, and for anything that needs a passkey or two people, the chat's Approve button opens a one-time link that asks for a passkey.

    3 fields
    • whatsappbooleanrequired
    • slackbooleanrequired
    • max_in_chatMoneyrequired

      An amount: integer minor units + asset.

      Money: 2 fields
      • amountnumberrequired
      • assetAssetCoderequired
        "USD""USDC""EUR""GBP"
  • ip_allow_liststring[]
  • passkey_assertionstring
Response SecuritySettings

The same SecuritySettings object as Get security settings.

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.

  • 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 from the mock backend
Request
curl -X POST "https://api.ndstill.com/v2/org/security/changes" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "step_up": "passkey_assertion_from_webauthn"
  }'
Response 400
{
  "object": "error",
  "type": "step_up_required",
  "code": "step_up_required",
  "message": "This change needs a fresh passkey check. Confirm with your passkey and try again.",
  "request_id": "req_649f6871b81fe2a59ff0"
}

The mock answered this sample with an error; its message says why. Adjust the request in Try it below.

Try it

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

Rotate the SCIM token#

POST/v2/org/security/scim/token
Request body JSON
  • step_upstring
Response ScimToken
  • object"scim_token"
  • tokenstring
  • prefixstring
  • endpointstring
  • created_atTimestamp
Errors
  • 400invalid_request

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

  • 400step_up_required

    A person must confirm with a passkey first, when the org requires it.

  • 401authentication

    The key or token is missing, expired or revoked.

  • 403permission

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

  • 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 only (not run: it changes the org for good)
Request
curl -X POST "https://api.ndstill.com/v2/org/security/scim/token" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'
Try it

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

Test single sign-on#

POST/v2/org/security/sso/test
Request body SsoTestBody
  • protocolstring enumrequired
    "saml""oidc"
  • domainstringrequired
  • metadata_urlstring | null
  • issuerstring | null
  • client_idstring | null
Response SsoTestResult
  • object"sso_test"
  • okboolean
  • checksobject[]
    3 fields
    • namestring
    • okboolean
    • messagestring
  • tested_atTimestamp
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.

  • 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 from the mock backend
Request
curl -X POST "https://api.ndstill.com/v2/org/security/sso/test" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "protocol": "saml",
    "domain": "example"
  }'
Response 200
{
  "object": "sso_test",
  "ok": false,
  "checks": [
    {
      "name": "Email domain",
      "ok": false,
      "message": "Enter a domain like acme.com."
    },
    {
      "name": "Metadata",
      "ok": false,
      "message": "The metadata URL must start with https://."
    },
    {
      "name": "Test sign-in",
      "ok": false,
      "message": "Fix the items above, then test again."
    }
  ],
  "tested_at": "2026-11-23T00:43:13.675Z"
}
Try it

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

Update org settings#

PATCH/v2/org/settings
Request body OrgSettingsUpdate
  • namestring
  • time_zonestring
  • default_asset"USD"
  • statement_descriptorstring
  • show_name_to_sellersboolean
  • slugstring
Response Org

The same Org object as Get the org.

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.

  • 429rate_limited

    Slow down; retry after the Retry-After header.

Example from the mock backend
Request
curl -X PATCH "https://api.ndstill.com/v2/org/settings" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01" \
  -H "Content-Type: application/json" \
  -d '{}'
Response 200
{
  "id": "org_A99F918124609C9DAAACB209D8",
  "object": "org",
  "org_id": "org_A99F918124609C9DAAACB209D8",
  "created_at": "2025-09-29T00:43:11.374Z",
  "name": "Docs example",
  "slug": "acme-robotics",
  "kind": "business",
  "platform_id": null,
  "status": "active",
  "plan": "growth",
  "features": {
    "accounts": true,
    "accept": false,
    "platform": false
  },
  "home_cell": "us-east-1 (demo)",
  "time_zone": "example",
  "default_asset": "USD",
  "accent": "default",
  "updated_at": "2026-11-23T00:43:13.673Z",
  "show_name_to_sellers": true
}
Try it

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

Transfer ownership#

POST/v2/org/transfer-ownership
Request body OwnershipTransfer
  • member_idIdrequired
  • step_upstring
Response Membership
  • idId
  • object"membership"
  • org_idId
  • created_atTimestamp
  • updated_atTimestampoptional
  • test_modebooleanoptional

    True for test-mode objects (simulations, sandbox).

  • user_idId
  • userobject
    4 fields
    • idId
    • namestring
    • emailstring
    • avatar_initialsstring
  • roleRole
    "owner""admin""approver""finance""developer""viewer"
  • team_idsstring[]
  • scopesstring[]

    Extra scopes beyond the role (e.g. approver for team_x only).

  • statusstring enum
    "active""invited""suspended"
  • invited_byRef | nulloptional

    Small reference used for denormalized names in lists (no N+1 lookups in tables).

    Ref: 2 fields
    • idId
    • namestring
  • last_active_atTimestamp | null
  • mfastring enum
    "passkey""totp""none"
Errors
  • 400invalid_request

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

  • 400step_up_required

    A person must confirm with a passkey first, when the org requires it.

  • 401authentication

    The key or token is missing, expired or revoked.

  • 403permission

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

  • 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 only (not run: it changes the org for good)
Request
curl -X POST "https://api.ndstill.com/v2/org/transfer-ownership" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "member_id": "mem_01M82XPRMS4TE6PC3G058T1N4J"
  }'
Try it

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