Deskhero Developer Hub
Back to deskhero.com
Files

Download

Redirects to a pre-signed storage URL that is valid for 30 minutes, using the filename from the path as the download filename. Access is derived from the entity the file hangs on (ticket, list entry or knowledge base article) or from having uploaded it, the result is cached per entity, and files whose malware scan is still running can be downloaded while files in other states cannot.

GET /api/{tenant:minlength(2)}/v{version:apiVersion}/files/download/{id}/{entity}/{entity_id}/{filename}
Authorisation
Minimum role: USER

Request arguments

Name Type Source
idInt32
entityString
entity_idString
filenameString
Request body example

Response

Status
302 (Found)
Type
Void
Wrapper
Other statuses
400 (BadRequest), 403 (Forbidden)
Response body example

Generated Aug 4, 2026 18:37