Clerk API Keys API

Endpoints for managing API Keys

Operations 8

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

POST /api_keys Create an API key · Create an API Key #
Ask an LLM
“How do I issue an API key to one of my users?”
“Can I give a new API key scopes and an expiration?”
Tell an agent
Create an API key named {name} for subject {subject}.
Create API key {name} for {subject} expiring in {seconds_until_expiration} seconds.
GET /api_keys List API keys for a subject · Get API Keys #
Ask an LLM
“Which API keys have been issued to a given user or organization?”
“Can I include revoked or expired keys when listing API keys?”
Tell an agent
List API keys for subject {subject}.
List API keys for {subject}, including invalid ones ({include_invalid}).
GET /api_keys/{apiKeyID} Retrieve an API key by ID · Get an API Key by ID #
Ask an LLM
“How do I look up the metadata of an API key by its ID?”
“What scopes and claims are on a specific API key?”
Tell an agent
Show API key {apiKeyID}.
Get the metadata of API key {apiKeyID}.
PATCH /api_keys/{apiKeyID} Update an API key's scopes or expiry · Update an API Key #
Ask an LLM
“How do I change the scopes on an existing API key?”
“Can I extend when an API key expires?”
Tell an agent
Update API key {apiKeyID} with scopes {scopes}.
Change the description of API key {apiKeyID} to {description}.
DELETE /api_keys/{apiKeyID} Delete an API key · Delete an API Key #
Ask an LLM
“How do I permanently delete an API key record?”
“Can I remove an API key entirely instead of just revoking it?”
Tell an agent destructive · confirm first
Delete API key {apiKeyID}.
Permanently remove the API key record {apiKeyID}.
GET /api_keys/{apiKeyID}/secret Reveal an API key's secret · Get an API Key Secret #
Ask an LLM
“How do I retrieve the secret value of an API key?”
“Can I get the actual key string again after creating it?”
Tell an agent
Get the secret for API key {apiKeyID}.
Reveal the key string of API key {apiKeyID}.
POST /api_keys/{apiKeyID}/revoke Revoke an API key · Revoke an API Key #
Ask an LLM
“How do I revoke a leaked API key so it stops working?”
“Can I record a reason when revoking an API key?”
Tell an agent destructive · confirm first
Revoke API key {apiKeyID}.
Revoke API key {apiKeyID} because {revocation_reason}.
POST /api_keys/verify Verify an API key secret · Verify an API Key #
Ask an LLM
“How do I check whether an API key presented to my service is valid?”
“What does verification return for an incoming API key secret?”
Tell an agent
Verify API key secret {secret}.
Check whether incoming key {secret} is a valid API key.

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/clerk-com:clerk-com-api-keys-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

clerk-com-api-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Clerk Com API Keys API
  termsOfService: https://clerk.com/terms
  x-logo:
    url: https://clerk.com/_next/image?url=%2Fimages%2Fclerk-logo.svg&w=96&q=75
    altText: Clerk docs
    href: https://clerk.com/docs
  version: '1.0'
  description: 'Operations tagged API Keys across 2 of this provider''s published API definitions: clerk-backend-api-openapi.yml, clerk-frontend-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.clerk.com/v1
- url: https://{domain}.clerk.accounts.dev
  variables:
    domain:
      default: example-destined-camel-13
      description: Your Development Instance Frontend API Domain.
tags:


# --- truncated at 32 KB (44 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/clerk-com/refs/heads/main/openapi/clerk-com-api-keys-api-openapi.yml