Skip to content

API reference

Every list a code can be answered on

Mappings API

GET/v1/mappings/codes/lists

Every official list the code book takes, each code on it with its name, as the pinned rulebook holds them. Only a code on these lists can be an answer.

Status codes

Status Meaning
200 {lists}: each {list, codes}, where codes maps each official code to its name.
401 No usable credential was sent (invalid_credentials).
GET/v1/mappings/codes/lists
Example
curl https://api.certinvo.com/v1/mappings/codes/lists \
  -H "Authorization: Bearer $CERTINVO_API_KEY"
const response = await fetch(`https://api.certinvo.com/v1/mappings/codes/lists`, {
  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/lists",
    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/lists
Every list a code can be answered on
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/lists" \
  -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