GET
/v1/company/ai-readingReturns whether the company agreed to have its PDFs read by the AI service our privacy notice names, when mapping a PDF that carries no e-invoice. Off until an owner or admin turns it on. Version 0 means nobody ever chose: it is off. Any credential may read it.
Response
A 200 answer carries these fields.
- enabledbooleanRequired
- versionintegerRequired
- changedAtstring (date-time) or nullRequired
- changedBystring or nullRequired
The person who changed it
Status codes
| Status | Meaning |
|---|---|
200 |
The newest state. |
401 |
No usable credential was sent (invalid_credentials). |
GET
/v1/company/ai-readingExample
curl https://api.certinvo.com/v1/company/ai-reading \
-H "Authorization: Bearer $CERTINVO_API_KEY"const response = await fetch(`https://api.certinvo.com/v1/company/ai-reading`, {
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/company/ai-reading",
headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text)200
application/json
{
"enabled": true,
"version": 0,
"changedAt": "2026-09-17T09:30:00Z",
"changedBy": "string"
}Success response