Ticket Events and Webhooks
Harmony's service desk can emit real-time events whenever a support ticket is created or updated. By subscribing to these events through webhooks, you can connect external tools and services directly to your ticket workflow - eliminating the need to poll the API for changes.
Common use cases include:
Syncing ticket data with a CRM or customer success platform
Triggering automated workflows when a ticket is opened or its status changes
Feeding ticket activity into analytics platforms or custom dashboards
Notifying downstream systems in real time as support interactions progress
How Ticket Events Work
When a ticket is created or updated in the Harmony service desk, Harmony generates an event and delivers it as an HTTP POST request to the webhook endpoint URL you configure. Each request contains a JSON payload describing the event and the current state of the ticket.
Events are emitted for the following activity:
Ticket created - a new support ticket is opened in the service desk
Ticket updated - any field on an existing ticket changes, including status, priority, assignee, or custom fields
Configuring a Webhook Endpoint
To receive ticket events, you need to register a webhook endpoint that Harmony can send requests to.
Navigate to Settings and open the Integrations section.
Select Webhooks and click Add Webhook.
Enter the URL of your endpoint in the Endpoint URL field. The URL must be publicly accessible and accept HTTPS requests.
Under Event Types, select Ticket Created, Ticket Updated, or both, depending on which events you want to receive.
Click Save to activate the webhook.
Harmony immediately begins sending events to the configured endpoint once you save.
Event Payload Structure
Each webhook request contains a JSON body with information about the event and the affected ticket. The payload follows this general structure:
The event field will be either ticket.created or ticket.updated. The ticket object reflects the full current state of the ticket at the time the event was generated.
Responding to Webhook Requests
Your endpoint must return an HTTP 2xx status code to acknowledge receipt of the event. Harmony treats any other response code as a delivery failure.
If delivery fails, Harmony retries the request using an exponential back-off strategy. After a defined number of consecutive failures, the webhook may be automatically disabled and you will be notified so you can investigate and re-enable it.
Keep your endpoint response time short. Process the event asynchronously if your integration requires heavy computation, and return the 200 OK acknowledgment immediately.
Securing Your Webhook Endpoint
Harmony signs each webhook request so you can verify that it genuinely originated from Harmony and has not been tampered with in transit.
A signature is included in the
X-Harmony-Signaturerequest header.The signature is an HMAC-SHA256 hash of the raw request body, computed using the secret key displayed when you create the webhook.
Store the secret key securely and recompute the signature on your server when you receive a request. Only process the payload if the signatures match.
You can rotate the secret key at any time from the webhook settings page. After rotating, update your endpoint to use the new key.
Testing Your Integration
Before going live, use the Send Test Event option in the webhook settings to deliver a sample payload to your endpoint. This lets you verify that your endpoint is reachable, correctly parses the payload, and returns a successful response - without waiting for real ticket activity.
You can also review recent delivery attempts and their response codes in the Delivery Logs tab of the webhook settings page to help debug any issues.
Disabling or Deleting a Webhook
To temporarily stop event delivery without losing your configuration, toggle the webhook to Inactive in the webhook settings.
To permanently remove a webhook, click Delete. Delivery stops immediately and the configuration is removed.
Last updated
Was this helpful?
