Skip to content

API reference

Read your code book

Mappings API

GET/v1/mappings/codes

Every code of yours that the code book answers: on which official list, the official code it means, who saved it and when. Every mapping of yours reads a code here after its own code table, so a code answered once is read by all of them. To download or import the book as a file, use /v1/data-files/codes.

Status codes

Status Meaning
200 {version, codes}: version grows with every change and is 0 for a book never written; each code is {list, code, official, savedBy, savedAt}.
401 No usable credential was sent (invalid_credentials).
GET/v1/mappings/codes
Example
curl https://api.certinvo.com/v1/mappings/codes \
  -H "Authorization: Bearer $CERTINVO_API_KEY"
const response = await fetch(`https://api.certinvo.com/v1/mappings/codes`, {
  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/mappings/codes",
    headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text)
200
No response body.
Success response
GET
/v1/mappings/codes
Read your code book
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/mappings/codes" \
  -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