API Requirements

Lodgix offers an open API that can be used by developers for custom integrations with our software. You can request the latest version of our API documentation at any time via email or our support chat. Below you can find a brief overview and example.

API URLs

Accesses to the Lodgix.com API are always in the following basic form:

http://www.lodgix.com/api/<​response­type>/<data­type>/<method>/

Where:

<response­type>: the type of data you wish the call to return. The current option for this parameter is ‘xml’.

<data­type>: the type of data to be accessed. Currently, the data­types available are ‘reservations’, ‘properties’, and ’owners’.

<method>: Available methods for each data type are provided in our API documentation

Token Authentication

Token Authentication

All API calls require a parameter named ‘Token’. This token is different for each marketing partner and can be generated from your Lodgix account under Settings > Important Settings. This token MUST be paired with either the PropertyID or OwnerID parameter, depending upon the API call. OwnerID is equal to your Lodgix Customer ID and can also be found under Settings > Important Settings.

API Call Example

Here is an example of an API call that will return all property listings for a subscriber account:

http://www.lodgix.com/api/xml/properties/get?

Token=20a529f66dec1d1e9ebc413b78377f1e&IncludeAmenities=Yes

&IncludePhotos=Yes&IncludeConditions=Yes&IncludeLanguages=Yes

&IncludeTaxes=Yes&IncludeReviews=Yes&OwnerID=2

Note: You must replace the "Token" and "OwnerID" parameters with the ones associated with your account. Additionally, the url may not contain any spaces.