Getting Started With Your API

How to connect to the MyRent Customer API: base URL, the four authentication headers and the recommended sync flow.

The Customer API lets a customer read the properties that a MyRent agency has assigned to it, keep prices and content in sync, and create, update and delete reservations.

Base URL

https://api.my-rent.net/customer/..., for example https://api.my-rent.net/customer/list.

Authentication

Every Customer API request needs four headers:

HeaderValue
user_guidGUID of the MyRent account.
tokenAPI token from Generate token, valid for 1 hour.
keyYour Customer API key.
authorizationYour Customer API GUID (without Bearer).

A missing or invalid token returns 404 with an empty body. Missing or wrong key / authorization return 401. A property that is not assigned to you returns 403 ("Can't touch this!").

Recommended sync flow

Save the id_hash returned by Reservation add; it identifies the reservation in update and delete.

Dates use yyyy-MM-dd. See Getting started for formats and error codes.