Skip to main content
GET
Get Upload

Authorizations

Authorization
string
header
required

Send Authorization: Bearer followed by the full Eaze Customs API credential. The credential looks like EZ__. It is shown only when Eaze Customs creates or rotates it.

Headers

X-Eaze-Client-Ref
string
required

Required. Send the clientRef returned by List Clients. Do not send this header on Get Credential Details or List Clients.

Required string length: 1 - 100
Example:

"ACME-AMS"

Path Parameters

uploadId
string
required

Response

Successful response.

id
string<uuid>
required

Public Upload ID. Send it when you import the file.

purpose
enum<string>
required

shipment_manifest for a shipment file. ncts_items for an NCTS departure goods file.

Available options:
ncts_items,
shipment_manifest
status
enum<string>
required

pending and quarantined are still being checked. available means you can import the file. rejected, expired, and deleted need a new upload.

Available options:
pending,
quarantined,
available,
rejected,
expired,
deleted
filename
string
required

Name of the uploaded file.

contentType
enum<string>
required

Media type of the uploaded file.

Available options:
text/csv,
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
byteLength
number
required

Size of the uploaded file in bytes.

Required range: 1 <= x <= 20971520
sha256
string
required

SHA-256 fingerprint of the uploaded file.

Pattern: ^[0-9a-f]{64}$
scanRequired
boolean
required

Legacy field. True only while file checking is still pending. It does not mean an antivirus scan.

readyForImport
boolean
required

True only when status is available.

expiresAt
string<date-time>
required

When this upload session expires. Date and time in ISO 8601 format. Example: 2026-11-17T10:30:00Z.

rejectionCode
string | null

Why the upload was rejected.

verifiedAt
string<date-time> | null

When the file size and fingerprint were checked. Date and time in ISO 8601 format. Example: 2026-11-17T10:30:00Z.

scannedAt
string<date-time> | null

Time the configured file-safety assessment completed; this does not assert an antivirus scan. Date and time in ISO 8601 format. Example: 2026-11-17T10:30:00Z.

availableAt
string<date-time> | null

When the file became ready to import. Date and time in ISO 8601 format. Example: 2026-11-17T10:30:00Z.

rejectedAt
string<date-time> | null

When the file was rejected. Date and time in ISO 8601 format. Example: 2026-11-17T10:30:00Z.