CSV Upload
CSV Upload
Generate a presigned URL for bulk hotel stays CSV upload
POST
CSV Upload
CSV Upload
Generate a presigned S3 URL for bulk importing hotel stays via CSV. After uploading the file to the presigned URL, the system automatically processes the CSV rows and creates hotel stay records.Request
Headers
Your API key for authenticationExample:
sk_live_1234567890abcdefYour organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faPartner identifier (e.g.,
dcycle)Body Parameters
Name of the CSV file to uploadExample:
hotel-stays-q1-2025.csvAdditional data context for the upload
Response
Presigned S3 URL — upload your CSV via PUT to this URL
File name as stored
UUID of the created file record
S3 object key where the file will be stored
Confirmation message
UUID of the organization the file belongs to
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: Missing required fields (e.g.file_name)
Related Endpoints
List Hotel Stays
Browse imported hotel stays
Create Hotel Stay
Create a single hotel stay manually

