Properties
| Name | Type | Description |
|---|---|---|
| name | string | Name for the API key |
| directoryId | string | Restrict the key to a single directory. Accepts either the directory UUID or its slug. Omit for an account-wide key. |
| scopes | array | 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); |
| expiresAt | string | Expiration date (ISO 8601) |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/epicdirectories/json-schema/epicdirectories-create-api-key-dto-schema.json",
"title": "CreateApiKeyDto",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/epicdirectories-api-keys-api-openapi.yml#/components/schemas/CreateApiKeyDto",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name for the API key"
},
"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`).",
"items": {
"type": "string",
"enum": [
"write",
"read:drafts",
"submissions",
"reviews",
"payments"
]
}
},
"expiresAt": {
"type": "string",
"description": "Expiration date (ISO 8601)"
}
},
"required": [
"name",
"scopes"
]
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/epicdirectories-create-api-key-dto"
All schemas
curl "https://apis.io/api/v1/json-schemas?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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.