cURL
curl --request POST \ --url https://1a557de0-701c-477d-bedd-433520441dae.mock.pstmn.io/api/documents \ --header 'Authorization: <api-key>' \ --header 'Content-Type: multipart/form-data' \ --form awbNumber=15712345678 \ --form documentType=MSDS \ --form file='@example-file'
{ "documentId": "doc-123", "awbNumber": "15712345678", "documentType": "MSDS", "uploadedAt": "2024-01-01T10:00:00Z" }
Upload ancillary documents (MSDS, COO, COI, etc.) to digital pouch
"15712345678"
MSDS
COO
COI
Insurance
"MSDS"
Document file
Document uploaded
"doc-123"
"2024-01-01T10:00:00Z"