Endpoint
Request Body
string
required
A descriptive label for the key, between 1 and 80 characters. Choose a name that identifies the system or purpose the key is used for, e.g.
"Production Backend" or "GitHub Actions CI".Response — 201 Created
string
The raw API key string. This value is shown once only and cannot be retrieved again. Store it securely before closing the response.
object
Metadata about the newly created key. Contains the same fields as a key object returned by the List Keys endpoint:
id, name, keyPrefix, scopes, lastUsedAt, revokedAt, expiresAt, and createdAt.