Upload Document
v1 equivalent:
uploadDocument(flat payload — thedatafields below are sent at the top level, without the envelope).
Sent when a document needs to be associated with a load. workflow is null, because more than one workflow can upload documents and the originating one is not attributable on this event. loadNumber / customerLoadInternalId are the load's references.
Two delivery encodings, selected by your endpoint's configuration:
-
application/json(default): the file bytes are base64-encoded indata.content, wrapped in the standard envelope. -
multipart/form-data(when your endpoint is configured for multipart): the raw file bytes are sent as acontentfile part, and the envelope travels as a JSONenvelopepart whosedataomitscontent.
Fields present on every v2 webhook event.
- Type: string | nullcustomer
Load Internal Id requiredYour internal load ID, if provided during load creation
- Type: object ·datarequired
Document upload data payload. In
multipart/form-datadeliveries,contentis omitted here and sent as thecontentfile part instead. - enumevent
Type const:UPLOAD_DOCUMENTrequiredEvent name for a document upload.
values- U
P L O A D _ D O C U M E N T
- Type: stringidrequired
Unique event identifier (ULID)
- Type: string | nullload
Number requiredYour load reference number
- Type: string Format: date-timeoccurred
At requiredWhen the underlying activity occurred (ISO 8601)
- Type: string | null enumworkflowrequired
The Augment workflow that produced this event, or
nullwhen no single workflow can be attributed. New values may be added over time, so treat this as an open set rather than a fixed list.values- T
R A C K _ A N D _ T R A C E - C
A R R I E R _ S U P P O R T - P
O D _ C O L L E C T I O N - L
O A D _ B U I L D I N G - C
A R R I E R _ S E L E C T I O N - S
C H E D U L I N G - C
U S T O M E R _ S U P P O R T - null
- application/json
- application/json
curl /UPLOAD_DOCUMENT \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"id": "01JR7ZC3M8Q9W2D4F6H8K0N2P4",
"workflow": null,
"occurredAt": "2026-07-01T09:00:00Z",
"loadNumber": "LOAD-12345",
"customerLoadInternalId": "INT-789",
"eventType": "UPLOAD_DOCUMENT",
"data": {
"loadNum": "LOAD-12345",
"internalLoadReference": "INT-789",
"filename": "invoice-1234.pdf",
"fileType": "INVOICE",
"contentType": "application/pdf",
"content": "JVBERi0xLjcKJcTl8uXrp/Og0MTGCg==",
"sizeBytes": 20481,
"checksum": "9f86d081884c7d659a2feaa0c55ad015"
}
}'
{
"summary": {
"total": 1,
"succeeded": 1,
"failed": 1
},
"results": [
{
"filename": "string",
"success": true,
"data": {
"size": 1,
"contentType": "string",
"id": "string"
}
}
]
}