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
    • 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
  • What you’ll need
  • Step 1: Set up your environment
  • Step 2: Make your first API call
  • Step 3: Learn the API essentials
  • Time and data serialization
  • Pagination
  • Rate limits
  • Error handling
  • Next steps

Was this helpful?

Getting started

PreviousMews Connector APINextUsage guidelines

Last updated 16 days ago

Was this helpful?

This page walks you through the key steps to begin developing your integration with the Mews Connector API. Whether you're exploring the demo environment, preparing for certification, or validating your first request, this guide covers the tools, environments and concepts you'll need.

Ready to try a test call? Jump to .

What you’ll need

Before making your first request, make sure you're familiar with the following:

  • Authentication tokens Every API request requires:

    • ClientToken: Identifies your application. Issued by Mews.

    • AccessToken: Identifies the enterprise or property you're connecting to. Issued by the property.

    • Client: A short string naming your application.

  • Mews environments Mews provides two environments:

    • – for development and testing.

      • Net pricing and Gross pricing variants simulate different tax regimes used by properties in different jurisdictions.

    • – used by live properties after certification.

  • Mews Operations You can optionally log into the UI of Mews Operations (used by hotel staff) to understand how API data maps to the product.

  • Demo credentials Mews provides shared tokens and login details for test properties. These are suitable for early development, but subject to .

Want to know more? For full details, see and .

Step 1: Set up your environment

To begin testing:

    • Use either the Net pricing or Gross pricing variant depending on your target markets.

  1. Note the tokens for that property:

    • ClientToken

    • AccessToken

You’ll use these credentials to make authenticated API requests.

Step 2: Make your first API call

  • Endpoint URL

https://api.mews-demo.com/api/connector/v1/configuration/get
  • Request body

{
  "ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
  "AccessToken": "7059D2C25BF64EA681ACAB3A00B859CC-D91BFF2B1E3047A3E0DEC1D57BE1382",
  "Client": "NameOfYourCompanyOrApplication"
}
  • Expected response If successful, the API will return HTTP status code 200 - OK along with property details in the message body:

{
  "NowUtc": "2021-05-05T11:39:29Z",
  "Enterprise": {
    "Id": "c65ea6e9-2340-42f4-9136-ab3a00b6da22",
    "Name": "Connector API Hotel (Net Pricing) TEST",
    "TimeZoneIdentifier": "America/New_York",
    "LegalEnvironmentCode": "US-DC",
    "AccommodationEnvironmentCode": "US",
    ...
  },
  "PaymentCardStorage": {
    "PublicKey": "1100016827"
  }
}

Step 3: Learn the API essentials

Time and data serialization

  • All dates and times are in UTC.

Pagination

Rate limits

  • Shared demo credentials may return 429 - Too many requests response code if multiple developers are testing the same property.

  • Use a different demo property if limits are reached.

Error handling

  • Always validate required fields and timezones in your request payloads.

Next steps

Now that you've made a successful call, here’s where to go next:

Choose a demo property from the list in .

(Optional) Log in to using the provided email and password to explore the UI and sample data.

Let’s start by calling , which returns details about the test property — a useful check that your setup is working.

Requests and responses: For more on request formatting and response codes, see and respectively.

Dates, durations and other data types follow specific .

Some operations (like ) use to handle large result sets.

Check the and to diagnose issues.

Best practices: For additional tips on how to get the most out of your integration, see our .

– How to structure requests, handle authentication, best practices, and more.

– Full list of API Operations.

– How to receive near-real-time event notifications.

– Deeper insights into selected Mews concepts.

– Guidance on using the API for common scenarios.

– What’s required before going live.

– Terminology for terms like enterprise, customer, and resource.

Mews Operations
Requests
Responses
serialization rules
best practices
Usage guidelines
API Operations
API Events
Concepts
Use cases
Certification
Mews Glossary for Open API users
Authentication
Environments
Step 2: Make your first API call
pagination
Demo environments
Demo environment
Production environment
response code
details
rate limits
Get configuration
Get all reservations