v1
latestOpenAPI 3.0.3Proprietary2026-07-26162247330.6 KBAPI Key
Create API key
Creates an API key. The key_name is a user-specified name for the key. Returns an id and key; the key is a randomly generated, 64-bit token required to access the Neon API. Store the key securely — it is only returned once. API keys can also be managed in the Neon Console. See Manage API keys.
post/api_keys
Request body
Response
Created an API key