Download a report as CSV
GET
/reports/{id}/export
const url = 'https://api.krakenkey.io/reports/example/export?format=csv';const options = {method: 'GET', 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 GET \ --url 'https://api.krakenkey.io/reports/example/export?format=csv' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Report UUID
Query Parameters
Section titled “Query Parameters”format
string
Responses
Section titled “Responses”CSV file
Report not found