curl --request GET \
  --url https://ymmguxlah4.execute-api.eu-west-1.amazonaws.com/v1/documents/{id}
{
  "id": "12345",
  "name": "packing-list-export.pdf",
  "type": "packing_list",
  "ovrsea_shipment_id": "CDEF",
  "link": "https://client.ovrsea.com/documents/packing-list-export.pdf/download",
  "size": 20000,
  "uploaded_at": "2021-10-11"
}

Path Parameters

id
string
required

Response

200
application/json

Fetch a document given its id

curl --request GET \
  --url https://ymmguxlah4.execute-api.eu-west-1.amazonaws.com/v1/documents/{id}
{
  "id": "12345",
  "name": "packing-list-export.pdf",
  "type": "packing_list",
  "ovrsea_shipment_id": "CDEF",
  "link": "https://client.ovrsea.com/documents/packing-list-export.pdf/download",
  "size": 20000,
  "uploaded_at": "2021-10-11"
}

Path Parameters

id
string
required

Response

200
application/json

Fetch a document given its id