files
Upload a File
Upload a file with a given purpose to Chariot as multipart/form-data.
post/v1/files
Headers
Idempotency-Keystring
Response
The Idempotency-Key had already stored this file, so the existing File is returned and nothing was uploaded again.
Example response
{
"id": "file_01j8rs605a4gctmbm58d87mvsj",
"file_name": "donation_receipt.pdf",
"description": "Donation receipt for donation to the nonprofit",
"purpose": "manual_upload",
"content_type": "application/pdf",
"size_bytes": 20841,
"created_at": "2020-01-31T23:59:59Z",
"updated_at": "2020-01-31T23:59:59Z"
}Changes
Changed in 1 of the 41 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○