Create API Key

Create a new API key for programmatic access to the Ternary API. The API key is bound to the authenticated user and inherits their permissions.

Optionally set an expiresAt timestamp; if omitted, the key does not expire. The full key value is returned only in this response — store it securely.

Body Params
date-time

API key expiration

string
required
length ≥ 1

API key name

Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json