API Keys

Create API Key

Create a new API key for the authenticated user. The full secret is returned once in data.key — save it immediately. Subsequent listings only show the prefix. Requires a Privy JWT (web dashboard), or an API key holding the keys:manage scope.

post/v1/api-keys

Request body

namestring

Optional display name for the key.

Response

API key created (full key visible once)