cURL
curl --request GET \ --url https://api.rootfi.dev/v3/download_document/{document_id} \ --header 'api_key: <api-key>'
{ "data": { "rootfi_id": 1112, "rootfi_deleted_at": null, "rootfi_created_at": "2024-01-25T09:00:00Z", "rootfi_updated_at": "2024-01-25T09:00:00Z", "rootfi_company_id": 111, "platform_id": "123456_1", "platform_unique_id": "123456", "file_name": "Example File Name", "file_type": "Example File Type", "file_size": "Example File Size", "document_type_id": "123456", "document_type": "Example Document Type", "document_uploaded": true, "download_url": "https://example.com", "updated_at": "2024-01-25T09:00:00Z" } }
Download a Document.
The ID of the document
The company ID of the document
The data of the documents endpoint
Show child attributes
The unique ID we assign for that data's information
157
The date at which RootFi first synced this data
"2024-01-22T05:07:31.465Z"
The latest date at which RootFi updated this data
"2024-01-22T05:07:31.000Z"
The ID of the company in the accounting platform
1089
An unique custom RootFi ID made from platform's unique_id.
"123456"
The date at which the data was deleted in the accounting platform
The ID of the data in the accounting platform.
A JSON containing fields that you can directly get from the accounting platform.
The hash of the data
The file name of the document
The file type of the document
The file size of the document
The document type ID of the document
The document type of the document
The document uploaded of the document
The download URL of the document
The updated date of the document
The previous page of objects to retrieve
The next page of objects to retrieve
The total count of the objects