Skip to main content
POST
Generate new API key

Authorizations

X-API-Key
string
header
required

API key for authentication (format: vr_...)

Body

application/json
keyName
string
required

A descriptive name for the API key

Example:

"CI/CD Key"

Response

API key generated

plainKey
string

Only returned once at generation time

Example:

"hf_1234567890abcdef"

keyId
string
Example:

"65ae1234567890abcdef1234"

keyName
string
Example:

"CI/CD Key"

orgId
string
Example:

"65ae1234567890abcdef1234"

createdAt
string<date-time>
expiresIn
string
Example:

"Key expires in 1 year"