EpicDirectories API Keys API

The api-keys API from EpicDirectories — 2 operation(s) for api-keys.

Business capability
Developer Identity & Credential Management BC-4270.40

Operations 5

POST /v1/api-keys Create a new API key #
GET /v1/api-keys List API keys for the account #
GET /v1/api-keys/{keyId} Get API key details #
PATCH /v1/api-keys/{keyId} Update an API key #
DELETE /v1/api-keys/{keyId} Revoke/delete an 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/epicdirectories:epicdirectories-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

epicdirectories-api-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: EpicDirectories API Keys API
  description: API-first directory data platform.
  version: '1.0'
  contact: {}
servers:
- url: https://api.epicdirectories.com
  description: Production
- url: http://localhost:3333
  description: Local development
tags:
- name: API Keys
paths:
  /v1/api-keys:
    post:
      operationId: ApiKeysController_create
      summary: Create a new API key
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateApiKeyDto'
      responses:
        '201':
          description: API key created. The full key is only returned once!
      tags:
      - API Keys
      security:
      - bearer: []
    get:
      operationId: ApiKeysController_findAll
      summary: List API keys for the account
      parameters:
      - name: directoryId
        required: false
        in: query
        description: Filter to keys scoped to this directory. Use the literal string "null" to return only account-wide keys (directoryId IS NULL). Omit to return all keys.
        schema:
          type: string
      responses:
        '200':
          description: List of API keys (without full key value)
      tags:
      - API Keys
      security:
      - bearer: []
  /v1/api-keys/{keyId}:
    get:
      operationId: ApiKeysController_findOne
      summary: Get API key details
      parameters:
      - name: keyId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: API key details (without full key value)
        '404':
          description: API key not found
      tags:
      - API Keys
      security:
      - bearer: []
    patch:
      operationId: ApiKeysController_update
      summary: Update an API key
      parameters:
      - name: keyId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateApiKeyDto'
      responses:
        '200':
          description: API key updated
        '404':
          description: API key not found
      tags:
      - API Keys
      security:
      - bearer: []
    delete:
      operationId: ApiKeysController_remove
      summary: Revoke/delete an API key
      parameters:
      - name: keyId
        required: true
        in: path
        schema:
          type: string
      responses:
        '204':
          description: API key deleted
        '404':
          description: API key not found
      tags:
      - API Keys
      security:
      - bearer: []
components:
  schemas:
    CreateApiKeyDto:
      type: object
      properties:
        name:
          type: string
          description: Name for the API key
          example: Hermes — ConventionGrid
        directoryId:
          type: string
          description: Restrict the key to a single directory. Accepts either the directory UUID or its slug. Omit for an account-wide key.
        scopes:
          type: array
          description: 'Scopes granted to this key. Required — pass `[]` for a read-only key (published listings only). Known scopes: `write` (allow POST/PATCH/PUT/DELETE on listings, attributes, terms, snapshots, webhooks); `read:drafts` (allow read endpoints to surface non-published listings — drafts and hidden); `submissions` (read/action the anonymous submission queue); `reviews` (read/moderate the public review and page-comment queues — approving, and replying to a comment, also need `write`).'
          example:
          - write
          items:
            type: string
            enum:
            - write
            - read:drafts
            - submissions
            - reviews
            - payments
        expiresAt:
          type: string
          description: Expiration date (ISO 8601)
          example: '2025-12-31T23:59:59Z'
      required:
      - name
      - scopes
    UpdateApiKeyDto:
      type: object
      properties:
        name:
          type: string
          description: Updated name for the API key
        scopes:
          type: array
          description: Updated scopes. Omit to leave unchanged; `[]` makes the key read-only (published listings only).
          items:
            type: string
            enum:
            - write
            - read:drafts
            - submissions
            - reviews
            - payments
        expiresAt:
          type: string
          description: Updated expiration date
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
    apiKey:
      type: apiKey
      in: header
      name: x-api-key