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