Skip to main content
POST
/
keys
/
create
Create API key
curl --request POST \
  --url https://api.getovra.com/keys/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ownerId": "<string>",
  "label": "<string>"
}
'
{
  "id": "<string>",
  "key": "<string>",
  "ownerId": "<string>",
  "label": "<string>",
  "hint": "<string>"
}

Authorizations

Authorization
string
header
required

API key (sk_...) or Agent token (at_...)

Body

application/json
ownerId
string
label
string

Response

API key created. Store the key value securely.

id
string
key
string

Plaintext API key. Only returned on creation.

ownerId
string
label
string | null
hint
string