GET
/v1/companiesReturns the companies of your workspace in the key’s environment. A platform uses one company per customer.
A live key lists live companies. A test key lists sandbox companies.
Requires a workspace key. A company key or a signed-in session returns 401 workspace_key_required. Sending a Certinvo-Company header returns 400 company_not_expected.
Response
A 200 answer carries these fields.
- companiesarray of objectRequired
Show 6 child fields
- idstring (uuid)Required
- namestringRequired
- environmentstringRequiredOne of
live,sandbox. - countrystringRequired
- referencestring or nullRequired
The platform's own id for this customer, or null.
- createdAtstring (date-time)Required
Status codes
| Status | Meaning |
|---|---|
200 |
Every company of this workspace in this environment, oldest first. |
400 |
A company was named in the request (company_not_expected). |
401 |
No usable credential was sent (invalid_credentials), or the credential is not a workspace key (workspace_key_required). |
GET
/v1/companiesExample
curl https://api.certinvo.com/v1/companies \
-H "Authorization: Bearer $CERTINVO_API_KEY"const response = await fetch(`https://api.certinvo.com/v1/companies`, {
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/companies",
headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text)200
application/json
{
"companies": [
{
"id": "3f0c2a5e-8d1b-4c7a-9e2f-6b5d4a3c2b1a",
"name": "string",
"environment": "live",
"country": "string",
"reference": "string",
"createdAt": "2026-09-17T09:30:00Z"
}
]
}Success response