POST body for `POST /workspaces/{workspaceId}/api-keys`. `label` is the only required field. Constraints: - Caller must be `owner` or `admin` on the workspace (403 otherwise). - Workspace must be on `starter` tier or above (403 + upgrade-required message otherwise). - Maximum 10 active keys per workspace (400 otherwise — revoke unused keys first).
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/nopaque-co-uk/json-schema/nopaque-co-uk-create-api-key-request-schema.json",
"title": "CreateApiKeyRequest",
"description": "POST body for `POST /workspaces/{workspaceId}/api-keys`. `label` is the only\nrequired field. Constraints:\n- Caller must be `owner` or `admin` on the workspace (403 otherwise).\n- Workspace must be on `starter` tier or above (403 + upgrade-required message otherwise).\n- Maximum 10 active keys per workspace (400 otherwise — revoke unused keys first).\n",
"x-generated": "2026-11-29",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/nopaque-co-uk-api-keys-api-openapi.yml#/components/schemas/CreateApiKeyRequest",
"type": "object",
"required": [
"label"
],
"properties": {
"label": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Human-readable label for the key (e.g. `\"CI runner\"`, `\"local dev\"`).\nEditable later via `PATCH /workspaces/{workspaceId}/api-keys/{keyId}`.\n"
}
}
}
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. 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.