BookingSync

App · 22 actions

Run vacation rentals in BookingSync (Smily): create and update bookings, find free rentals, keep guests and booking notes, record payments, and start workflows when a booking comes in or is canceled.

Actions

ActionWhat it does
Add booking commentAdd a staff comment to a booking.
Cancel bookingCancel a booking, freeing the rental's calendar.
Cancel paymentCancel a recorded payment.
Create bookingBook a rental for a stay, or block it as unavailable, with a guest and prices if given.
Create guestAdd a guest, with an email, phone and address if given.
Create inquiryAdd an inquiry from a prospective guest about a rental, such as one from a website form.
Delete booking commentDelete a booking comment.
Find available rentalsFind the rentals free between two dates, optionally for a number of guests.
Get accountGet the BookingSync account the connection reaches: its business name, email and status.
Get bookingGet one booking with its dates, guests, prices and rental.
Get guestGet one guest with their emails, phones and addresses.
Get rentalGet one rental with its size, prices and check-in and check-out times.
List booking commentsList the comments staff left on the account's bookings.
List booking sourcesList the sources bookings come from, such as Airbnb or your website.
List bookingsList bookings, by default future ones that aren't canceled, with filters for dates, status, rental, guest and changes.
List guestsList the account's guests, optionally only those changed since a time.
List inquiriesList the inquiries guests sent about the account's rentals.
List paymentsList the payments recorded on the account's bookings.
List rentalsList the account's rentals (properties), optionally only those changed since a time.
Record paymentRecord a payment a guest made for a booking outside BookingSync, such as cash or a wire transfer.
Update bookingChange a booking's dates, guest, numbers, prices, notes or door code.
Update guestChange a guest's name, company or notes.

Add booking comment

Add a staff comment to a booking.

Inputs

Booking IDbooking_idtextRequired
The booking's ID, from 'List bookings' or an earlier step.
CommentcontenttextRequired
The comment, up to 6000 characters.
Visible to all usersvisible_to_all_userstrue/false
Off to hide it from users with limited roles, such as cleaners.

Outputs

commentobject
The new comment
Example output
{
  "comment": {
    "content": "Guest asked for a cot.",
    "created_at": "2026-11-30T15:08:04Z",
    "editable": true,
    "id": 3,
    "links": {
      "account": 7,
      "booking": 203
    },
    "updated_at": "2026-11-30T15:08:04Z"
  }
}

Cancel booking

Cancel a booking, freeing the rental's calendar.

Inputs

Booking IDbooking_idtextRequired
The booking's ID, from 'List bookings' or an earlier step.

Outputs

booking_idtext
The booking canceled
canceledtrue/false
True once it is canceled
Example output
{
  "booking_id": "203",
  "canceled": true
}

Cancel payment

Cancel a recorded payment.

Inputs

Payment IDpayment_idtextRequired
The payment's ID, from 'List payments'.

Outputs

canceledtrue/false
True once it is canceled
payment_idtext
The payment canceled
Example output
{
  "canceled": true,
  "payment_id": "2"
}

Create booking

Book a rental for a stay, or block it as unavailable, with a guest and prices if given.

Inputs

Rentalrental_idtextRequired
The rental. Pick one, or give its ID.
Arrival datestart_datedateRequired
The day the guest arrives.
Departure dateend_datedateRequired
The day the guest leaves.
Arrival timearrival_timetime
Check-in time, in the rental's local time. Defaults to the rental's check-in time.
Departure timedeparture_timetime
Check-out time, in the rental's local time. Defaults to the rental's check-out time.
Kindstatustext
A booking, or a blocked (unavailable) period. Defaults to a booking.One of: booked (Booked (default)), unavailable (Unavailable (blocked)). Default: booked.
Guestguest_idtext
The guest staying.
Adultsadultsnumber
How many adults.At least 0.
Childrenchildrennumber
How many children.At least 0.
Priceinitial_pricenumber
The price before any discount.At least 0.
Final pricefinal_pricenumber
The price after any discount.At least 0.
Currencycurrencytext
Three-letter currency code, such as `EUR`.
Notesnotestext
Notes on the booking.

Outputs

bookingobject
The new booking
Example output
{
  "booking": {
    "adults": 4,
    "children": 2,
    "currency": "EUR",
    "end_at": "2026-12-19T10:00:00Z",
    "end_at_global": "2026-12-19T09:00:00Z",
    "final_price": "2700.0",
    "id": 203,
    "initial_price": "3000.0",
    "links": {
      "account": 7,
      "client": 37,
      "rental": 16,
      "source": 1
    },
    "notes": "Late arrival",
    "reference": "00203A",
    "start_at": "2026-12-12T16:00:00Z",
    "start_at_global": "2026-12-12T15:00:00Z",
    "status": "Booked",
    "updated_at": "2026-11-30T15:08:04Z"
  }
}

Create guest

Add a guest, with an email, phone and address if given.

Inputs

Full namefullnametextRequired
The guest's full name.
Emailemailtext
Email address.
Phonephonetext
Phone number.
Addressaddress1text
Street address.
Citycitytext
City.
ZIP codezip_codetext
ZIP or postal code.
Country codecountry_codetext
Two-letter country code, such as `FR`.
Companycompanytext
Company name.
Notesnotestext
Notes about the guest.

Outputs

guestobject
The new guest
Example output
{
  "guest": {
    "addresses": [
      {
        "address1": "1 Rue Haute",
        "city": "Lyon",
        "country_code": "FR",
        "zip": "69001"
      }
    ],
    "company": "",
    "created_at": "2026-11-30T15:08:04Z",
    "emails": [
      {
        "email": "clementina@example.com",
        "label": "default",
        "primary": true
      }
    ],
    "fullname": "Clementina Kling",
    "id": 37,
    "notes": "",
    "phones": [
      {
        "label": "phone",
        "number": "+33 6 12 34 56 78",
        "primary": true
      }
    ],
    "updated_at": "2026-11-30T15:08:04Z"
  }
}

Create inquiry

Add an inquiry from a prospective guest about a rental, such as one from a website form.

Inputs

Rentalrental_idtextRequired
The rental. Pick one, or give its ID.
First namefirstnametextRequired
The guest's first name.
Last namelastnametextRequired
The guest's last name.
EmailemailtextRequired
The guest's email address.
Arrival datestart_datedate
The day they want to arrive.
Departure dateend_datedate
The day they want to leave.
Adultsadultsnumber
How many adults.At least 1.
Childrenchildrennumber
How many children.At least 0.
Messagemessagetext
Their message, up to 500 characters.
Phonephonetext
Their phone number. Give the country code with it.
Country codecountry_codetext
Their two-letter country code, such as `GB`.

Outputs

inquiryobject
The new inquiry
Example output
{
  "inquiry": {
    "adults": 4,
    "children": 2,
    "country_code": "GB",
    "created_at": "2026-11-30T15:08:04Z",
    "email": "john@example.com",
    "end_at": "2026-12-19T10:00:00Z",
    "firstname": "John",
    "id": 1,
    "lastname": "Smith",
    "links": {
      "booking": 0,
      "rental": 16,
      "source": 0
    },
    "message": "Is there parking?",
    "start_at": "2026-12-12T16:00:00Z"
  }
}

Delete booking comment

Delete a booking comment.

Inputs

Comment IDcomment_idtextRequired
The comment's ID, from 'List booking comments'.

Outputs

comment_idtext
The comment deleted
deletedtrue/false
True once it is gone
Example output
{
  "comment_id": "3",
  "deleted": true
}

Find available rentals

Find the rentals free between two dates, optionally for a number of guests.

Inputs

Fromstart_datedateRequired
The first night.
Untilend_datedateRequired
The departure day.
Adultsadultsnumber
How many adults, to price the stay.At least 1.
Childrenchildrennumber
How many children, to price the stay.At least 0.
Pagepagenumber
Which page of results, from 1. Defaults to the first.At least 1.
Per pageper_pagenumber
How many to return, up to 100.From 1 to 100.

Outputs

countnumber
How many were returned on this page
pagenumber
The page returned
rentalslist
The available rentals
total_pagesnumber
How many pages there are
Example output
{
  "count": 1,
  "page": 1,
  "rentals": [
    {
      "bathrooms_count": 3,
      "bedrooms_count": 4,
      "checkin_time": 16,
      "checkout_time": 10,
      "city": "Nevache",
      "country_code": "FR",
      "currency": "EUR",
      "headline": {
        "en": "Villa in Nevache, France"
      },
      "id": 16,
      "max_price": "600.0",
      "min_price": "420.0",
      "name": "Cottage 1",
      "published_at": "2026-11-30T15:08:04Z",
      "rental_type": "villa",
      "sleeps": 8,
      "updated_at": "2026-11-30T15:08:04Z"
    }
  ],
  "total_pages": 1
}

Get account

Get the BookingSync account the connection reaches: its business name, email and status.

Inputs

None.

Outputs

accountobject
The account
Example output
{
  "account": {
    "business_name": "Alpine Stays",
    "city": "Nevache",
    "country_code": "FR",
    "created_at": "2026-11-30T15:08:04Z",
    "default_locale": "en",
    "email": "hello@example.com",
    "id": 7,
    "status": "active"
  }
}

Get booking

Get one booking with its dates, guests, prices and rental.

Inputs

Booking IDbooking_idtextRequired
The booking's ID, from 'List bookings' or an earlier step.

Outputs

bookingobject
The booking
Example output
{
  "booking": {
    "adults": 4,
    "children": 2,
    "currency": "EUR",
    "end_at": "2026-12-19T10:00:00Z",
    "end_at_global": "2026-12-19T09:00:00Z",
    "final_price": "2700.0",
    "id": 203,
    "initial_price": "3000.0",
    "links": {
      "account": 7,
      "client": 37,
      "rental": 16,
      "source": 1
    },
    "notes": "Late arrival",
    "reference": "00203A",
    "start_at": "2026-12-12T16:00:00Z",
    "start_at_global": "2026-12-12T15:00:00Z",
    "status": "Booked",
    "updated_at": "2026-11-30T15:08:04Z"
  }
}

Get guest

Get one guest with their emails, phones and addresses.

Inputs

Guestguest_idtextRequired
The guest. Pick one, or give its ID.

Outputs

guestobject
The guest
Example output
{
  "guest": {
    "addresses": [
      {
        "address1": "1 Rue Haute",
        "city": "Lyon",
        "country_code": "FR",
        "zip": "69001"
      }
    ],
    "company": "",
    "created_at": "2026-11-30T15:08:04Z",
    "emails": [
      {
        "email": "clementina@example.com",
        "label": "default",
        "primary": true
      }
    ],
    "fullname": "Clementina Kling",
    "id": 37,
    "notes": "",
    "phones": [
      {
        "label": "phone",
        "number": "+33 6 12 34 56 78",
        "primary": true
      }
    ],
    "updated_at": "2026-11-30T15:08:04Z"
  }
}

Get rental

Get one rental with its size, prices and check-in and check-out times.

Inputs

Rentalrental_idtextRequired
The rental. Pick one, or give its ID.

Outputs

rentalobject
The rental
Example output
{
  "rental": {
    "bathrooms_count": 3,
    "bedrooms_count": 4,
    "checkin_time": 16,
    "checkout_time": 10,
    "city": "Nevache",
    "country_code": "FR",
    "currency": "EUR",
    "headline": {
      "en": "Villa in Nevache, France"
    },
    "id": 16,
    "max_price": "600.0",
    "min_price": "420.0",
    "name": "Cottage 1",
    "published_at": "2026-11-30T15:08:04Z",
    "rental_type": "villa",
    "sleeps": 8,
    "updated_at": "2026-11-30T15:08:04Z"
  }
}

List booking comments

List the comments staff left on the account's bookings.

Inputs

Pagepagenumber
Which page of results, from 1. Defaults to the first.At least 1.
Per pageper_pagenumber
How many to return, up to 100.From 1 to 100.

Outputs

booking_commentslist
The comments
countnumber
How many were returned on this page
pagenumber
The page returned
total_pagesnumber
How many pages there are
Example output
{
  "booking_comments": [
    {
      "content": "Guest asked for a cot.",
      "created_at": "2026-11-30T15:08:04Z",
      "editable": true,
      "id": 3,
      "links": {
        "account": 7,
        "booking": 203
      },
      "updated_at": "2026-11-30T15:08:04Z"
    }
  ],
  "count": 1,
  "page": 1,
  "total_pages": 1
}

List booking sources

List the sources bookings come from, such as Airbnb or your website.

Inputs

Pagepagenumber
Which page of results, from 1. Defaults to the first.At least 1.
Per pageper_pagenumber
How many to return, up to 100.From 1 to 100.

Outputs

countnumber
How many were returned on this page
pagenumber
The page returned
sourceslist
The sources
total_pagesnumber
How many pages there are
Example output
{
  "count": 1,
  "page": 1,
  "sources": [
    {
      "created_at": "2026-11-30T15:08:04Z",
      "id": 1,
      "internal": false,
      "name": "Airbnb",
      "position": 1
    }
  ],
  "total_pages": 1
}

List bookings

List bookings, by default future ones that aren't canceled, with filters for dates, status, rental, guest and changes.

Inputs

Ending afterfrom_timedate and time
Only bookings ending after this time. Defaults to now.
Starting beforeuntildate and time
Only bookings starting before this time.
Statusesstatuslist
Only bookings with these statuses.One or more of: booked, tentative (Tentative (on hold)), unavailable (Unavailable (blocked)).
Rentalrental_idtext
Only this rental's bookings.
Guestguest_idtext
Only this guest's bookings.
Include canceledinclude_canceledtrue/false
Also list canceled bookings.
Changed sinceupdated_sincedate and time
Only those changed after this time.
Pagepagenumber
Which page of results, from 1. Defaults to the first.At least 1.
Per pageper_pagenumber
How many to return, up to 100.From 1 to 100.

Outputs

bookingslist
The bookings
countnumber
How many were returned on this page
pagenumber
The page returned
total_pagesnumber
How many pages there are
Example output
{
  "bookings": [
    {
      "adults": 4,
      "children": 2,
      "currency": "EUR",
      "end_at": "2026-12-19T10:00:00Z",
      "end_at_global": "2026-12-19T09:00:00Z",
      "final_price": "2700.0",
      "id": 203,
      "initial_price": "3000.0",
      "links": {
        "account": 7,
        "client": 37,
        "rental": 16,
        "source": 1
      },
      "notes": "Late arrival",
      "reference": "00203A",
      "start_at": "2026-12-12T16:00:00Z",
      "start_at_global": "2026-12-12T15:00:00Z",
      "status": "Booked",
      "updated_at": "2026-11-30T15:08:04Z"
    }
  ],
  "count": 1,
  "page": 1,
  "total_pages": 1
}

List guests

List the account's guests, optionally only those changed since a time.

Inputs

Changed sinceupdated_sincedate and time
Only those changed after this time.
Pagepagenumber
Which page of results, from 1. Defaults to the first.At least 1.
Per pageper_pagenumber
How many to return, up to 100.From 1 to 100.

Outputs

clientslist
The guests
countnumber
How many were returned on this page
pagenumber
The page returned
total_pagesnumber
How many pages there are
Example output
{
  "clients": [
    {
      "addresses": [
        {
          "address1": "1 Rue Haute",
          "city": "Lyon",
          "country_code": "FR",
          "zip": "69001"
        }
      ],
      "company": "",
      "created_at": "2026-11-30T15:08:04Z",
      "emails": [
        {
          "email": "clementina@example.com",
          "label": "default",
          "primary": true
        }
      ],
      "fullname": "Clementina Kling",
      "id": 37,
      "notes": "",
      "phones": [
        {
          "label": "phone",
          "number": "+33 6 12 34 56 78",
          "primary": true
        }
      ],
      "updated_at": "2026-11-30T15:08:04Z"
    }
  ],
  "count": 1,
  "page": 1,
  "total_pages": 1
}

List inquiries

List the inquiries guests sent about the account's rentals.

Inputs

Pagepagenumber
Which page of results, from 1. Defaults to the first.At least 1.
Per pageper_pagenumber
How many to return, up to 100.From 1 to 100.

Outputs

countnumber
How many were returned on this page
inquirieslist
The inquiries
pagenumber
The page returned
total_pagesnumber
How many pages there are
Example output
{
  "count": 1,
  "inquiries": [
    {
      "adults": 4,
      "children": 2,
      "country_code": "GB",
      "created_at": "2026-11-30T15:08:04Z",
      "email": "john@example.com",
      "end_at": "2026-12-19T10:00:00Z",
      "firstname": "John",
      "id": 1,
      "lastname": "Smith",
      "links": {
        "booking": 0,
        "rental": 16,
        "source": 0
      },
      "message": "Is there parking?",
      "start_at": "2026-12-12T16:00:00Z"
    }
  ],
  "page": 1,
  "total_pages": 1
}

List payments

List the payments recorded on the account's bookings.

Inputs

Pagepagenumber
Which page of results, from 1. Defaults to the first.At least 1.
Per pageper_pagenumber
How many to return, up to 100.From 1 to 100.

Outputs

countnumber
How many were returned on this page
pagenumber
The page returned
paymentslist
The payments
total_pagesnumber
How many pages there are
Example output
{
  "count": 1,
  "page": 1,
  "payments": [
    {
      "amount_in_cents": 100000,
      "created_at": "2026-11-30T15:08:04Z",
      "currency": "EUR",
      "email": "clementina@example.com",
      "fullname": "Clementina Kling",
      "id": 2,
      "kind": "wiretransfer",
      "links": {
        "account": 7,
        "bookings": [
          203
        ]
      },
      "notes": "",
      "paid_at": "2026-11-30T15:08:04Z"
    }
  ],
  "total_pages": 1
}

List rentals

List the account's rentals (properties), optionally only those changed since a time.

Inputs

Changed sinceupdated_sincedate and time
Only those changed after this time.
Pagepagenumber
Which page of results, from 1. Defaults to the first.At least 1.
Per pageper_pagenumber
How many to return, up to 100.From 1 to 100.

Outputs

countnumber
How many were returned on this page
pagenumber
The page returned
rentalslist
The rentals
total_pagesnumber
How many pages there are
Example output
{
  "count": 1,
  "page": 1,
  "rentals": [
    {
      "bathrooms_count": 3,
      "bedrooms_count": 4,
      "checkin_time": 16,
      "checkout_time": 10,
      "city": "Nevache",
      "country_code": "FR",
      "currency": "EUR",
      "headline": {
        "en": "Villa in Nevache, France"
      },
      "id": 16,
      "max_price": "600.0",
      "min_price": "420.0",
      "name": "Cottage 1",
      "published_at": "2026-11-30T15:08:04Z",
      "rental_type": "villa",
      "sleeps": 8,
      "updated_at": "2026-11-30T15:08:04Z"
    }
  ],
  "total_pages": 1
}

Record payment

Record a payment a guest made for a booking outside BookingSync, such as cash or a wire transfer. It takes no money.

Inputs

Booking IDbooking_idtextRequired
The booking's ID, from 'List bookings' or an earlier step.
AmountamountnumberRequired
How much was paid, such as 250.50.At least 0.01.
CurrencycurrencytextRequired
Three-letter currency code, such as `EUR`.
Methodpayment_methodtextRequired
How it was paid.One of: cash, cheque, credit-card (Credit card), wiretransfer (Wire transfer), paypal (PayPal (outside BookingSync)), online (Online (outside BookingSync)), travel-cheque (Travel cheque), credits.
Paid atpaid_atdate and timeRequired
When it was paid; must be in the past.
Payerfullnametext
The payer's name.
Payer emailemailtext
The payer's email address.
Notesnotestext
Notes on the payment.

Outputs

paymentobject
The payment recorded
Example output
{
  "payment": {
    "amount_in_cents": 100000,
    "created_at": "2026-11-30T15:08:04Z",
    "currency": "EUR",
    "email": "clementina@example.com",
    "fullname": "Clementina Kling",
    "id": 2,
    "kind": "wiretransfer",
    "links": {
      "account": 7,
      "bookings": [
        203
      ]
    },
    "notes": "",
    "paid_at": "2026-11-30T15:08:04Z"
  }
}

Update booking

Change a booking's dates, guest, numbers, prices, notes or door code. Only the fields given change.

Inputs

Booking IDbooking_idtextRequired
The booking's ID, from 'List bookings' or an earlier step.
Arrival datestart_datedate
A new arrival day.
Departure dateend_datedate
A new departure day.
Arrival timearrival_timetime
Check-in time, in the rental's local time. Defaults to the rental's check-in time.
Departure timedeparture_timetime
Check-out time, in the rental's local time. Defaults to the rental's check-out time.
Guestguest_idtext
A new guest for the booking.
Adultsadultsnumber
How many adults.At least 0.
Childrenchildrennumber
How many children.At least 0.
Priceinitial_pricenumber
The price before any discount.At least 0.
Final pricefinal_pricenumber
The price after any discount.At least 0.
Currencycurrencytext
Three-letter currency code, such as `EUR`.
Notesnotestext
Notes on the booking.
Door codedoor_key_codetext
The door key code for the stay.

Outputs

bookingobject
The booking
Example output
{
  "booking": {
    "adults": 5,
    "children": 2,
    "currency": "EUR",
    "end_at": "2026-12-19T10:00:00Z",
    "end_at_global": "2026-12-19T09:00:00Z",
    "final_price": "2700.0",
    "id": 203,
    "initial_price": "3000.0",
    "links": {
      "account": 7,
      "client": 37,
      "rental": 16,
      "source": 1
    },
    "notes": "Late arrival",
    "reference": "00203A",
    "start_at": "2026-12-12T16:00:00Z",
    "start_at_global": "2026-12-12T15:00:00Z",
    "status": "Booked",
    "updated_at": "2026-11-30T15:08:04Z"
  }
}

Update guest

Change a guest's name, company or notes. Only the fields given change.

Inputs

Guestguest_idtextRequired
The guest. Pick one, or give its ID.
Full namefullnametext
A new full name.
Companycompanytext
A new company name.
Notesnotestext
New notes, replacing the old ones.

Outputs

guestobject
The guest
Example output
{
  "guest": {
    "addresses": [
      {
        "address1": "1 Rue Haute",
        "city": "Lyon",
        "country_code": "FR",
        "zip": "69001"
      }
    ],
    "company": "",
    "created_at": "2026-11-30T15:08:04Z",
    "emails": [
      {
        "email": "clementina@example.com",
        "label": "default",
        "primary": true
      }
    ],
    "fullname": "Clementina Kling",
    "id": 37,
    "notes": "Prefers ground floor",
    "phones": [
      {
        "label": "phone",
        "number": "+33 6 12 34 56 78",
        "primary": true
      }
    ],
    "updated_at": "2026-11-30T15:08:04Z"
  }
}

On this page