LogoLogo
HOMEAPPSBLOGDEVELOPERSGET A DEMO
  • Overview
    • Data
    • Middle's infrastructure
    • ENTERPRISE installations
    • Security
  • Workflows
    • Enable/disable an account
    • Connect or edit an app connection
    • Sync
      • Stored records
      • Sync history
    • Create or copy a workflow
    • Edit an existing workflow
    • Workflow steps
    • Workflow parameters
    • Triggers
  • User access
  • Performance
  • Data deletion
  • App development
    • Authentication
    • Credential storage
    • Sync records
    • Actions
    • Code packages
    • Upload scripts
    • Testing your apps
    • Versions
    • Monitor
  • Getting app credentials
    • ABC Ignite
    • Amazon S3
    • Clover
    • Emma
    • Erply
    • Facebook
    • fitDEGREE
    • Gmail
    • Google Sheets
    • HighLevel
    • Hubspot
    • Keap Max
    • Klaviyo
    • Lightspeed R-Series
    • Lightspeed X-Series
    • Mailchimp
    • Mindbody
    • OpenAI
    • Paramount Acceptance
    • Pike13
    • Salesforce
    • Shopify
    • Slack
    • Square
    • Vend
    • Xn
  • Guides
    • API limits
    • Building an API for Middle
    • Development best practices
Powered by GitBook
On this page
  • Create an API user and application
  • Connecting in Middle
  • Create an API Key entry
  • Connecting Xn

Was this helpful?

  1. Getting app credentials

Xn

PreviousShopifyNextAPI limits

Last updated 2 months ago

Was this helpful?

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 .

Follow these steps to set up a new API key for Xn in Middle:

  1. Go to Apps in Middle

  2. Go to the app

  3. Click API Keys in the left-hand menu

  4. Click to Add API key

  5. Name the key and add whatever description you'd like

  6. 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.

  7. 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)

  8. Toggle on Use allowed accounts?

  9. Under Allowed Accounts search for the customer's account in Middle and select it

  10. Click Save

{
    "client_id": "info_goes_here",
    "client_secret": "info_goes_here",
    "username": "info_goes_here",
    "password": "info_goes_here",
    "redirect_url": "info_goes_here"
}

Connecting Xn

  1. Go to the customer account you are trying to authenticate and add a new Xn Leisure Hub app connection

  2. Name the connection after the customer

  3. Leave [Debug Display Only] Timestamp blank

  4. Click Save

  5. Enter the API user credentials created in Xn

  6. Click Submit

can be found in this article
Xn Leisure Hub