Skip to content

Get shipping document

GET
/shipping/api/v1/shipments/{id}/documents/{document_type}

Retrieve a specific shipping document for a booked shipment. Returns a 302 redirect to a presigned S3 URL valid for 1 hour.

Documents are stored asynchronously after booking, so they may not be immediately available.

id
required
string

The remote shipment ID

Example
prb8a99eb17
document_type
required
string

The document type identifier (e.g., COMMERCIAL_INVOICE, CUSTOMS_FORM)

Example
COMMERCIAL_INVOICE

Redirect to presigned S3 URL for the document (valid for 1 hour)

Document not found (shipment missing, cancelled, or document type not available)

object
error_messages
required

List of error messages

Array<string>
[
"to_address is required"
]
{
"error_messages": [
"Invalid request parameters"
]
}