GET
/
documents
/
{document_id}
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..."
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

document_id
string
required

The id of the file

Response

200
application/json

Document response

The response is of type object.