Skip to navigation

CreateApiKey

View as Markdown
CreateApiKey creates a new API key for the authenticated user's organization. The full key is returned once in the response and cannot be retrieved again.

CreateApiKeyRequest

Request
This endpoint expects an object.
namestring

Human-readable name for the API key

expires_atobject
Optional expiration timestamp. If not set, the key never expires.

CreateApiKeyResponse

Response
This endpoint returns an object.
api_keystring
The full API key. This is shown ONCE and cannot be retrieved again.
infoobject
API key metadata