Skip to main content
POST
/
api
/
documents
Upload documents
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.) for digital pouch.

Reference Documentation

For more information on import document upload processes, please refer to:

Authorizations

Authorization
string
header
required

Body

multipart/form-data
awbNumber
string
required
Example:

"15712345678"

documentType
enum<string>
required
Available options:
MSDS,
COO,
COI,
Insurance
Example:

"MSDS"

file
file
required

Document file

Response

201 - application/json

Document uploaded

documentId
string
Example:

"doc-123"

awbNumber
string
Example:

"15712345678"

documentType
string
Example:

"MSDS"

uploadedAt
string<date-time>
Example:

"2024-01-01T10:00:00Z"

I