Get an attachment
This operation uses content negotiation to request either a JSON representation of the attachment, or the actual document. Check the OpenAPI specification for more details.
Path parameters
-
ID of the attachment.
GET
/v2/attachments/{id}
curl \
-X GET https://api.memo.bank/v2/attachments/c70bd7bc-58e0-4fdb-8c1f-70186e0de587
Response examples (200)
{
"id": "db2b50c0-a943-4eb1-a69f-fa37f112daa8",
"transaction_id": "20588f37-0ca6-4abd-80ae-1964d601b516",
"filename": "document.pdf",
"size": 42,
"mime_type": "application/pdf",
"date": "2024-05-04T09:42:00+00:00",
"is_deleted": true
}