KnoxCall Vaults API

Data tokenization vaults — swap sensitive values for format-preserving tokens and detokenize them under audit.

GitHub OpenAPI

Operations 12

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /vaults List token vaults · List vaults #
Ask an LLM
“Which token vaults do I have?”
“Can I page through all my vaults?”
Tell an agent
List my vaults.
Show page {page} of vaults, {per_page} per page.
POST /vaults Create a token vault · Create a vault #
Ask an LLM
“How do I create a vault to tokenize card numbers?”
“Can I create a vault that only allows tokens to certain destinations?”
Tell an agent
Create a {token_format} vault named {name}.
Create vault {name} with token format {token_format} and allowed destinations {allowed_destinations}.
GET /vaults/{nameOrId} Get a vault's details and token stats · Get vault details #
Ask an LLM
“How many tokens are in a vault right now?”
“What are the details of one vault?”
Tell an agent
Show vault {nameOrId}.
Get the token stats for vault {nameOrId}.
PATCH /vaults/{nameOrId} Update a vault's settings · Update a vault #
Ask an LLM
“Can I change the default lifetime of tokens in a vault?”
“How do I disable a vault without deleting it?”
Tell an agent
Set the default TTL of vault {nameOrId} to {default_ttl_seconds} seconds.
Disable vault {nameOrId} by setting enabled to {enabled}.
DELETE /vaults/{nameOrId} Delete a vault and its tokens · Delete a vault #
Ask an LLM
“How do I permanently delete a vault and everything in it?”
“Can I remove a vault I no longer use?”
Tell an agent destructive · confirm first
Delete vault {nameOrId}.
Permanently remove vault {nameOrId} and all its tokens.
POST /vaults/{nameOrId}/rotate Rotate a vault's encryption key · Rotate the vault key #
Ask an LLM
“How do I rotate a vault's encryption key without losing existing tokens?”
“Can I rotate a vault key and keep detokenization working?”
Tell an agent
Rotate the encryption key of vault {nameOrId}.
Mint a new key version for vault {nameOrId}.
GET /vaults/{nameOrId}/tokens List tokens in a vault · List tokens #
Ask an LLM
“Which tokens are stored in a vault?”
“Can I page through a vault's token metadata?”
Tell an agent
List the tokens in vault {nameOrId}.
Show page {page} of tokens in vault {nameOrId}, {per_page} per page.
POST /vaults/{nameOrId}/tokens Tokenize a sensitive value · Tokenize a value #
Ask an LLM
“How do I turn a card number into a token?”
“Can I set a custom lifetime on a single token?”
Tell an agent
Tokenize {value} in vault {nameOrId}.
Tokenize {value} in vault {nameOrId} with a lifetime of {ttl_seconds} seconds.
POST /vaults/{nameOrId}/tokens/bulk Tokenize many values at once · Tokenize values in bulk #
Ask an LLM
“Can I tokenize up to 1000 values in one call?”
“How do I bulk-tokenize a list of card numbers?”
Tell an agent
Tokenize these values in vault {nameOrId}: {values}.
Bulk-tokenize {values} into vault {nameOrId}.
GET /vaults/{nameOrId}/tokens/{idOrToken} Reveal a token's original value · Detokenize (reveal the value) #
Ask an LLM
“How do I get the original card number back from a token?”
“Why can't I detokenize a PAN vault?”
Tell an agent
Detokenize token {idOrToken} in vault {nameOrId}.
Reveal the original value behind token {idOrToken} from vault {nameOrId}.
PATCH /vaults/{nameOrId}/tokens/{idOrToken} Replace a token's metadata · Update token metadata #
Ask an LLM
“Can I change the metadata stored with a token?”
“How do I update a token's metadata object?”
Tell an agent
Set the metadata of token {idOrToken} in vault {nameOrId} to {metadata}.
Replace the metadata on token {idOrToken} in vault {nameOrId}.
DELETE /vaults/{nameOrId}/tokens/{idOrToken} Delete a token · Delete a token #
Ask an LLM
“How do I permanently delete a single token?”
“Can I remove one token from a vault without deleting the vault?”
Tell an agent destructive · confirm first
Delete token {idOrToken} from vault {nameOrId}.
Permanently remove token {idOrToken} in vault {nameOrId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/knoxcall:knoxcall-vaults-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

knoxcall-vaults-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: KnoxCall Client Management Vaults API
  version: '1.0'
  description: 'The KnoxCall Client Management API provides programmatic access to manage your API gateway

    resources including routes, secrets, clients, environments, webhooks, and API keys. ## Authentication


    All requests must include an OAuth 2.1 access token **or** a legacy API key. The

    recommended path for new integrations is the first-party SDKs, which mint, cache, and

    refresh OAuth tokens for you (start with `knoxcall login` on a developer machine, or

    `KNOXCALL_CLIENT_ID` / `KNOXCALL_CLIENT_SECRET` in CI). You can authenticate using any of:


    - **Authorization header (OAuth 2.1 bearer token — recommended)**: `Authorization: Bearer `

    - **Authorization header (legacy API key)**: `Authorization: Bearer tk_xxx_yyy`

    - **x-api-key header (legacy API key)**: `x-api-key: tk_xxx_yyy`


    OAuth 2.1 access tokens (`kc_` prefix) are minted at the root-host token endpoint

    `https://api.knoxcall.com/oauth/token` (not under `/v1`) using the `client_credentials`

    or `authorization_code` grant. See the `OAuth2` security scheme and the `/oauth/*`

    endpoints. Some resources that are managed exclusively through OAuth reject API-key auth

    with a `403 use_oauth` error. Long-lived API keys remain fully supported. They come in three types:

    - **Standard keys** (`tk_` prefix) are used on the production API (`api.knoxcall.com`). - **Test keys** (`tk_` prefix, type=test) are used on the sandbox API (`sandbox.knoxcall.com`). - **Enterprise Access Keys** (`AKE` prefix) follow the format `AKE[16chars]:[40chars]`. Using a test key on the production API (or vice versa) will return a `403 wrong_key_type` error. ## Request IDs


    Every response — success or error — includes an `X-Request-Id` response header (a UUID). Its value is identical to the `request_id` field in the response body (`meta.request_id`

    on success, `error.request_id` on error). Quote it when contacting support. ## API Versioning


    The API is versioned on two axes:


    - **Major version — the `/v1` path prefix.** Breaking changes ship under a new major

    (`/v2`). `/v1` never receives a breaking change. - **Minor version — the `KnoxCall-Version` header (dated, `YYYY-MM-DD`).** Send

    `KnoxCall-Version: 2026-08-05` to pin the behaviour of a specific dated release. Omit

    the header to get the newest minor version. Every response echoes the resolved version

    back in a `KnoxCall-Version` response header. Within a major version, **additive changes are not breaking** and may appear without a new

    dated version: new endpoints, new optional request fields, new response fields, new

    `error.type` values, and new enum members. Clients must tolerate unknown response fields

    and unknown `error.type` values (see the `ErrorResponse` schema). An **unknown or malformed** `KnoxCall-Version` value returns `400` with

    `error.type: invalid_api_version`. ## Rate Limiting


    API keys can have optional rate limits configured. When a limit is configured, the

    following headers are emitted on **every** response (not only `429`s):

    - `X-RateLimit-Limit` -- maximum requests allowed per window

    - `X-RateLimit-Remaining` -- remaining requests in the current window

    - `X-RateLimit-Reset` -- epoch seconds at which the window resets


    When the limit is exceeded the API returns `429` (`rate_limit_exceeded` / `rate_limited`)

    and additionally sets `Retry-After` (seconds until the window resets). ## DPoP sender-constrained tokens, and the server nonce


    A token minted with a `cnf.jkt` binding (DPoP, RFC 9449) requires a `DPoP` proof header

    on every request, signed over the request''s method and canonical public URL. **Every response to a request that carried a `DPoP` header also carries a

    `DPoP-Nonce` response header** -- mints, refusals and successful calls alike, on

    `POST /oauth/token`, `/v1`, the tenant data plane, the self-hosted proxy and the AI

    gateway. The value is stateless and changes every minute; the server accepts the current

    and the previous minute''s, so a nonce is good for 60-120 seconds.'
  contact:
    name: KnoxCall Support
    url: https://knoxcall.com
    email: support@knoxcall.com
  license:
    name: Proprietary
    url: https://knoxcall.com/terms
servers:
- url: https://api.knoxcall.com/v1
  description: Production
- url: https://sandbox.knoxcall.com/v1
  description: Sandbox (test keys only)
security:
- OAuth2: []
- BearerAuth: []
- ApiKeyAuth: []
tags:


# --- truncated at 32 KB (52 KB total) ---
# Full source: https://artifacts.apis.io/knoxcall/openapi/knoxcall-vaults-api-openapi.yml