Xn
Create an API user and application
You will need an API user and an application in Xn. Reach out to your Xn rep. on how to do this.
Connecting in Middle
Create an API Key entry
You will need to enter the information from the new application that was just created as an API key entry in Middle. More information on Middle API Keys can be found in this article.
Follow these steps to set up a new API key for Xn in Middle:
Go to Apps in Middle
Go to the Xn Leisure Hub app
Click API Keys in the left-hand menu
Click to Add API key
Name the key and add whatever description you'd like
An API application will need to be created for each of your Xn customers. Because of this, you'll probably want to leave Is default? toggled off.
For the Payload you will need to get the following information from the Xn app that was created and enter it in JSON format (see below)
Toggle on Use allowed accounts?
Under Allowed Accounts search for the customer's account in Middle and select it
Click Save
Connecting Xn
Go to the customer account you are trying to authenticate and add a new Xn Leisure Hub app connection
Name the connection after the customer
Leave [Debug Display Only] Timestamp blank
Click Save
Enter the API user credentials created in Xn
Click Submit
Last updated
Was this helpful?