Consumptions CSV Import
Consumptions CSV Import
Generate a presigned URL for bulk vehicle consumption import via CSV
POST
Consumptions CSV Import
Consumptions CSV Import
Generate a presigned S3 upload URL for bulk importing vehicle consumption records via CSV file. After uploading the CSV to the returned URL, the system processes the file asynchronously and creates the consumption records.Request
Headers
Your API key for authenticationExample:
sk_live_1234567890abcdefYour organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faBody Parameters
Name of the CSV file to upload (must end in
.csv)Example: fleet-fuel-q1-2025.csvResponse
Presigned S3 URL to upload the CSV file via PUT request
The file name as stored
UUID of the created file record for tracking
S3 key where the file will be stored
Confirmation message
Example
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key403 Forbidden
Cause: The authenticated user is not a member of the organization422 Unprocessable Entity
Cause: Invalid or missing file name in the request bodyRelated Endpoints
List Consumptions
Browse imported consumption records
Delete by File
Delete all consumptions from a specific import

