Skip to main content
GET
/
v1
/
api-keys
List API Keys
curl --request GET \
  --url https://api.truthlocks.com/v1/api-keys \
  --header 'X-API-Key: <api-key>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "prefix": "<string>",
    "scopes": [
      "<string>"
    ],
    "daily_quota": 123,
    "rate_limit_per_minute": 123,
    "created_at": "2023-11-07T05:31:56Z"
  }
]
Returns all API keys for the authenticated organization. Secrets are masked and not returned in this endpoint.

Parameters

Responses

Authorizations

X-API-Key
string
header
required

API key for machine-to-machine authentication

Response

List of API keys

id
string<uuid>
name
string
prefix
string

First 8 characters of the key

status
enum<string>
Available options:
ACTIVE,
REVOKED
scopes
string[]
daily_quota
integer
rate_limit_per_minute
integer
created_at
string<date-time>