Connector API
  • Mews Connector API
  • Getting started
  • Usage guidelines
    • Authentication
    • Requests
    • Responses
    • Environments
    • Serialization
    • Pagination
    • Best practices
  • Concepts
    • Multi-property
    • Restrictions
    • Taxation
    • Time units
  • Use cases
    • 'How to' use cases
    • Accounting
    • Customer loyalty
    • Customer management
    • Customer messaging
    • Data export
    • Device integration
    • Events
    • Guest technology
    • Housekeeping
    • Kiosk
    • Mews Payment Terminals
    • Payment automation
    • Point of sale
    • Reputation management
    • Revenue management
    • Upsell
  • API Operations
    • Common objects
    • Accounting categories
    • Accounting items
    • Accounts
    • Account notes
    • Addresses
    • Age categories
    • Availability adjustments
    • Availability blocks
    • Billing automations
    • Bills
    • Business segments
    • Cancellation policies
    • Cashiers
    • Cashier transactions
    • Commands
    • Companies
    • Companionships
    • Company contracts
    • Configuration
    • Counters
    • Countries
    • Credit cards
    • Currencies
    • Customers
    • Departments
    • Devices
    • Enterprises
    • Exchange rates
    • Exports
    • Identity documents
    • Images
    • Languages
    • Loyalty memberships
    • Loyalty programs
    • Loyalty tiers
    • Messages
    • Message threads
    • Order items
    • Orders
    • Outlet bills
    • Outlet items
    • Outlets
    • Payments
    • Payment requests
    • Preauthorizations
    • Product categories
    • Product service orders
    • Products
    • Rates
    • Rate groups
    • Reservations
    • Reservation groups
    • Resource access tokens
    • Resource blocks
    • Resources
    • Resource categories
    • Resource features
    • Restrictions
    • Routing rules
    • Rules
    • Service order notes
    • Service overbooking limits
    • Services
    • Source assignments
    • Sources
    • Tasks
    • Tax environments
    • Taxations
    • Vouchers
    • Voucher codes
  • API Events
    • Ways to communicate
    • General Webhooks
    • Integration Webhooks
    • Webhooks FAQ
    • WebSockets
  • Your integration journey
    • Certification
  • Deprecations
    • Migration guide: Get all reservations
  • Changelog
    • Changelog 2024
    • Changelog 2023
    • Changelog 2022
    • Changelog 2021
    • Changelog 2020
    • Changelog 2019
    • Changelog 2018
    • Changelog 2017
    • Changelog 2016
Powered by GitBook
On this page
  • 1. Customer creates a message within your app
  • 2. Your app creates a new message thread in Mews
  • 3. Your app listens for MessageAdded events
  • 4. Continue the conversation!
  • Testing your integration
  • Further information

Was this helpful?

  1. Use cases

Customer messaging

Enable guests to send messages to the property and receive replies, by connecting your chatbot or instant messaging app into the customer messaging system of Mews Operations. You can do this through the API with the Messages collection of API operations, in conjunction with the MessageAdded General Webhook.

Message threads or conversations are initiated by the customer (the guest). The customer messages are then sent through to the property, where employees are notified and can quickly respond with a message reply added to the thread. The typical workflow is as follows:

  1. Customer creates a message within your app

  2. Your app creates a new message thread in Mews

  3. Your app listens for MessageAdded events

  4. Continue the conversation!

1. Customer creates a message within your app

The customer (the guest) creates an instant message within your app, directed to the property.

Penelope: "Hi! I just wanted to let you know I will be arriving late tonight"

2. Your app creates a new message thread in Mews

Your app creates a new message thread in Mews and adds the customer message to the thread. Use Add message thread to create a new message thread, then Add messages to create a new message within the thread.

'How to' use case

API Operations

How to create a new message thread

How to create a new message within a thread

3. Your app listens for MessageAdded events

To get message responses in near real time, listen to the MessageAdded General Webhook event. When a MessageAdded event is received, the event will contain the ID of the newly added message and the ID of the message thread or conversation to which the message belongs. Messages sent in reply by the property have the Sender property set to "Enterprise" (in the API, we use term 'enterprise' rather than 'property'). The text of the message can be passed on to the customer through your app. See Webhooks for details of how to set up Webhooks.

'How to' use case

API Operations

How to listen for new customer messages

Property: "Hello Ms Penelope! Thank you for contacting us. What time do you expect to arrive?"

4. Continue the conversation!

You can pass messages back and forth, as above, until the conversation is resolved. And if you need to search or fetch your messages or your message threads, you have the Get all messages and Get all message threads API operations.

'How to' use case

API Operations

How to get messages for your message threads

How to get your message threads

Penelope: "Around 11pm. Please hold my room, thank you." Property: "Your room will be ready for you, travel safely and we look forward to welcoming you around 11pm."

Testing your integration

Please refer to our general Usage guidelines for testing integrations.

Further information

Help Guides:

  • How to read and reply to messages

PreviousCustomer managementNextData export

Last updated 6 months ago

Was this helpful?

(MessageAdded event)

Add message thread
Add messages
General Webhooks
Get all messages
Get all message threads