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; 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.
Common envelope fields shared by v2 webhook events. Each concrete event schema adds its own eventType and typed data payload.
- 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
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 - 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"
}
}
]
}