Expenses
Download Attachment
Download the binary contents of an attachment by its token. The response is the raw file, not JSON.
get/attachments/{attachment_token}/download
Request
- Base URLhttps://api.everhour.com
- AuthAPI key in header X-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
attachment_tokenstring required
Example:aaaabbbbcccddd.eeefff
Query parameters
inlineboolean
Set to 1 to serve the file inline (Content-Disposition: inline) instead of as an attachment.
Response
OK. The Content-Type header reflects the uploaded file type.
Changes
No recorded changes to this operation across all 2 revisions of this API.