GET
/v1/mappingsReturns this company’s mappings. A mapping is named after an integration, for example “DATEV export” or “SAP INVOIC02”, and has one or more frozen versions. The list gives names and versions only, not the config documents. Fetch one config with /v1/mappings/{version}. You see only your own company’s mappings.
Status codes
| Status | Meaning |
|---|---|
200 |
{mappings: [{name, version, createdAt, confirmedBy, system, retired}]}, one system’s mappings together, then grouped by name, newest first within each name. confirmedBy is the email address of the person who froze that version. It is null for versions frozen before confirmation was recorded. system is the source system the name’s newest version names (its system key), or null. retired is null for a live name, else {into, why, by, at}: the name that holds its decisions now (null when it was retired without a merge), why, the person’s email address (null when Certinvo retired an identical copy itself), and when. A retired name’s versions are all still listed and readable, and none of them reads a new file. |
401 |
No usable credential was sent (invalid_credentials). |
GET
/v1/mappingsExample
curl https://api.certinvo.com/v1/mappings \
-H "Authorization: Bearer $CERTINVO_API_KEY"const response = await fetch(`https://api.certinvo.com/v1/mappings`, {
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",
headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text)200
No response body.
Success response