An innovative hospitality management cloud that empowers the modern hotelier to improve performance, maximize revenue, and provide remarkable guest experiences.
Go to siteWith the Mews API, you can build software that integrates with the Mews Platform and automates various tasks, such as:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mews: {
type: "app",
app: "mews",
}
},
async run({steps, $}) {
const data = {
"ClientToken": `${this.mews.$auth.ClientToken}`,
"AccessToken": `${this.mews.$auth.AccessToken}`,
"Client": `${this.mews.$auth.Client}`,
}
return await axios($, {
method: "post",
url: `https://${this.mews.$auth.platform_url}/api/connector/v1/configuration/get`,
auth: {
username: `{{custom_fields.email}}`,
password: `{{custom_fields.password}}`,
},
data,
})
},
})
Mews uses API keys for authentication. When you connect your Mews account, Pipedream securely stores the keys so you can easily authenticate to Mews APIs in both code and no-code steps.
ClientToken
is provided by Mews integration team. For further information, please use the chat function on the Environment - Connector API page.AccessToken
is a unique token per enterprise and can be provided to you by the Mews enterprise admin.Client
is a string identifying the system using the API.platform_url
depends on the environment used to access the Connector API. For the production environment use www.mews.li
. Demo Environments are available too.