GET
/
user
/
keys
/
{key}
curl --request GET \
  --url https://api.loccus.ai/v1/user/keys/{key} \
  --header 'Authorization: Bearer <token>'
{
  "id": "00000000-0000-0000-0000-000000000000",
  "handle": "key-a",
  "alias": "Key A",
  "token": "2lMFEf/TgA4ydxf6ugnvYjtk4Cv9rTzs5ZyLnchZetc=",
  "createdAt": "2023-01-01T00:00:00.000000Z"
}

To learn how to use the token of an API key to authenticate your API requests, read the bearer tokens page.

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

key
string
required

The handle of the API key.

Response

200 - application/json
id
string
required

The UUID of the API key. Is unique.

handle
string
required

The handle of the API key. Is unique.

alias
string | null
required

The alias of the API key.

token
string
required

The Base64-encoded bearer token of the API key. Is unique.

createdAt
string
required

The date and time when the API key was created.