Skip to main content

List Daily Files

GET
/download/{client_id}

Use this endpoint to get a list of available daily files in JSON format. This endpoint should generally be used before downloading a file in order to check the file size and determine whether byte serving is necessary.

Response Fields

FieldRequiredType

checksum

A checksum of the file which can be used to ensure the downloaded file contains what was expected.

Optional
String

event_type

This will be one of CREATED, UPDATED, or DELETED.

Optional
String

file_size

The size of the file in bytes.

Optional
Integer

guid

The unique identifier for the daily file. Defined by MX.

Optional
String

name

The file name.

Optional
String

number_of_records

The number of records in the daily file.

Optional
Integer

resource_type

The resource whose change records are contained in the file, for example, ACCOUNTS, USERS, TRANSACTIONS, etc.

Optional
String

Request sample

Request
Language:shell

_10
curl -X GET https://int-logs.moneydesktop.com/download/{client_id} \
_10
-H 'Accept: application/vnd.mx.logs.v1+json' \
_10
-H 'MD-API-KEY: {api_key}'

Response sample

200
Language:json

_23
{
_23
"daily_snapshot_files": [
_23
{
_23
"checksum": "939a313512aaf97b88732af822e3e10565ff038bdb18ed0e7d9c0a1e83601cb1",
_23
"event_type": "CREATED",
_23
"file_size": 3834,
_23
"guid": "SLF-d7c8e264-4022-43bb-a0b8-515f2a21d7bf",
_23
"name": "CLT-942128c7-62fd-42f1-a46f-86fe1bb1c330.2023-11-08.accounts.created",
_23
"number_of_records": 0,
_23
"resource_type": "ACCOUNTS"
_23
},
_23
{
_23
"checksum": "6a9c444d27a64a2dac662573b4725f7a153094af6f6ff90f81f45a95f638a058",
_23
"event_type": "UPDATED",
_23
"file_size": 3834,
_23
"guid": "SLF-95212615-b5d5-4516-b3e1-950ebf1c48ba",
_23
"name": "CLT-942128c7-62fd-42f1-a46f-86fe1bb1c330.2023-11-08.accounts.updated",
_23
"number_of_records": 0,
_23
"resource_type": "ACCOUNTS"
_23
},
_23
•••
_23
]
_23
}