Use this when your network blocks direct S3 uploads (e.g. LNA / CASB): the file streams through the API server, so only the API host needs to be reachable. The API rejects anything over 25 MB, but the deployed API runs behind AWS Lambda, whose request payload limit puts the practical ceiling far lower: above 3.5 MB use POST /trips/file/upload-chunked/init → /chunk → /complete, which uploads in 4 MB parts. Returns { id }. To attach the file to a trip field, send that id as the field value — e.g. "a1_pt_service_agreement": "<id>" in the values of POST /trips, or via POST /trips/{id}/data for an existing trip (for a FILES field, a comma-separated list of ids). The file can be uploaded before the trip exists; creating the trip with the id links it. Pass tripId to upload straight to a trip you can access.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
400No file provided, or tripId is not a positive integer
403The caller may not upload files to this trip
404Unknown trip id
