Signed Resource Links
About the links
When exporting bookkeeping data from Skovik, we include signed links to relevant resources, such as expenses and refunds. These links provide access to resource data, receipt images and attachments.
They can be imported into your bookkeeping software to make supporting documents available to auditors and others that don't have direct access to Skovik.
Access is restricted based on the signature in the URL. Anyone with the link can access its data, so treat the link as confidential.
The links are accessible for 24 months after the export file was created in Skovik.
A signed expense link looks like this:
https://api.skovik.com/v1/signed/expenses/6165504730efd48252175956?expire-at=1984-01-01&signature=617a959b97cf163b63d673cfAdvanced usage
Resource links support HTML for browsers and JSON for integrations. Select JSON with Accept: application/json.
The JSON response contains a resource in data, including attributes and relationships. Related resources are included in the included array. Receipt images and attachments expose short-lived download URLs.
The following abridged example uses placeholders for the short-lived download URLs:
{
"data": {
"type": "expense",
"id": "6165504730efd48252175956",
"relationships": {
"receipt_images": {
"data": [{ "type": "receipt-image", "id": "60e3013197cf1666da94923d" }]
},
"attachments": {
"data": [{ "type": "attachment", "id": "60e3010997cf1667084179cc" }]
}
}
},
"included": [{
"type": "receipt-image",
"id": "60e3013197cf1666da94923d",
"attributes": {
"src": "https://facade.skovik.net/facade/r/fvojrvv40jxmscg8r7o8zrp1we4djk?expire-at=1949-06-08&max-width=2048&signature=574da17f741cfd7ac07c3c031c699b5065541e2e"
},
}, {
"type": "attachment",
"id": "60e3010997cf1667084179cc",
"attributes": {
"filename": "meeting-agenda.pdf",
"content_type": "application/pdf",
"content_length": 1024,
"src": "https://facade.skovik.net/facade/r/kjd4ew1prz8o7r8gcsmxj04vvrjovf?expire-at=1949-06-08&max-width=2048&signature=e2e1455605b996c130c3c70ca7dfc147f71ad475"
}
}],
"meta": {
"note": "Links expire after 120 minutes, make a new request for fresh links."
}
}The temporary receipt-image and attachment URLs expire after 120 minutes. Request the original signed resource URL again to obtain fresh download URLs.
Updated about 1 month ago
