Get attachment metadata by id
GET/attachments/:id
Returns the metadata row including download_url. Fetching the bytes still requires GET /attachments/{id}/download with the same scope. Returns the same shape as the rows from the list endpoint. Requires scope finance.attachments. 404 covers both "doesn't exist" and "not in the tenant" — the API does not distinguish.
Request
Responses
- 200
- 401
- 403
- 404
- 500
Get attachment metadata by id
Missing / invalid / expired / revoked token.
Token lacks the finance.attachments scope, or sub does not match any workspace.
Attachment not found within the tenant.
Unhandled server error.