Skip to main content

Versioning

The entire API, including the Authorize-endpoint, and GraphQL endpoints are versioned. The version is required on every request, and must be provided via the X-API-Version-header.

Example in shell

curl "api_endpoint_here"

--header 'X-API-Version: 1'

And JavaScript

var myHeaders = new Headers();

myHeaders.append("X-API-Version", "1");

var formdata = new FormData();

var requestOptions = {
method: 'GET',
headers: myHeaders,
body: formdata,
redirect: 'follow'
};

fetch("https://api.prod.kyc.penneo.com/public-api/graphql", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));

Supported versions

VersionRelease dateDeprecation date
101-06-20206 months after version 2