GET
/v1/mappings/codesEvery 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/codesExample
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