← Plugins

treatwell

Book and manage appointments on Treatwell Greece

View source

Treatwell

Book, reschedule and cancel appointments at beauty and wellness venues on Treatwell Greece. You can see a venue's services, staff and free times, and book with payment at the venue.

Before you install

  • A Treatwell account on treatwell.gr.
  • A desktop browser where you can log in to that account. Treatwell's login has a CAPTCHA, so the plugin cannot log in by itself. It uses the session from your browser.

Only treatwell.gr is supported. Other Treatwell countries are not.

Install

Tell Stavrobot to install https://github.com/stavrobot/plugin-treatwell.

Configuration

  • cookie: the session cookies from your browser. To get them:

    1. Log in at https://www.treatwell.gr in a desktop browser.
    2. Open the developer tools, then the Network tab, and reload the page.
    3. Click a request to /api/v1/me/information and copy the whole value of the Cookie request header.
    4. Tell Stavrobot to set the plugin's cookie setting to that value.

    The plugin keeps only the cookies it needs. They give full access to your Treatwell account, so do not share them. When the session ends, the tools tell you to log in again and copy a new value.

Tools

  • get_venue: a venue's address, phone, opening hours and staff.
  • get_menu: a venue's services, with their options, durations and prices.
  • get_availability: free start times for a service, or for moving an existing booking. You can filter by staff member.
  • book: books an appointment, paid at the venue.
  • list_bookings: your upcoming or past bookings.
  • cancel_booking: cancels a booking.
  • reschedule_booking: moves a booking to another time.

Tools take a venue ID. To find it, open the venue on treatwell.gr and click "Book". The page address contains venueId=.

Limits

  • Venues only take bookings a few days ahead.
  • Only payment at the venue is supported. If a venue or Treatwell asks for payment in advance, phone verification or a CAPTCHA at checkout, book on the website instead.
  • Treatwell has no public API. The plugin uses the website's own API, which can change without notice.