Add message

Saves a message on a reservation. A message for the guest is also delivered to the reservation channel.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Saves a message on a reservation. A message for the guest is also delivered to the reservation channel (Booking.com, Airbnb, Vrbo, Expedia).

Authentication: send the user_guid, b2b_guid and token headers. The account must have your partner integration enabled. See Getting started.

Only rent_id and message are required. A request with only these two fields is saved as an agency message to the guest. If a field has a value that is not allowed, the request returns 400 with the allowed values and no message is saved.

Delivery rules

creatortoAcceptedSent to channel
userguestyesyes, except for source = sms
user, jobowner, customeryesno
ai, api, jobguestyesno (Booking.com also accepts job)
guest, owner, customeruseryesno, saved as an incoming message
guest, owner, customernot userno, 400–
user, job, ai, apiuserno, 400–

📘

AI reply to the guest

Send creator = user and source = ai. Channels deliver only messages with creator = user. A message with creator = ai is saved in MyRent but is not delivered to the guest.

Optional inbox and workflow fields (all optional): ai_handled, ai_needs_human, is_urgent, to_do, important_message (Y / N); op_status (none, todo, follow_up, waiting_guest, waiting_owner, waiting_vendor, done, spam); op_priority (low, normal, high, urgent); op_due_at (local date-time); op_assigned_worker_id; op_note (max 500); ai_model (max 50); ai_reply_text; ai_reply_json; ai_guest_message_flags and ai_reply_flags (array or comma-separated text, max 255); ai_processed_at; cost_json; cost_price (number, 0 or more).

Responses

StatusMeaning
200Message saved. b2b_responses holds the raw channel response, if any.
400Missing or invalid field, or rent_id in the URL and body do not match. Nothing is saved.
401Missing or wrong user_guid / b2b_guid.
403The reservation does not belong to the account.
404Missing or invalid token (empty body).
Path Params
string
required

MyRent reservation ID. Must belong to the account in user_guid.

Body Params
string
required

Reservation ID, the same as in the URL.

string
required

Message text.

string
Defaults to user

Who wrote the message.

string

Who receives the message. Default guest; user when creator is guest, owner or customer.

string
Defaults to api

Channel or system that created the message.

string

Short sender info shown in the inbox, e.g. PartnerApp (max 200).

string

Your own message ID (max 200). Returned by the message read endpoints.

string

MyRent worker who sent the message. Outgoing messages only.

attachments
array

Images: { "file_name", "file_type", "file_content" }. Only image/jpeg and image/png, base64 content, max 1 MB per file, unique file names.

attachments
Headers
string
required

GUID of the MyRent account you work with.

string
required

Your partner GUID, issued by MyRent.

string
required

API token from Auth API Generate token (valid for 1 hour).

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json