Skip to main content

How To Use Our Webhooks

Learn how to set up webhooks to receive real-time notifications for completed ticket purchases and ticket scans on your server.

Written by Tosin

Webhooks allow you to receive real-time notifications on your server when specific actions occur on your event.

You can use webhooks to connect Jetron Ticket with your own systems, such as your website, CRM, database, or other third-party services.

How Webhooks Work

When a selected event occurs, Jetron Ticket sends a notification to the URL you provide.

To create a webhook, you need to provide:

  1. URL: Enter the endpoint where you want Jetron Ticket to send webhook notifications.

  2. Event Type: Select the event you want to receive notifications for.

  3. Click Create to save the webhook.

Once created, Jetron Ticket will send notifications to your specified URL whenever the selected event occurs.

Currently Supported Event Types

Jetron Ticket currently supports two webhook event types:

Purchase Completed

This event is triggered when a customer successfully completes a ticket purchase.

You can use this notification to update your database, trigger an automated workflow, or sync the purchase with another system.

Ticket Scanned

This event is triggered when a ticket is scanned.

You can use this notification to keep your systems updated with ticket entry and attendance information.

Creating a Webhook

Step 1: Enter Your URL

Enter the URL of the server or application that should receive the webhook notification.

Your URL should be a publicly accessible endpoint that can receive requests from Jetron Ticket.

For example:

https://yourwebsite.com/api/webhooks/jetron

Step 2: Select an Event Type

Select the event type you want to receive notifications for.

Currently, you can choose between Purchase Completed and Ticket Scanned.

Step 3: Create the Webhook

After entering the URL and selecting an event type, click Create.

Your webhook will then be configured for the selected event.

Webhook URL

The webhook URL is the endpoint on your server that receives notifications from Jetron Ticket.

Make sure the endpoint is properly configured to receive and process incoming webhook requests.

Common Uses for Webhooks

Webhooks can be used to:

  • Update your database when a ticket purchase is completed.

  • Receive updates when tickets are scanned.

  • Trigger actions in another system after a purchase or ticket scan.

  • Keep your website or application in sync with ticket purchase and scan activity.

Managing Your Webhooks

You can manage your webhook integrations from the Webhooks section under Integrations.

Each webhook is configured for a specific event type and URL, allowing you to control which Jetron Ticket activities your server receives notifications for.

Did this answer your question?