2X · Schema
APIKeyCreate
Request model for creating an API key.
CompanyMarketingMarketing as a ServiceB2BMarTechMarketing OperationsConsultingArtificial IntelligenceGo-To-MarketRevenue OperationsCommercial IntelligenceCustomer SuccessAI AgentsDemand Generation
Properties
| Name | Type | Description |
|---|---|---|
| customer_id | string | Customer ID the key is scoped to |
| name | string | Friendly name for the API key |
| description | object | Optional description |
| scope | object | Access scope |
| expires_days | object | Number of days until expiration (None = no expiration) |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/2x/json-schema/2x-apikey-create-schema.json",
"title": "APIKeyCreate",
"description": "Request model for creating an API key.",
"x-generated": "2026-11-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/2x-api-keys-api-openapi.yml#/components/schemas/APIKeyCreate",
"properties": {
"customer_id": {
"type": "string",
"title": "Customer Id",
"description": "Customer ID the key is scoped to"
},
"name": {
"type": "string",
"title": "Name",
"description": "Friendly name for the API key"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description",
"description": "Optional description"
},
"scope": {
"$ref": "#/$defs/APIKeyScope",
"description": "Access scope",
"default": "read_only"
},
"expires_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Expires Days",
"description": "Number of days until expiration (None = no expiration)"
}
},
"type": "object",
"required": [
"customer_id",
"name"
],
"$defs": {
"APIKeyScope": {
"type": "string",
"enum": [
"read_only"
],
"title": "APIKeyScope",
"description": "API key access scope - ALL KEYS ARE READ-ONLY"
}
}
}
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/2x-apikey-create"
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.