Expenses
Add Attachment To Expense
Attach a previously uploaded file (by its token from POST /attachments) to an existing expense.
post/expenses/{expense_id}/attachments
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
expense_idnumber required
Example:7810
Expense ID
Request body
Example request
{
"name": "avatar.jpg",
"type": "expense"
}Response
Created
Example response
{
"id": 514,
"name": "avatar.jpg",
"token": "9a04b8a1fb99cbfadf3386ad6a338c14"
}Changes
No recorded changes to this operation across all 2 revisions of this API.