Build your own rental system on top of MyRent
MyRent is the channel manager and the single source of truth for your properties, prices, availability and reservations. Use the REST API from your own software, or connect an AI assistant through MCP.
One source of truth
Prices and availability you change here are pushed to every connected channel, such as Booking.com and Airbnb.
REST API
JSON over HTTPS with an account API key. Works with any language, scheduler or integration platform.
MCP for AI
The same operations as Model Context Protocol tools for Claude, ChatGPT, Cursor and other MCP clients.
Quick start
Every request is made for one MyRent account and is authorized with that account's API key.
- Ask MyRent support for a Channel Manager API key for your account and for your reservation
source_id(needed to create bookings). The key is shown once; store it like a password. - Send it in the
Authorization: Bearerheader (orX-API-Key). - List your properties, read their content, change their calendar and manage reservations. Add a webhook to hear about new bookings.
curl https://api.channel-manager.info/v1/properties \ -H "Authorization: Bearer $MYRENT_API_KEY"
curl -X POST https://api.channel-manager.info/v1/properties/123/calendar \
-H "Authorization: Bearer $MYRENT_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "values": [ { "date_from": "2027-07-01", "date_until": "2027-07-15", "price": 145, "min_stay": 5 } ] }'
Never put the key in browser JavaScript, mobile apps or public repositories. Full partner documentation with every field, example and webhook verification code: channel-manager.info/docs.
REST API v1
Base URL https://api.channel-manager.info/v1. Dates use yyyy-MM-dd, times yyyy-MM-dd HH:mm:ss in Europe/Zagreb time, numbers use a dot as decimal separator. Each property has one rate: the daily price in the calendar is the price sent to all channels. Errors return { "error": { "message": "..." } } with a 4xx status.
| Method | Path | Description |
|---|---|---|
| Properties and calendar | ||
| GET | /properties | Properties of the account: id, name, location, currency, maximum guests. |
| GET | /availability | Properties free for a whole stay that sleep the guests, with nights and accommodation price, cheapest first. Query: date_from (arrival), date_until (departure), guests. |
| GET | /properties/{id}/calendar | Daily price, minimum and maximum stay, closed, closed to arrival and departure, booked units, availability. Query: date_from, date_until (max 731 days). |
| POST | /properties/{id}/calendar | Change price, min_stay, closed, closed_to_arrival, closed_to_departure for up to 100 periods. Omitted fields keep their value. Changes are synced to channels. |
| Property content (read only) | ||
| GET | /properties/{id}/descriptions | Descriptions per language: title, short_name, motto, short, description, arrival, arrival_guest, welcome, house_rules, price_include, payment_policies, cancellation_policies, facilities, equipment, bedroom, bathroom, environment, vacation_area, free_time_activities, service_availability, landlord, meta_description. Query: language (code such as en; omit for all). |
| GET | /properties/{id}/photos | Photos in display order: public CDN url, width, height, size, sort, main, title, alt, description, category. |
| GET | /properties/{id}/amenities | Amenities of the property: id, code, name, group_id, group_name, extra charge (charge, charge_type, price, paid_mandatory) and description. Query: language (default en). |
| GET | /amenities | MyRent amenity catalog: every amenity a property can have, with id, code, name and group. Query: language (default en). |
| Reservations | ||
| GET | /bookings | Reservations overlapping a stay period, including cancelled ones. Query: date_from, date_until, property_id, limit. |
| GET | /bookings/changes | Change feed: reservations created, changed or cancelled after since. Continue with next_since while has_more is true. |
| GET | /bookings/{id} | One reservation: property, dates, guests, price, status, source (source_id, source_name) and channel reference. |
| POST | /bookings | Create a reservation on a free property: property_id, source_id (required: the reservation source id you receive from MyRent), date_from (arrival), date_until (departure), adults, children, infants, pets, optional price (default: calendar price), guest_name, guest_email, guest_phone, guest_country, channel_reservation_id, note. Returns 201, or 409 when the dates are not free. |
| PATCH | /bookings/{id} | Change any of date_from, date_until, price, guest counts and guest_* contact fields. New nights must be free; the price is not recalculated. |
| POST | /bookings/{id}/cancel | Cancel a reservation and free its dates on all channels. |
| GET | /bookings/{id}/guest | Guest contact: name, phone, e-mail, country and address. Personal data: every call is logged and never cached. Lists and booking details never include it. |
| Webhooks | ||
| GET | /webhooks | Webhooks of the account: id, url, name, active, created. Secrets are never returned. |
| POST | /webhooks | Create a webhook: url (public https, max 200 characters), optional name. Returns 201 with the signing secret, shown only once. At most 5 per account. |
| DELETE | /webhooks/{id} | Delete a webhook. |
| POST | /webhooks/{id}/test | Send a signed ping event and return the receiver's status code and the beginning of its response. |
The machine-readable contract is at /openapi/v1.json. Limit: 120 requests per minute per account.
MCP server
Streamable HTTP endpoint https://mcp.channel-manager.info/mcp with the same API key. Claude Code:
claude mcp add --transport http myrent https://mcp.channel-manager.info/mcp \ --header "Authorization: Bearer $MYRENT_API_KEY"
| Tool | What it does |
|---|---|
| Properties and calendar | |
list_properties | Lists the properties of the account. |
search_available_properties | Properties free for a stay and number of guests, with the stay price. |
get_calendar | Daily prices, restrictions and availability of a property. |
update_calendar | Changes price, minimum stay or availability for a period and syncs channels. |
| Property content (read only) | |
get_property_descriptions | Descriptions of a property in every language or one. |
get_property_photos | Photos of a property with public URLs. |
get_property_amenities | Amenities of a property. |
list_amenities | The MyRent amenity catalog. |
| Reservations | |
list_bookings | Reservations in a stay period. |
get_booking_changes | Reservations changed since a time. |
get_booking | One reservation by id. |
create_booking | Creates a reservation on a free property (needs your source_id). |
update_booking | Changes dates, price, guests or guest contact. |
cancel_booking | Cancels a reservation. |
get_booking_guest | Guest contact of a reservation (logged). |
| Webhooks | |
list_webhooks | Webhooks of the account. |
create_webhook | Creates a webhook and returns its secret once. |
delete_webhook | Deletes a webhook. |
test_webhook | Sends a signed ping to a webhook. |
Example prompts: “Raise all prices in August by 10 euros for the sea-view apartment”, “Which properties are still free next weekend?”, “What bookings came in since yesterday?”
Webhooks
MyRent sends a POST to your webhook URL whenever a reservation of the account is created, changed or cancelled, from any source: MyRent, this API, Booking.com, Airbnb and other channels. The body is JSON with the same booking as GET /v1/bookings/{id}; guest contact is never included.
curl -X POST https://api.channel-manager.info/v1/webhooks \
-H "Authorization: Bearer $MYRENT_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "url": "https://example.com/myrent/webhook", "name": "my PMS" }'
{
"event": "booking.created",
"delivery_id": "1f6c2d9e-...",
"occurred_at": "2027-06-01T08:15:00Z",
"booking_id": "2526334",
"property_id": "123",
"booking": { "id": 2526334, "object_id": 123, "from_date": "2027-07-10", "until_date": "2027-07-17", "...": "..." }
}
| Header | Meaning |
|---|---|
X-MyRent-Event | booking.created, booking.changed, booking.cancelled or ping (test). |
X-MyRent-Delivery | Unique id of the delivery; use it to ignore duplicates. |
X-MyRent-Timestamp | Unix time in seconds when the request was signed. |
X-MyRent-Signature | sha256= + lowercase hex HMAC-SHA256 of timestamp + "." + raw body, keyed with the webhook secret. |
Verify the signature on the raw body before parsing it, and reject timestamps older than 5 minutes. Node.js:
const crypto = require("crypto");
function verify(raw_body, headers, secret) {
const timestamp = headers["x-myrent-timestamp"];
const expected = "sha256=" + crypto.createHmac("sha256", secret).update(timestamp + "." + raw_body).digest("hex");
const fresh = Math.abs(Date.now() / 1000 - Number(timestamp)) < 300;
return fresh && crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(headers["x-myrent-signature"] || ""));
}
Answer with any 2xx within 10 seconds; redirects are not followed. Each event is sent once, without retries, so use GET /v1/bookings/changes to catch up after downtime. Webhook URLs must be public https addresses.
Roadmap
- Now: properties, availability search, daily calendar (prices, restrictions, availability), reservations (list, detail, change feed, create, change, cancel), logged guest contact, signed reservation webhooks, property descriptions, photos and amenities (read only).
- Later: changing descriptions and amenities, photo upload, OAuth sign-in for AI connectors.