Webhook

Document Lookup

​

v2 equivalent: GET_DOCUMENTS (identical request and response).

Augment sends this request to your configured document-lookup endpoint before it collects documents for a load, to see what your system already holds. Augment uses the list to avoid uploading a duplicate.

Clients must configure a GET_DOCUMENTS webhook subscription to receive these requests. Ask your Augment contact to set one up.

This is a GET. The load is in the query string, with no request body.

Respond with 200 and every document on the load:

  • Include documents of any type.
  • Return the full list. A document missing from it looks like "not uploaded yet" and can lead to a duplicate. If you cannot return everything, return an error status.
  • For a load with no documents, return an empty documents array, not a 404.

A non-2xx response, or a body that does not match the schema, counts as a failed request, not as an empty load.

Query Parameters

  • The load's reference in your system.

  • Your internal identifier for the load. Sent when Augment has one, as it is on uploadDocument.

Responses

  • application/json
  • application/json
getgetDocuments
{
  "documents": [
    {
      "documentId": "DOC-1001",
      "name": "bol-12345.pdf",
      "documentType": "BOL",
      "createdDate": "2026-07-01T09:00:00Z",
      "modifiedDate": "2026-07-01T09:00:00Z"
    },
    {
      "documentId": "DOC-1002",
      "name": "signed-pod.jpg",
      "documentType": "POD",
      "createdDate": "2026-07-03T16:42:00Z",
      "modifiedDate": null
    }
  ]
}