KnoxCall Crypto Keys API

Transit encryption keys — encrypt, decrypt, rewrap, sign, verify, and issue JWTs without key material ever leaving KnoxCall.

GitHub OpenAPI

Operations 15

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 /crypto/keys List all transit keys · List crypto keys #
Ask an LLM
“Which transit keys have I created?”
“Are my transit keys sorted by name?”
Tell an agent
List all my transit keys.
Show every transit key I own.
POST /crypto/keys Create a transit key · Create a crypto key #
Ask an LLM
“How do I create a new transit key for encrypting data?”
“Can I create an asymmetric key like RSA or Ed25519 on a Starter plan?”
Tell an agent
Create a transit key named {name}.
Create transit key {name} as a {key_type} key.
GET /crypto/keys/{name} Get a transit key's details · Get crypto key details #
Ask an LLM
“What are the details of one of my transit keys?”
“Can I look up a transit key by its name?”
Tell an agent
Get transit key {name}.
Show the details of transit key {name}.
PATCH /crypto/keys/{name} Set a transit key's deletion safety latch · Update a crypto key #
Ask an LLM
“How do I allow a transit key to be destroyed?”
“Why can't I delete a transit key version right away?”
Tell an agent
Set the deletion safety latch on transit key {name} to {deletion_allowed}.
Allow deletion of transit key {name} by setting deletion_allowed to {deletion_allowed}.
POST /crypto/keys/{name}/rotate Rotate a transit key to a new version · Rotate a crypto key #
Ask an LLM
“How do I mint a new version of a transit key?”
“Do old ciphertexts stay decryptable after a key rotation?”
Tell an agent
Rotate transit key {name}.
Mint a new version of transit key {name}.
DELETE /crypto/keys/{name}/versions/{version} Cryptographically erase a transit key version · Destroy a key version #
Ask an LLM
“How do I permanently erase one version of a transit key?”
“What happens to ciphertexts encrypted with a destroyed key version?”
Tell an agent destructive · confirm first
Destroy version {version} of transit key {name}.
Erase key version {version} from transit key {name}.
POST /crypto/keys/{name}/encrypt Encrypt plaintext with a transit key · Encrypt data #
Ask an LLM
“Can I encrypt a UTF-8 plaintext with my transit key?”
“Which key version is used to encrypt a payload?”
Tell an agent
Encrypt {plaintext} with transit key {name}.
Encrypt binary {plaintext_b64} using transit key {name}.
POST /crypto/keys/{name}/decrypt Decrypt data with a transit key · Decrypt data #
Ask an LLM
“How do I decrypt a ciphertext produced by a transit key?”
“Can I get decrypted plaintext back as UTF-8 instead of base64?”
Tell an agent
Decrypt {ciphertext} with transit key {name}.
Decrypt {ciphertext} with transit key {name} and return plaintext as {format}.
POST /crypto/keys/{name}/rewrap Re-encrypt ciphertext to the active key version · Rewrap a ciphertext #
Ask an LLM
“How do I re-encrypt old ciphertext so it uses the current key version?”
“Does rewrapping expose the plaintext?”
Tell an agent
Rewrap {ciphertext} with transit key {name}.
Re-encrypt ciphertext {ciphertext} on transit key {name} to the active version.
POST /crypto/keys/{name}/sign Sign data with a transit key · Sign data #
Ask an LLM
“How do I sign a payload so it can be verified later?”
“Can I sign a JWT claim with a transit key?”
Tell an agent
Sign {data} with transit key {name}.
Sign {data_b64} with transit key {name} using {hash} and padding {rsa_padding}.
POST /crypto/keys/{name}/verify Verify a signature on data · Verify a signature #
Ask an LLM
“How do I check that a signature was really made by my transit key?”
“Can I verify a JWT signature against a transit key?”
Tell an agent
Verify signature {signature} on {data} with transit key {name}.
Check that signature {signature} on {data_b64} was signed by transit key {name}.
GET /crypto/keys/{name}/public-key Get a transit key's public key · Get public key #
Ask an LLM
“Where do I get the public key for an asymmetric transit key?”
“Can I fetch a specific version of a transit key's public key?”
Tell an agent
Get the public key of transit key {name}.
Get version {version} of the public key for transit key {name}.
POST /crypto/keys/{name}/jwt Sign a JWT with a transit key · Sign a JWT #
Ask an LLM
“How do I sign a JWT so it can be verified later?”
“What algorithm does a JWT get when I sign it with a transit key?”
Tell an agent
Sign a JWT with claims {claims} using transit key {name}.
Sign JWT {claims} with transit key {name} and header overrides {header_overrides}.
POST /crypto/keys/{name}/jwt/verify Verify a JWT and return its claims · Verify a JWT #
Ask an LLM
“How do I check a JWT is valid and get its claims?”
“Can I expect certain claims when verifying a JWT?”
Tell an agent
Verify JWT {token} with transit key {name}.
Verify JWT {token} with transit key {name} and expect claims {expected}.
POST /crypto/keys/{name}/webhook-sign Sign a webhook payload for verification · Sign a webhook payload #
Ask an LLM
“How do I sign a webhook payload so the receiver can verify it?”
“Which HMAC key types can I use to sign webhooks?”
Tell an agent
Sign webhook payload {payload} with transit key {name}.
Sign webhook payload {payload_b64} with transit key {name} using timestamp {timestamp_seconds}.

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-crypto-keys-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-crypto-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: KnoxCall Client Management Crypto Keys 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 (47 KB total) ---
# Full source: https://artifacts.apis.io/knoxcall/openapi/knoxcall-crypto-keys-api-openapi.yml