cURL
curl --request GET \ --url https://api.sandbox.goteal.co/documents \ --header 'X-API-KEY: <api-key>'
{ "pagination": { "offset": 75, "limit": 25, "count": 14, "total_count": 89 }, "documents": [ { "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": "/documents/a9249254-ab10-4a2d-b709-eda95f5ecd59" } ] }
ID of the user to get documents for
The offset to start at
x >= 0
The number of items to return
1 <= x <= 100
Document response
The response is of type object.
object