Introduction
Integration accounts are PMS-linked accounts created on the Zepl platform to manage Host PMS connections. When onboarding a Host, you would create an Integration Account with the required configuration.This includes the following:- PMS Provider (The PMS system you are integrating with)
- PMS Credentials (Could be API Key, OAuth2, Username/Password, etc.)
- PMS Account Identifier (The unique identifier for the Host’s PMS account on your system)
- Verify the credentials with the PMS
- Create a new integration account on the Zepl platform
- If the PMS system emits any webhook events, we subscribe to them using the subscription API.
- Return the integration account ID back. You should store this in your database for future API interactions.
Schema
The integration account schema is as follows:| Field | Type | Description |
|---|---|---|
| id | UUID | Unique Identifier of the integration account |
| name | string | Name of the integration account |
| workspaceID | UUID | Unique Identifier of the workspace this integration account belongs to |
| provider | IntegrationProvider | The PMS system that this integration account is connected to. Explained below |
| accountIdentifier | string | Unique identifier for the account from your system. |
| providerAccountID | string | Unique identifier for the account from the PMS system |
| authType | IntegrationAccountAuthType | Authentication type. Explained below |
| authConfig | JSON | Authentication configuration specific to the PMS provider. Explained below |
| markupPercentage | number | The default markup percentage applied to the price of listings, quotes and reservations at integration account level. |
| defaultDiscountPercentage | number | The default discount percentage applied to the price of listings, quotes and reservations at the workspace level. Overrides the workspace level setting if any. |
| createdAt | Date | Integration Account creation timestamp |
| updatedAt | Date | Integration Account updated timestamp |
Integration Provider
Currently, we support the following PMS providers:- BOOKINGSYNC
- GUESTY
- HOSPITABLE
- HOST_TOOLS
- HOSTAWAY
- HOSTFULLY
- HOSTFULLYSANDBOX
- HOSTIFY
- LODGIFY
- OWNERREZ
Integration Account Auth Type
Currently, we support the following authentication types:- API_KEY
- ACCESS_TOKEN
- OAUTH2
- EMAIL_PASSWORD
Integration Account Auth Config
Each PMS provider has a different authentication configuration. We will look at the different configurations for each provider.GUESTY
Auth Type:ACCESS_TOKEN
Auth Config:
PARTNER_TOKEN
Auth Config:
HOSTAWAY
Auth Type:ACCESS_TOKEN
Auth Config:
HOSTFULLY
Hostfully supports both API Key and OAuth2 authentication.API Key
Auth Type:API_KEY
Auth Config:
OAuth2
Auth Type:OAUTH
Auth Config:
HOSTFULLYSANDBOX
Hostfully sandbox supports both API Key and OAuth2 authentication.API Key
Auth Type:API_KEY
Auth Config:
OAuth2
Auth Type:OAUTH
Auth Config:
HOSTIFY
Auth Type:API_KEY
Auth Config:
HOSPITABLE
Auth Type:OAUTH
Auth Config:
OwnerRez
Auth Type:EMAIL_PASSWORD
Auth Config:
advertiserId is sometimes also referred to as the Merchant of Record (MoR) ID. This is the ID unique to your hosts. The username and password on the other hand, is common to all integration accounts in your workspace. You can obtain this by reaching out to OwnerRez. For each new connection, you should input only the advertiserId from the host, but use the same username and password when sending a request to the Zepl server.
Lodgify
Auth Type:API_KEY
Auth Config:
Uplisting
Auth Type:API_KEY
Auth Config:
X-Uplisting-Client-ID when making requests to Uplisting endpoints.
BEDS24
Auth Type:ACCESS_TOKEN
Auth Config:
HOST_TOOLS
Auth Type:ACCESS_TOKEN
Auth Config: