List all attachments
Query parameters
-
transaction_id string(uuid)
Filter attachments by transaction.
-
include_deleted boolean
When set to true, results will include attachments that have been deleted.
Default value is
false
. -
page integer(int32)
Index of the requested page.
Minimum value is
1
. Default value is1
. -
size integer(int32)
Number of elements per page in response.
Minimum value is
1
, maximum value is100
. Default value is10
.
GET
/v1/attachments
curl \
-X GET https://api.memo.bank/v1/attachments
Response examples (200)
{
"results": [
{
"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
}
],
"has_prev": true,
"has_next": true
}