Obter metadados do anexo por 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.
Requisição
Respostas
- 200
- 401
- 403
- 404
- 429
- 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.
Rate limit exceeded for this token. Reads and writes have separate budgets, both on a 1-hour sliding window. The response carries X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset and Retry-After — wait out Retry-After rather than retrying immediately.
Unhandled server error.