Skip to content

API reference

Get a mapping

Mappings API

GET/v1/mappings/{version}

Returns one frozen mapping config exactly as it was confirmed. Frozen configs never change. The same 404 is returned when this company never froze the version, another company did, or the value is not a version.

Path parameters

  • versionstringRequired

Status codes

Status Meaning
200 The frozen mapping config, unchanged since it was confirmed.
401 No usable credential was sent (invalid_credentials).
404 No such mapping config exists for this company (unknown_mapping_config).
GET/v1/mappings/{version}
Example
curl https://api.certinvo.com/v1/mappings/$MAPPING_VERSION \
  -H "Authorization: Bearer $CERTINVO_API_KEY"
const mappingVersion = '1'

const response = await fetch(`https://api.certinvo.com/v1/mappings/${mappingVersion}`, {
  headers: {
    Authorization: `Bearer ${process.env.CERTINVO_API_KEY}`,
  },
})
console.log(response.status, await response.json())
import os

import requests

mapping_version = "1"

response = requests.get(
    f"https://api.certinvo.com/v1/mappings/{mapping_version}",
    headers={"Authorization": f"Bearer {os.environ['CERTINVO_API_KEY']}"},
)
print(response.status_code, response.text)
200
application/json
{}
Success response
GET
/v1/mappings/{version}
Get a mapping
All
›AuthenticationRequiredBearerAuth

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

›Variables1
›Headers2
›Code Snippet
curl -X GET "https://api.certinvo.com/v1/mappings/{version}" \
  -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