MyRent User API

Connect one MyRent account to your website or system: properties, prices, reservations, guests, invoices and POS items.

The MyRent User API connects one MyRent account to your own website, channel manager, POS or other system. Use it to read properties, prices and availability, and to create and manage reservations, guests and items.

Base URL

https://api.my-rent.net

Authentication

Send the keys you got from MyRent as HTTP headers on every request:

HeaderUsed byValue
user_guidall endpointsKey of the MyRent account.
b2b_guidmost endpointsYour partner key. MyRent must enable your partner key for the account.
tokenMessages and Inquiry endpointsAPI token from API Token Generation. Valid for 1 hour.

Each endpoint page lists the headers it needs. The POS endpoints need only user_guid.

If you do not have the keys, ask MyRent support.

❗️

Keep the keys secret

user_guid, b2b_guid and the token give access to the account data. Use them only on your server, never in browser or mobile app code, and never share them in e-mails or tickets.

Conventions

  • Dates use yyyy-MM-dd, times HH:mm.
  • IDs are MyRent IDs (property = object_id, reservation = rent_id).
  • Flags use Y / N.
  • Most endpoints accept both GET and POST. JSON bodies are sent with POST.
  • Common IDs: currency 2 = EUR, language 1 = English, country 99 = Croatia.

Errors

CodeMeaning
401Missing or wrong user_guid / b2b_guid, or your partner key is not enabled for the account. The body is a short text, for example Sorry: headers are empty.
404On endpoints that need a token: missing or invalid user_guid / token. No body.
500Invalid data or no access to the property. The body holds the message.