Response from `POST /workspaces/{workspaceId}/api-keys`. **This is the ONE AND ONLY TIME the raw secret (`rawKey`) is returned by the platform.** Store it securely immediately — subsequent reads (`GET /workspaces/{workspaceId}/api-keys`) return ONLY the prefix and metadata. The platform stores a SHA-256 hash and cannot recover lost keys; lost keys must be revoked and reissued. The `rawKey` format is `nq_<64-hex-chars>` (67 chars total). Use it as the `x-api-key` request header value when calling the api-key gateway (`https://api.nopaque.co.uk`).
{
"$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-response-schema.json",
"title": "CreateApiKeyResponse",
"description": "Response from `POST /workspaces/{workspaceId}/api-keys`. **This is the ONE AND ONLY\nTIME the raw secret (`rawKey`) is returned by the platform.** Store it securely\nimmediately — subsequent reads (`GET /workspaces/{workspaceId}/api-keys`) return\nONLY the prefix and metadata. The platform stores a SHA-256 hash and cannot\nrecover lost keys; lost keys must be revoked and reissued.\n\nThe `rawKey` format is `nq_<64-hex-chars>` (67 chars total). Use it as the\n`x-api-key` request header value when calling the api-key gateway\n(`https://api.nopaque.co.uk`).\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/CreateApiKeyResponse",
"type": "object",
"required": [
"id",
"keyPrefix",
"label",
"createdAt",
"rawKey"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"keyPrefix": {
"type": "string"
},
"label": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"rawKey": {
"type": "string",
"description": "THE FULL SECRET. Returned ONLY on creation. Store immediately and never again.\nUse as the `x-api-key` header on api-key gateway requests.\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.