AnyHook Api Keys API
The Api Keys API from AnyHook — 2 operation(s) for api keys.
The Api Keys API from AnyHook — 2 operation(s) for api keys.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/anyhook-net:anyhook-net-api-keys-api"
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.
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: 3.2.0
info:
title: Anyhook Net Api Keys API
version: 1.0.0
description: 'Operations tagged Api Keys across 2 of this provider''s published API definitions: openapi.json, anyhook-net-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://anyhook.net
description: Management API
- url: https://in.anyhook.net
description: Ingress (webhook receiver)
security:
- ApiKeyAuth: []
tags:
- name: API Keys
paths:
/api/v1/api-keys:
get:
operationId: listApiKeys
summary: List API keys
description: Returns all API keys for the authenticated user. Keys are returned with prefix only , full key values are never retrievable after creation.
security:
- ApiKeyAuth: []
responses:
'200':
description: List of API keys
content:
application/json:
schema:
type: object
properties:
api_keys:
type: array
items:
$ref: '#/components/schemas/ApiKey'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limit exceeded. Check Retry-After header.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- API Keys
post:
operationId: createApiKey
summary: Create a new API key
description: Creates a new API key. The full key value is returned only once in the response , store it securely.
security:
- ApiKeyAuth: []
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- name
properties:
name:
type: string
minLength: 1
maxLength: 50
description: Human-readable label for this API key.
responses:
'201':
description: API key created. The key field is shown once only , store it securely.
content:
application/json:
schema:
type: object
properties:
key:
type: string
description: Full API key value. Shown once only.
id:
type: string
format: uuid
prefix:
type: string
'400':
description: Validation error (name required, 1-50 chars)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Unauthorized
'429':
description: Rate limit exceeded. Check Retry-After header.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- API Keys
servers:
- url: https://anyhook.net
description: Management API
- url: https://in.anyhook.net
description: Ingress (webhook receiver)
/api/v1/api-keys/{id}/revoke:
patch:
operationId: revokeApiKey
summary: Revoke an API key
description: Permanently revokes an API key. The key will immediately stop working for authentication.
security:
- ApiKeyAuth: []
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
responses:
'200':
description: API key revoked
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Unauthorized
'404':
description: API key not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limit exceeded. Check Retry-After header.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tags:
- API Keys
servers:
- url: https://anyhook.net
description: Management API
- url: https://in.anyhook.net
description: Ingress (webhook receiver)
components:
schemas:
Error:
type: object
properties:
error:
type: string
ApiKey:
type: object
properties:
id:
type: string
format: uuid
name:
type: string
prefix:
type: string
last_used_at:
type:
- string
- 'null'
format: date-time
created_at:
type: string
format: date-time
securitySchemes:
ApiKeyAuth:
type: http
scheme: bearer
bearerFormat: ahk_live_xxx
description: 'API key from Dashboard Settings > API Keys. Format: ahk_live_<32 alphanumeric chars>. Example header: Authorization: Bearer ahk_live_a1b2c3...'
x-refined-from:
- openapi.json
- anyhook-net-openapi.json