cURL
curl --request GET \ --url https://api.sandbox.goteal.co/documents/{document_id} \ --header 'X-API-KEY: <api-key>'
{ "document_id": "95a0e70b-fe02-4f47-aef9-2efff279df71", "file_name": "payslip1.pdf", "document_external_id": "payslip123456", "type": "Payslip", "upload_time": "2019-05-17T00:00:00.000Z", "file_contents": "JVBERi0xLjQKJdPr6eEKMSAwIG9iago8PC9UaXRsZSAoS..." }
The id of the file
Document response
The response is of type object.
object