Create a read-only share link (replaces any existing link)
POST
/reports/{id}/share
const url = 'https://api.krakenkey.io/reports/example/share';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.krakenkey.io/reports/example/share \ --header 'Authorization: Bearer <token>'The link works without login for 30 days. The token is returned once and only its hash is stored.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Report UUID
Responses
Section titled “Responses”{ url, token, expiresAt }
Report not found