Skip to main content

Datasets

Download a file

Downloads a file attached to a record. You don't build this URL: it arrives on the record, as downloadUrl.

GEThttps://api.clickr.cloud/files/{token}
  • No daily limit.
  • Each link works for 1 hour.

Request

curl https://api.clickr.cloud/files/eyJhY2NvdW50SWQiOi…

Daily logs carry a downloadUrl on each entry in files, and each Documents record carries its own. The link is the credential, so it needs no API key: follow it as it is, from code or an assistant. It works for 1 hour.

An expired link and one that was never valid get the same answer. Read the record again for a fresh link.

Path parameters

tokenstringRequired

The signed token at the end of a record's downloadUrl.

Response

200, with the file's bytes, its Content-Type and a Content-Disposition naming the file.

Errors

JSON with an error and, on most, a message saying what to change. All errors

StatusErrorWhen
404Not foundThe link has expired, was revoked or was never valid, or the file is no longer on the record.
502Upstream errorBuildertrend didn't return the file. Try again shortly.