---
title: "postFile"
method: POST
path: "/postFile"
tags: ["Hotel"]
---

# postFile

`POST /postFile`

Attaches a file to a hotel

## Response `200`

200 Response

- PostFileResponse
  - `success` boolean — Returns if the request could be completed
  - `message` string, nullable — To be used in case any error occurs (if success = false). If success = true, it does not exist.
  - `data` object — Details for the uploaded file
    - `fileID` string — uploaded file identifier

---

[API](https://skmtc.net/cloudbeds/apis/cloudbeds-api.md) · [All operations](https://skmtc.net/cloudbeds/apis/cloudbeds-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudbeds/cloudbeds-api/revisions/2faa857793e8/schema)
