Add

Saves an inquiry (booking request) from a guest, optionally with the requested stay.

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

Saves an inquiry (booking request) from a guest for the account, optionally with the requested stay.

inqury.user_id and inqury.b2b_id must match the accounts of the user_guid and b2b_guid headers. The phone number is normalized to international format (00 becomes +), and the guest country is taken from the phone prefix. HTML is removed from the message.

inqury.type is the inquiry channel: web_user, wp2, blp, email, tel, spv, wbc or gbe.

Headers: user_guid, b2b_guid and token. See MyRent User API.

Example request body

{
  "inqury": {
    "user_id": "100",
    "b2b_id": "200",
    "contact_name": "Guest Name",
    "contact_tel": "+385 91 000 0000",
    "contact_email": "[email protected]",
    "type": "wp2",
    "message": "Is the apartment free for these dates?",
    "object_id": "2345"
  },
  "rent": {
    "object_id": "2345",
    "date_from": "2026-12-01",
    "date_until": "2026-12-05",
    "price": 480.00,
    "guests": 2,
    "note": "Late arrival"
  }
}

Responses

CodeMeaning
200Inquiry saved.
204Empty request body.
404Missing or invalid user_guid / token.
500Missing user_id / b2b_id, they do not match the headers, or the inquiry could not be saved. The body holds the message.
Query Params
string
enum
Defaults to Y

Y sends a notification e-mail to the account.

Allowed:
string
enum
Defaults to Y

Y sends a confirmation e-mail to the guest.

Allowed:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

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