List a deal's documents (metadata)
GET
/api/integrations/v1/deals/{id}/documents
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Get, RequestUri = new Uri("https://app.quatlasglobal.com/api/integrations/v1/deals/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/documents"), Headers = { { "Authorization", "Bearer <token>" }, },};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://app.quatlasglobal.com/api/integrations/v1/deals/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/documents")) .header("Authorization", "Bearer <token>") .method("GET", HttpRequest.BodyPublishers.noBody()) .build();HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());System.out.println(response.body());const url = 'https://app.quatlasglobal.com/api/integrations/v1/deals/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/documents';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.quatlasglobal.com/api/integrations/v1/deals/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/documents \ --header 'Authorization: Bearer <token>'Requires the documents:read scope. The current version of each document in the deal’s vault, newest first: category, file name, when and by which side it was uploaded, and its malware scan status. Never the file itself: download a Clean one through /documents/{id}/download.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Responses
Section titled “Responses”OK
Media typeapplication/json
object
dealId
required
string format: uuid
dealNumber
The deal’s business number (DEAL-206447).
null | string
items
required
Array<object>
object
category
required
The document’s category (CommercialInvoice, PackingList, BillOfLading, …).
string
dealId
required
string format: uuid
fileName
required
string
id
required
string format: uuid
scanStatus
required
Malware scan: Clean, Pending, Infected or Failed. Only a Clean document can be downloaded.
string
uploadedAt
required
string format: date-time
uploadedBySide
required
Which side uploaded it: Shipper or Carrier.
string
livemode
required
boolean
Examplegenerated
{ "dealId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "dealNumber": "example", "items": [ { "category": "example", "dealId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "fileName": "example", "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "scanStatus": "example", "uploadedAt": "2026-04-15T12:00:00Z", "uploadedBySide": "example" } ], "livemode": true}Unauthorized
Media typeapplication/problem+json
object
detail
null | string
instance
null | string
status
null | integer | string format: int32
title
null | string
type
null | string
Examplegenerated
{ "detail": "example", "instance": "example", "status": 1, "title": "example", "type": "example"}Forbidden
Media typeapplication/problem+json
object
detail
null | string
instance
null | string
status
null | integer | string format: int32
title
null | string
type
null | string
Examplegenerated
{ "detail": "example", "instance": "example", "status": 1, "title": "example", "type": "example"}Not Found
Media typeapplication/problem+json
object
detail
null | string
instance
null | string
status
null | integer | string format: int32
title
null | string
type
null | string
Examplegenerated
{ "detail": "example", "instance": "example", "status": 1, "title": "example", "type": "example"}Too Many Requests
Media typeapplication/problem+json
object
detail
null | string
instance
null | string
status
null | integer | string format: int32
title
null | string
type
null | string
Examplegenerated
{ "detail": "example", "instance": "example", "status": 1, "title": "example", "type": "example"}