post
https://app.hosttools.com/api/sendMessage/
Sends a message to a guest for a specific reservation. Send JSON for a
text-only message, or multipart/form-data to attach images or videos.
Attachments. Add up to 5 files parts, each up to 100 MB:
| Channel | Accepted types |
|---|---|
| Airbnb | JPEG, PNG, MP4 (video/mp4), MOV (video/quicktime) |
| All other channels | JPEG, PNG |
Each part's Content-Type decides its type, so set it on every file.
message is optional when at least one file is attached. Airbnb delivers
each file as its own message after the text, and each one appears as its
own post. postID is the text's post, or the first file's post when
there's no text.
Errors. Each returns 400 with the reason in message:
message | Cause |
|---|---|
Message cannot be empty | No text and no files |
Videos can only be sent to Airbnb guests. | A video sent to a non-Airbnb reservation |
Contains unsupported file types | A file that isn't JPEG, PNG, MP4 or MOV |
File too large | A file over 100 MB |
Unexpected field | More than 5 files, or a file part not named files |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
429Too many requests