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

Your login API

The signed-in person: passkeys, sessions, notification preferences and sign-in discovery.

26 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.

Create a chat link#

POST/v2/me/chat-links
Request body ChatLinkCreate
  • channelChatChannelrequired
    "whatsapp""slack"
  • phonestring
  • approve_in_chat_up_toMoney

    An amount: integer minor units + asset.

    Money: 2 fields
    • amountnumberrequired
    • assetAssetCoderequired
      "USD""USDC""EUR""GBP"
Response ChatLink
  • idId
  • object"chat_link"
  • channelChatChannel
    "whatsapp""slack"
  • statusstring enum

    pending: the code was sent and not confirmed yet.

    "active""pending""revoked"
  • addressstring

    Masked: "+1 ••• ••• 4821", or "@dana in Acme Robotics".

  • approve_in_chat_up_toMoney

    Tap Approve in the chat up to this amount. Above it the button opens a one-time link that asks for a passkey.

    Money: 2 fields
    • amountnumber
    • assetAssetCode
      "USD""USDC""EUR""GBP"
  • created_atTimestamp
  • verified_atTimestamp | null
  • last_used_atTimestamp | null
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/me/chat-links" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "channel": "whatsapp"
  }'
Response 409
{
  "object": "error",
  "type": "conflict",
  "code": "channel_off",
  "message": "Your org doesn't allow approvals in WhatsApp. An admin can turn it on in Org → Security.",
  "request_id": "req_49b1c6eb42073a51e25e"
}

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.

Create a passkey#

POST/v2/me/passkeys
Request body PasskeyCreate
  • namestringrequired
  • attestationstringrequired
Response Passkey
  • idId
  • object"passkey"
  • namestring
  • providerstring

    "iCloud Keychain", "Google Password Manager", "YubiKey 5C".

  • syncedboolean
  • created_atTimestamp
  • last_used_atTimestamp | null
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/me/passkeys" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Docs example",
    "attestation": "example"
  }'
Response 200
{
  "id": "pk_8610c55c07d9485bb54f",
  "object": "passkey",
  "name": "Docs example",
  "provider": "This device",
  "synced": true,
  "created_at": "2026-11-23T00:43:13.438Z",
  "last_used_at": "2026-11-23T00:43:13.438Z"
}
Try it

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

List chat messages#

GET/v2/me/chat-messages
Query parameters all optional
  • link_idId
  • subject_idId
  • subject_kindstring enum
    "approval""payout""refund"
  • statusstring enum
    "delivered""read""awaiting_passkey""answered""expired"
  • cursorstring
  • limitnumber

    1–200, default 50.

  • qstring

    Free-text search over names, ids and descriptors.

  • sortstring

    Sort field, prefix "-" for descending ("-created_at" is the default).

  • created_gteTimestamp

    created_at >= (ISO).

  • created_lteTimestamp

    created_at <= (ISO).

Response list of ChatMessage

Returns a list envelope: object "list", data[], has_more, next_cursor (pass it back as cursor) and total when cheap to count. Items:

  • idId
  • object"chat_message"
  • channelChatChannel
    "whatsapp""slack"
  • link_idId
  • subjectobject

    What the message asks you to decide.

    5 fields
    • kindstring enum
      "approval""payout""refund"
    • idId
    • amountMoney

      An amount: integer minor units + asset.

      Money: 2 fields
      • amountnumber
      • assetAssetCode
        "USD""USDC""EUR""GBP"
    • titlestring
    • detailstring
  • linesstring[]

    The message as it reads in the chat, one line per entry.

  • buttonsobject[]
    2 fields
    • actionstring enum
      "open""approve""reject"
    • labelstring
  • approvestring enum

    Whether Approve works right in the chat, or opens a one-time passkey link.

    "in_chat""passkey_link"
  • approve_notestring

    Why it needs the link, in plain words (over your in-chat limit, needs two people, payouts always do).

  • sent_atTimestamp
  • statusstring enum
    "delivered""read""awaiting_passkey""answered""expired"
  • answerobject | null
    3 fields
    • decisionstring enum
      "approve""reject"
    • atTimestamp
    • viastring enum
      "passkey_link""chat"
  • secure_linkobject | null

    Set once Approve was tapped on a message that needs a passkey: the link works once and expires.

    3 fields
    • urlstring
    • expires_atTimestamp
    • usedboolean
Errors
  • 400invalid_request

    A query parameter is invalid.

  • 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/me/chat-messages?limit=2" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01"
Response 200
{
  "object": "list",
  "data": [],
  "has_more": false,
  "next_cursor": null,
  "total": 0
}
Try it

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

List your passkeys#

GET/v2/me/passkeys
Query parameters all optional
  • cursorstring
  • limitnumber

    1–200, default 50.

  • qstring

    Free-text search over names, ids and descriptors.

  • sortstring

    Sort field, prefix "-" for descending ("-created_at" is the default).

  • created_gteTimestamp

    created_at >= (ISO).

  • created_lteTimestamp

    created_at <= (ISO).

Response list of Passkey

Returns a list envelope: object "list", data[], has_more, next_cursor (pass it back as cursor) and total when cheap to count. Items:

The same Passkey object as Create a passkey.

Errors
  • 400invalid_request

    A query parameter is invalid.

  • 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/me/passkeys?limit=2" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01"
Response 200
{
  "object": "list",
  "data": [
    {
      "id": "pk_b5f7187b7c3926097fee",
      "object": "passkey",
      "name": "MacBook Pro",
      "provider": "iCloud Keychain",
      "synced": true,
      "created_at": "2025-10-19T00:43:11.374Z",
      "last_used_at": "2026-11-23T00:18:12.495Z"
    },
    {
      "id": "pk_4c71ef45151b6055aa77",
      "object": "passkey",
      "name": "iPhone 16 Pro",
      "provider": "iCloud Keychain",
      "synced": true,
      "created_at": "2025-10-21T00:43:11.374Z",
      "last_used_at": "2026-11-22T04:43:12.495Z"
    }
  ],
  "has_more": true,
  "next_cursor": "Mg==",
  "total": 3
}
Try it

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

List your sessions#

GET/v2/me/sessions
Query parameters all optional
  • cursorstring
  • limitnumber

    1–200, default 50.

  • qstring

    Free-text search over names, ids and descriptors.

  • sortstring

    Sort field, prefix "-" for descending ("-created_at" is the default).

  • created_gteTimestamp

    created_at >= (ISO).

  • created_lteTimestamp

    created_at <= (ISO).

Response list of LoginSession

Returns a list envelope: object "list", data[], has_more, next_cursor (pass it back as cursor) and total when cheap to count. Items:

  • idId
  • object"login_session"
  • devicestring
  • browserstring
  • osstring
  • locationstring
  • ipstring
  • methodstring enum
    "passkey""sso""magic_link""password"
  • created_atTimestamp
  • last_seen_atTimestamp
  • currentboolean
Errors
  • 400invalid_request

    A query parameter is invalid.

  • 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/me/sessions?limit=2" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01"
Response 200
{
  "object": "list",
  "data": [
    {
      "id": "ses_c568589839e34da5cf71",
      "object": "login_session",
      "device": "MacBook Pro",
      "browser": "Chrome 142",
      "os": "macOS 26",
      "location": "San Francisco, US",
      "ip": "198.51.100.24",
      "method": "passkey",
      "created_at": "2026-11-22T21:43:12.495Z",
      "last_seen_at": "2026-11-23T00:43:12.495Z",
      "current": true
    },
    {
      "id": "ses_4c71ef45151b6055aa77",
      "object": "login_session",
      "device": "iPhone",
      "browser": "ndStill app 2.4",
      "os": "iOS 26",
      "location": "San Francisco, US",
      "ip": "198.51.100.77",
      "method": "passkey",
      "created_at": "2026-11-17T00:43:12.495Z",
      "last_seen_at": "2026-11-23T00:03:12.495Z",
      "current": false
    }
  ],
  "has_more": true,
  "next_cursor": "Mg==",
  "total": 3
}
Try it

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

Update a passkey#

PATCH/v2/me/passkeys/{id}
Path parameters
  • idIdrequired

    A prefixed ID from this org.

Request body PasskeyUpdate
  • namestringrequired
Response Passkey

The same Passkey object as Create a passkey.

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.

  • 429rate_limited

    Slow down; retry after the Retry-After header.

Example from the mock backend
Request
curl -X PATCH "https://api.ndstill.com/v2/me/passkeys/pk_b5f7187b7c3926097fee" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Docs example"
  }'
Response 200
{
  "id": "pk_b5f7187b7c3926097fee",
  "object": "passkey",
  "name": "Docs example",
  "provider": "iCloud Keychain",
  "synced": true,
  "created_at": "2025-10-19T00:43:11.374Z",
  "last_used_at": "2026-11-23T00:18:12.495Z"
}
Try it

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

Delete a passkey#

DEL/v2/me/passkeys/{id}
Path parameters
  • idIdrequired

    A prefixed ID from this org.

Response the deleted object

Returns the object as it was, with deleted: true.

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.

  • 429rate_limited

    Slow down; retry after the Retry-After header.

Example from the mock backend
Request
curl -X DELETE "https://api.ndstill.com/v2/me/passkeys/pk_b5f7187b7c3926097fee" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01"
Response 200
{
  "object": "deleted",
  "id": "pk_b5f7187b7c3926097fee"
}
Try it

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

Delete a session#

DEL/v2/me/sessions/{id}
Path parameters
  • idIdrequired

    A prefixed ID from this org.

Response the deleted object

Returns the object as it was, with deleted: true.

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.

  • 429rate_limited

    Slow down; retry after the Retry-After header.

Example from the mock backend
Request
curl -X DELETE "https://api.ndstill.com/v2/me/sessions/ses_4c71ef45151b6055aa77" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01"
Response 200
{
  "object": "deleted",
  "id": "ses_4c71ef45151b6055aa77"
}
Try it

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

Discover how an email signs in#

GET/v2/auth/discover
Query parameters all optional
  • emailstringrequired
Response AuthDiscovery
  • object"auth_discovery"
  • emailstring
  • domainstring
  • methodstring enum
    "passkey""sso""magic_link""password"
  • orgobject | null
    2 fields
    • namestring
    • workspacestring enum
      null"business""platform""seller""personal"
  • ssoobject | null
    3 fields
    • protocolstring enum
      "saml""oidc"
    • provider_namestring
    • enforcedboolean
  • has_passkeyboolean
Errors
  • 400invalid_request

    A query parameter is invalid.

  • 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/auth/discover?email=dev%40example.com" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01"
Response 200
{
  "object": "auth_discovery",
  "email": "dev@example.com",
  "domain": "example.com",
  "method": "magic_link",
  "org": null,
  "sso": null,
  "has_passkey": false
}
Try it

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

Get the signed-in person#

GET/v2/me
Response Me
  • object"me"
  • userobject
    4 fields
    • namestring
    • emailstring
    • idId
    • avatar_initialsstring
  • orgOrg
    Org: 18 fields
    • 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.

  • roleRole
    "owner""admin""approver""finance""developer""viewer"
  • permissionsPermission[]
  • workspacesWorkspace[]
    Workspace: 6 fields
    • keyWorkspaceKey
      "business""platform""seller""personal"
    • org_idId
    • namestring
    • kindOrgKind
      "business""individual"
    • descriptionstring

      One line for the switcher ("Busy business with 25 agents").

    • roleRole
      "owner""admin""approver""finance""developer""viewer"
  • demoboolean
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/me" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01"
Response 200
{
  "object": "me",
  "user": {
    "id": "usr_01K7WYQ6MEYNYVHTQCVYZCTCDX",
    "email": "dana.whitfield@acme-robotics.example",
    "name": "Dana Whitfield",
    "avatar_initials": "DW"
  },
  "org": {
    "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"
  },
  "role": "owner",
  "permissions": [
    "payments.read",
    "approvals.read",
    "approvals.decide"
  ],
  "workspaces": [
    {
      "key": "business",
      "org_id": "org_A99F918124609C9DAAACB209D8",
      "name": "Acme Robotics",
      "kind": "business",
      "description": "Busy business: 25 agents, 9 connected rails, Accept off",
      "role": "owner"
    },
    {
      "key": "seller",
      "org_id": "org_443B247B2FC3D2A13FAC0AEF86",
      "name": "Northwind Labs",
      "kind": "business",
      "description": "Business with Accept on: sells its data API to agents",
      "role": "owner"
    },
    {
      "key": "personal",
      "org_id": "org_E0256B74CFCD72D5B45157840A",
      "name": "Maya Chen",
      "kind": "individual",
      "description": "Personal workspace: 4 agents with allowances",
      "role": "owner"
    }
  ],
  "demo": true
}
Try it

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

Get login methods#

GET/v2/me/login-methods
Response LoginMethods
  • object"login_methods"
  • usernamestring | null

    Unique across ndStill, 3 to 30 letters, numbers, dots or underscores. Sign in with it or your email.

  • emailstring
  • email_codeboolean

    Sign in with a one-time code sent to your email.

  • passwordobject
    2 fields
    • setboolean
    • updated_atTimestamp | null
  • authenticatorobject
    2 fields
    • enabledboolean
    • added_atTimestamp | null
  • recovery_codesobject
    2 fields
    • remainingnumber
    • created_atTimestamp | null
  • passkeysnumber
  • second_steparray of string enum

    A recovery code also works as the second step, once each.

    "passkey""authenticator""email_code""whatsapp_code""recovery_code"
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/me/login-methods" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01"
Response 200
{
  "object": "login_methods",
  "username": "dana.whitfield",
  "email": "dana.whitfield@acme-robotics.example",
  "email_code": true,
  "password": {
    "set": false,
    "updated_at": null
  },
  "authenticator": {
    "enabled": false,
    "added_at": null
  },
  "recovery_codes": {
    "remaining": 10,
    "created_at": "2026-10-24T00:43:13.426Z"
  },
  "passkeys": 3,
  "second_step": [
    "passkey",
    "email_code",
    "recovery_code"
  ]
}
Try it

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

Get your notification preferences#

GET/v2/me/notification-preferences
Response NotificationPrefs
  • object"notification_prefs"
  • emailstring
  • channelsobject
    4 fields
    • whatsappobject
      2 fields
      • availableboolean
      • detailstring | null
    • slackobject
      2 fields
      • availableboolean
      • detailstring | null
    • pushobject
      2 fields
      • availableboolean
      • detailstring | null
    • emailobject
      2 fields
      • availableboolean
      • detailstring | null
  • topicsobject
    7 fields
    • approvalsobject
      4 fields
      • whatsappboolean
      • slackboolean
      • pushboolean
      • emailboolean
    • disputesobject
      4 fields
      • whatsappboolean
      • slackboolean
      • pushboolean
      • emailboolean
    • freezesobject
      4 fields
      • whatsappboolean
      • slackboolean
      • pushboolean
      • emailboolean
    • connectorsobject
      4 fields
      • whatsappboolean
      • slackboolean
      • pushboolean
      • emailboolean
    • budgetsobject
      4 fields
      • whatsappboolean
      • slackboolean
      • pushboolean
      • emailboolean
    • reconciliationobject
      4 fields
      • whatsappboolean
      • slackboolean
      • pushboolean
      • emailboolean
    • productobject
      4 fields
      • whatsappboolean
      • slackboolean
      • pushboolean
      • emailboolean
  • quiet_hoursobject
    5 fields
    • enabledboolean
    • fromstring
    • tostring
    • time_zonestring
    • urgent_aboveMoney | null

      An amount: integer minor units + asset.

      Money: 2 fields
      • amountnumber
      • assetAssetCode
        "USD""USDC""EUR""GBP"
  • digeststring enum
    "weekly""daily""off"
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/me/notification-preferences" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01"
Response 200
{
  "object": "notification_prefs",
  "email": "dana.whitfield@acme-robotics.example",
  "channels": {
    "email": {
      "available": true,
      "detail": "dana.whitfield@acme-robotics.example"
    },
    "push": {
      "available": true,
      "detail": "ndStill app on iPhone"
    },
    "slack": {
      "available": true,
      "detail": "#acme-robotics-approvals"
    },
    "whatsapp": {
      "available": false,
      "detail": "Your org turned off WhatsApp."
    }
  },
  "topics": {
    "approvals": {
      "email": true,
      "push": true,
      "slack": true,
      "whatsapp": false
    },
    "freezes": {
      "email": true,
      "push": true,
      "slack": true,
      "whatsapp": false
    },
    "connectors": {
      "email": true,
      "push": false,
      "slack": true,
      "whatsapp": false
    },
    "budgets": {
      "email": true,
      "push": true,
      "slack": false,
      "whatsapp": false
    },
    "reconciliation": {
      "email": true,
      "push": false,
      "slack": false,
      "whatsapp": false
    },
    "disputes": {
      "email": true,
      "push": false,
      "slack": false,
      "whatsapp": false
    },
    "product": {
      "email": false,
      "push": false,
      "slack": false,
      "whatsapp": false
    }
  },
  "quiet_hours": {
    "enabled": false,
    "from": "22:00",
    "to": "07:00",
    "time_zone": "America/Los_Angeles",
    "urgent_above": {
      "amount": 50000,
      "asset": "USD"
    }
  },
  "digest": "daily"
}
Try it

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

Start authenticator#

POST/v2/me/authenticator
Response AuthenticatorSetup
  • object"authenticator_setup"
  • secretstring
  • otpauth_uristring
  • expires_atTimestamp
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.

  • 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/me/authenticator" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01" \
  -H "Idempotency-Key: $(uuidgen)"
Response 200
{
  "object": "authenticator_setup",
  "secret": "B5347FFBQ7354C35QRED5A2BDB5ER2C5",
  "otpauth_uri": "otpauth://totp/ndStill:dana.whitfield%40acme-robotics.example?secret=B5347FFBQ7354C35QRED5A2BDB5ER2C5&issuer=ndStill&digits=6&period=30",
  "expires_at": "2026-11-23T00:53:13.683Z"
}
Try it

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

Confirm authenticator#

POST/v2/me/authenticator/confirm
Request body AuthenticatorConfirm
  • codestringrequired
Response LoginMethods

The same LoginMethods object as Get login methods.

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/me/authenticator/confirm" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "code": "example"
  }'
Response 400
{
  "object": "error",
  "type": "invalid_request",
  "code": "invalid_request",
  "message": "Enter the six-digit code from your authenticator app.",
  "request_id": "req_7987bf1b00aafa29d409",
  "fields": {
    "code": "Six digits"
  }
}

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.

Remove authenticator#

POST/v2/me/authenticator/remove
Request body JSON
  • step_upstring
Response LoginMethods

The same LoginMethods object as Get login methods.

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/me/authenticator/remove" \
  -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 200
{
  "object": "login_methods",
  "username": "example",
  "email": "dana.whitfield@acme-robotics.example",
  "email_code": true,
  "password": {
    "set": false,
    "updated_at": "2026-11-23T00:43:13.683Z"
  },
  "authenticator": {
    "enabled": false,
    "added_at": null
  },
  "recovery_codes": {
    "remaining": 10,
    "created_at": "2026-10-24T00:43:13.426Z"
  },
  "passkeys": 3,
  "second_step": [
    "passkey",
    "email_code",
    "recovery_code"
  ]
}
Try it

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

Verify a chat link#

POST/v2/me/chat-links/{id}/verify
Path parameters
  • idIdrequired

    A prefixed ID from this org.

Request body ChatLinkVerify
  • codestringrequired
Response ChatLink

The same ChatLink object as Create a chat link.

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/me/chat-links/{id}/verify" \
  -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.

Reply a chat message#

POST/v2/me/chat-messages/{id}/reply
Path parameters
  • idIdrequired

    A prefixed ID from this org.

Request body ChatReply
  • decisionstring enumrequired
    "approve""reject"
  • step_upstring
Response ChatMessage

The same ChatMessage object as List chat messages.

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/me/chat-messages/{id}/reply" \
  -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.

Update notification preferences#

PATCH/v2/me/notification-preferences
Request body JSON
  • topicsobject
    7 fields
    • approvalsobjectrequired
      4 fields
      • whatsappbooleanrequired
      • slackbooleanrequired
      • pushbooleanrequired
      • emailbooleanrequired
    • disputesobjectrequired
      4 fields
      • whatsappbooleanrequired
      • slackbooleanrequired
      • pushbooleanrequired
      • emailbooleanrequired
    • freezesobjectrequired
      4 fields
      • whatsappbooleanrequired
      • slackbooleanrequired
      • pushbooleanrequired
      • emailbooleanrequired
    • connectorsobjectrequired
      4 fields
      • whatsappbooleanrequired
      • slackbooleanrequired
      • pushbooleanrequired
      • emailbooleanrequired
    • budgetsobjectrequired
      4 fields
      • whatsappbooleanrequired
      • slackbooleanrequired
      • pushbooleanrequired
      • emailbooleanrequired
    • reconciliationobjectrequired
      4 fields
      • whatsappbooleanrequired
      • slackbooleanrequired
      • pushbooleanrequired
      • emailbooleanrequired
    • productobjectrequired
      4 fields
      • whatsappbooleanrequired
      • slackbooleanrequired
      • pushbooleanrequired
      • emailbooleanrequired
  • quiet_hoursobject
    5 fields
    • enabledbooleanrequired
    • fromstringrequired
    • tostringrequired
    • time_zonestringrequired
    • urgent_aboveMoney | nullrequired

      An amount: integer minor units + asset.

      Money: 2 fields
      • amountnumberrequired
      • assetAssetCoderequired
        "USD""USDC""EUR""GBP"
  • digeststring enum
    "weekly""daily""off"
Response NotificationPrefs

The same NotificationPrefs object as Get your notification preferences.

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/me/notification-preferences" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01" \
  -H "Content-Type: application/json" \
  -d '{}'
Response 200
{
  "object": "notification_prefs",
  "email": "dana.whitfield@acme-robotics.example",
  "channels": {
    "email": {
      "available": true,
      "detail": "dana.whitfield@acme-robotics.example"
    },
    "push": {
      "available": true,
      "detail": "ndStill app on iPhone"
    },
    "slack": {
      "available": true,
      "detail": "#acme-robotics-approvals"
    },
    "whatsapp": {
      "available": false,
      "detail": "Your org turned off WhatsApp."
    }
  },
  "topics": {
    "approvals": {
      "email": true,
      "push": true,
      "slack": true,
      "whatsapp": false
    },
    "freezes": {
      "email": true,
      "push": true,
      "slack": true,
      "whatsapp": false
    },
    "connectors": {
      "email": true,
      "push": false,
      "slack": true,
      "whatsapp": false
    },
    "budgets": {
      "email": true,
      "push": true,
      "slack": false,
      "whatsapp": false
    },
    "reconciliation": {
      "email": true,
      "push": false,
      "slack": false,
      "whatsapp": false
    },
    "disputes": {
      "email": true,
      "push": false,
      "slack": false,
      "whatsapp": false
    },
    "product": {
      "email": false,
      "push": false,
      "slack": false,
      "whatsapp": false
    }
  },
  "quiet_hours": {
    "enabled": false,
    "from": "22:00",
    "to": "07:00",
    "time_zone": "America/Los_Angeles",
    "urgent_above": {
      "amount": 50000,
      "asset": "USD"
    }
  },
  "digest": "daily"
}
Try it

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

Set password login methods#

POST/v2/me/password
Request body PasswordSet
  • passwordstringrequired
  • current_passwordstring
  • step_upstring
Response LoginMethods

The same LoginMethods object as Get login methods.

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/me/password" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "password": "example",
    "step_up": "passkey_assertion_from_webauthn"
  }'
Response 400
{
  "object": "error",
  "type": "invalid_request",
  "code": "invalid_request",
  "message": "Pick a stronger password.",
  "request_id": "req_b78c4a2acff2d32b9070",
  "fields": {
    "password": "At least 12 characters."
  }
}

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.

Remove password login methods#

POST/v2/me/password/remove
Request body JSON
  • step_upstring
Response LoginMethods

The same LoginMethods object as Get login methods.

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/me/password/remove" \
  -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 200
{
  "object": "login_methods",
  "username": "example",
  "email": "dana.whitfield@acme-robotics.example",
  "email_code": true,
  "password": {
    "set": false,
    "updated_at": "2026-11-23T00:43:13.683Z"
  },
  "authenticator": {
    "enabled": false,
    "added_at": null
  },
  "recovery_codes": {
    "remaining": 10,
    "created_at": "2026-10-24T00:43:13.426Z"
  },
  "passkeys": 3,
  "second_step": [
    "passkey",
    "email_code",
    "recovery_code"
  ]
}
Try it

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

Regenerate recovery codes#

POST/v2/me/recovery-codes
Request body JSON
  • step_upstring
Response RecoveryCodes
  • object"recovery_codes"
  • codesstring[]
  • created_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/me/recovery-codes" \
  -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 200
{
  "object": "recovery_codes",
  "codes": [
    "9EAD-7F1F",
    "9DAD-7D8C",
    "A0AD-8245"
  ],
  "created_at": "2026-11-23T00:43:13.685Z"
}
Try it

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

Sign out other sessions#

POST/v2/me/sessions/revoke-others
Response JSON
  • object"sessions_revoked"
  • revokednumber
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.

  • 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/me/sessions/revoke-others" \
  -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.

Set username login methods#

POST/v2/me/username
Request body UsernameUpdate
  • usernamestringrequired
Response LoginMethods

The same LoginMethods object as Get login methods.

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/me/username" \
  -H "Authorization: Bearer $NDSTILL_API_KEY" \
  -H "Ndstill-Version: 2026-11-01" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "username": "example"
  }'
Response 200
{
  "object": "login_methods",
  "username": "example",
  "email": "dana.whitfield@acme-robotics.example",
  "email_code": true,
  "password": {
    "set": false,
    "updated_at": null
  },
  "authenticator": {
    "enabled": false,
    "added_at": null
  },
  "recovery_codes": {
    "remaining": 10,
    "created_at": "2026-10-24T00:43:13.426Z"
  },
  "passkeys": 3,
  "second_step": [
    "passkey",
    "email_code",
    "recovery_code"
  ]
}
Try it

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