documents
Get document download URL
Changed onget/v1/documents/{id}/download_url
Request
- Base URLhttps://api.middesk.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Document ID
Query parameters
disposition'attachment'
Set to attachment to return a URL that downloads the file instead of rendering it inline
Response
download URL returned
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
bearer_authwas added to the API
- warning
- info
api operation id
getDocumentDownloadUrlremoved and replaced withdocuments_getDocumentDownloadUrl
- info