GET
/v1/keysReturns this company’s API keys: name, prefix, environment and dates. The secret is never returned.
A secret is shown once when the key is created and is never stored, so a support request can quote only the name and the twelve-character prefix.
Only a signed-in person may call this. An API key is refused with 401 session_required.
Response
A 200 answer carries these fields.
- keysarray of objectRequired
Show 8 child fields
- idstring (uuid)Required
- namestringRequired
The display name, for example "Beispiel ERP".
- prefixstringRequired
The twelve-character lookup prefix. It tells keys apart but cannot be used as a key.
- environmentstringRequiredOne of
sandbox,live. - createdAtstring (date-time)Required
- lastUsedAtstring (date-time) or nullRequired
Updated on every successful use. Null means the key was never used.
- expiresAtstring (date-time) or nullRequired
A planned expiry date. Not set by anything yet.
- revokedAtstring (date-time) or nullRequired
When the key was revoked. A revoked key is refused, and its record is kept.
Status codes
| Status | Meaning |
|---|---|
200 |
{keys: [ApiKey]}, newest first. A key with a non-null revokedAt is revoked and still listed, so the history stays complete. |
401 |
No usable credential was sent (invalid_credentials), or an API key was used where only a signed-in person may act (session_required). |
GET
/v1/keysExample
curl https://api.certinvo.com/v1/keys \
-H "Authorization: Bearer $CERTINVO_API_KEY"const response = await fetch(`https://api.certinvo.com/v1/keys`, {
headers: {
Authorization: `Bearer ${process.env.CERTINVO_API_KEY}`,
},
})
console.log(response.status, await response.json())import os
import requests
response = requests.get(
"https://api.certinvo.com/v1/keys",
headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text)200
application/json
{
"keys": [
{
"id": "3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a",
"name": "string",
"prefix": "string",
"environment": "sandbox",
"createdAt": "2026-09-17T09:30:00Z",
"lastUsedAt": "2026-09-17T09:30:00Z",
"expiresAt": "2026-09-17T09:30:00Z",
"revokedAt": "2026-09-17T09:30:00Z"
}
]
}Success response