Skip to content

API reference

Get the company's consent to AI reading of its PDFs

Other routes API

GET/v1/company/ai-reading

Returns 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-reading
Example
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
GET
/v1/company/ai-reading
Get the company's consent to AI reading of its PDFs
All
›AuthenticationRequiredBearerAuth

Provide your API key in the Authorization: Bearer <key> header. Keys are stored locally in your browser.

›Headers2
›Code Snippet
curl -X GET "https://api.certinvo.com/v1/company/ai-reading" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response

No request sent yet

Configure parameters and click Send to view the response.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close