List the documents on a deal
One call for the whole document picture: everything the client uploaded on the deal, everything that answered a typed request, and what is still outstanding. Cheap enough to poll while you wait for a file, though the request.fulfilled event tells you the moment one lands. Each entry carries a signed download link, so you do not need a second call to fetch it.
Authorization
ApiKeyAuth X-API-Key<token>
Lender keys start with cv_live_; Partner keys start with cv_pk_. Shown once at creation, sent on every request.
In: header
Path Parameters
ref*string
The deal reference, e.g. CV93A41205. Case-insensitive.
Response Body
application/json
application/json
application/json
application/json
Shell
curl -X GET "https://sandbox.capvant.com/deals/string/documents"JSON
{ "documents": [ { "id": "string", "document_type": "string", "filename": "string", "content_type": "string", "size_bytes": 0, "uploaded_at": "2019-08-24T14:15:22Z", "source": "client_upload", "request_id": "string", "url": "string" } ], "outstanding_requests": [ { "request_id": "string", "document_type": "string", "label": "string", "requested_at": "2019-08-24T14:15:22Z" } ], "has_statements": true, "count": 0}