POST
Create Api Key
The full key is only returned once at creation. Store it immediately in a secrets manager or environment variable โ€” it cannot be retrieved again. Afterwards, only the key prefix and last four characters are shown (e.g. sk-eesi-โ€ฆabcd).

Authentication

Create your first API key in the dashboard on the API Keys page (/api-keys) after signing in. Once you have a key, you can create additional keys programmatically by authenticating with an existing key:
Keys start with sk-eesi- and are passed as Authorization: Bearer sk-eesi-... on all requests (the X-API-Key header is also accepted). See Authentication for details.

Authorizations

Authorization
string
header
required

An EESI API key (sk-eesi-...) or a Clerk session token.

Headers

authorization
string | null
X-API-Key
string | null

Body

application/json
name
string
required

Response

Successful Response

id
integer
required
name
string
required
key_prefix
string
required
api_key
string
required
created_at
string<date-time>
required
last_four
string | null