HomeGuidesRecipesAPI ReferenceChangelog
GuidesAPI ReferenceCustomer Help CenterLog In

Introduction

Webhooks allow you to build or set up integrations which subscribe to certain events on Xola. When one of those events are triggered, Xola will send a HTTP POST payload to the webhook's configured URL.

{
  "eventName": "order.create",
  "data": {
    // The object that caused this webhook, in this case an order.
  },
  "audit": {
    // Diff of what changed. Not all webhooks support this.
  }
}

Supported Webhooks

Event NameTrigger Condition
experience.createAn account you have access to creates a new experience
experience.updateAn account you have access to updates an existing experience
experience.deleteAn account you have access to deletes an experience
user.updateWhen your account information is updated (by yourself or a delegate)
user.agent.createBooking Engines Only: You are granted access to a new account
user.agent.updateBooking Engines Only: An account has updated the experiences you have access to
user.agent.removeBooking Engines Only: Your access to an account has been revoked
order.createA booking has been placed for an experience you own. This hook may only be registered by the primary seller account (will not fire for delegates)
order.updateA booking for an experience you own has been modified. This hook may only be registered by the primary seller account (will not fire for delegates)
order.cancelA booking for an experience you own has been canceled. This hook may only be registered by the primary seller account (will not fire for delegates)
order.rollbackA previously created order was permanently deleted. This may happen due to hold expiration or payment failures.
store_credit.updateA store credit has been updated by receiving funds from an order. Typically this happens when a booking has been refunded to a store credit
installation.createA seller has installed your plugin.
installation.updateA seller has updated their installation's configuration.
installation.deleteA seller has uninstalled your plugin.