Upload Document
v1 equivalent: uploadDocument (flat payload — the data fields 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 in data.content, wrapped in the standard envelope.
-
multipart/form-data (when your endpoint is configured for multipart): the raw file bytes are sent as a content file part, and the envelope travels as a JSON envelope part whose data omits content.
Request
- Base URLhttps://apidocs.goaugment.com (the document declares no server; this is the origin it was published from)
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"data": {
"filename": "invoice-1234.pdf",
"contentType": "application/pdf"
}
}Response
Upload results, including per-file success or failure details
Changes
No recorded changes to this operation across all 1 revision of this API.