---
title: "Get a webhook each time you take a ticket order | Ticket Fairy-guider"
description: "Add a webhook on the Webhooks page of your brand, a tour or an event, and each order reaches an address you own seconds after the buyer pays, with its tickets, add-ons, totals and ticket holder details."
canonical: "https://www.ticketfairy.com/no/guides/get-a-webhook-when-a-ticket-sells"
---

1. [Ticket Fairy](https://www.ticketfairy.com/)
2. [Guider](https://www.ticketfairy.com/no/guides)
3. Get a webhook each time you take a ticket order

Utviklere og API-et

# Get a webhook each time you take a ticket order

When your own CRM, warehouse or fulfillment system, or a Zap in Zapier, needs every ticket order, a webhook sends each one to a web address you own the moment the buyer pays. Your system then has each sale as it happens, and again whenever the order is changed, transferred or refunded, rather than waiting for a nightly export.

Tar:  6 minutter

- [Open the Webhooks page](#step-1)
- [Brand, tour and event orders](#step-2)
- [The webhook key for Zapier](#step-3)
- [Start a new webhook](#step-4)
- [Enter the address](#step-5)
- [Choose what to send](#step-6)
- [Choose the format](#step-7)
- [Save the webhook](#step-8)
- [Send a test](#step-9)
- [Check a real order arrives](#step-10)

## Før du starter

- You're an owner or admin of the brand, event or tour. Ask an owner to add the webhook if your role is lower.
- You have the web address your tool gave you, and it starts with https://.

1. ## Open the Webhooks page

   Open the brand, event or tour whose orders you want, then select **Webhooks**.

   **Merk:** The page lists every webhook on that brand, event or tour, whoever added it.

   ![The Webhooks page with three webhooks: a Full order feed, a Zap added from Zapier and a paused event updates feed](https://www.ticketfairy.com/embeds/posters/marketing-webhooks--list.png)    
   *Brand, Webhooks.*

## Brand, tour and event orders

A webhook on an event receives that event's orders. A webhook on the brand receives the orders of every event on the brand, and one on a tour receives the orders of every event on that tour. New events, event updates and published events go to brand and tour webhooks only, so on an event's Webhooks page you can choose only Orders.

## The webhook key for Zapier

Zapier asks for the key under **Webhook API Key** in your account settings when you connect it. A webhook that Zapier adds shows **Added from Zapier** on the Webhooks page, where you turn it off, test it or delete it like any other.

**Merk:** Select **Generate Webhook API Key** when you have no key yet. A webhook you add on the Webhooks page calls your address directly and needs no key.

![The Webhook API Key card showing the key with a control to copy it and one to regenerate it](https://www.ticketfairy.com/embeds/posters/marketing-developer-access--api-keys.png)

*The webhook key, once it has been generated.*

2. ## Start a new webhook

   Select **Add webhook**.

   ![The Add webhook dialog with Web address, Orders and Full order chosen, and Send updates turned on](https://www.ticketfairy.com/embeds/posters/marketing-webhooks--add-dialog.png)    
   *Webhooks, Add webhook.*
3. ## Enter the address

   Paste the address your tool gave you into **Web address**.

   **Merk:** The address must start with https://, because each delivery carries buyer and ticket holder details.
4. ## Choose what to send

   Under **What to send**, keep **Orders**.

   - **Orders**: Each order when the buyer pays, and again when it is changed, transferred or refunded.
   - **New events**: Each event you create, on a brand or a tour.
   - **Event updates**: Each change to an event's details, on a brand or a tour.
   - **Event published**: Each event when it goes on sale for buyers, on a brand or a tour.
5. ## Choose the format

   Under **Format**, keep **Full order**.

   - **Full order**: The buyer, tickets with their ticket categories and types, seats, tables, add-ons, checkout answers, ticket holder details and totals.
   - **Zapier**: The layout a Zap in Zapier reads.
   - **Standard**: The layout older webhooks use, for a tool that already reads it.
   - **Symmetry**: The layout Symmetry reads.
   - **Iterable**: The layout Iterable reads.
   **Tips:** Give your developer the link **Developers: see what each format contains** under the choices. It opens every field of the Full order format, and how to check each delivery came from Ticket Fairy.
6. ## Save the webhook

   Select **Add webhook** at the foot of the dialog. The webhook appears in the list, switched on.

   **Merk:** **Send updates** is on unless you turn it off first, so the next order goes to your address.
7. ## Send a test

   Select **Send test** on the webhook. "Your address received the test." appears under it when your tool accepted the delivery.

   **Merk:** The test carries example data, not a real order. When your tool refuses it, the message under the webhook gives the code your address answered with.

   ![A webhook in the list with Your address received the test. under it](https://www.ticketfairy.com/embeds/posters/marketing-webhooks--test-received.png)    
   *Webhooks, Send test.*
8. ## Check a real order arrives

   Buy one ticket yourself and check the order reaches your tool.

   **Merk:** The order arrives within a few seconds, after the payment is taken. Refund your own order afterwards, and your tool receives the order again with the refund on it.

## Eller få det gjort for deg

Fai, din AI-lagkamerat, kan sjekke salget, oppdatere arrangementet ditt eller endre en billett når du ber om det.

Fai can list, add, change, test and delete the webhooks on a brand, a tour or an event, and she asks for your approval before each change. She shows each address without the part after the question mark, where a tool often keeps its access token. If your address has a question mark or a password in it, add it on the Webhooks page instead, so the access key stays out of the chat.

### I dashbordet ditt, med Fai

```
Add a webhook to <BRAND NAME> that sends every order to <YOUR ADDRESS> in the Full order format, then send it a test
```

## Fra terminalen din

Installer CLI-en fra [CLI-siden vår](https://www.ticketfairy.com/cli), logg inn med `ticketfairy auth login`, og velg merkevaren du jobber med ved hjelp av `ticketfairy brand use <BRAND_ID>`. `ticketfairy brand list` og `ticketfairy event list` viser ID-ene de andre kommandoene bruker.

Add a webhook from the command line with a personal access token, then read back the webhooks on the brand you are working on.

### Call your address every time an order is placed

```
ticketfairy webhook create --url https://example.com/hooks/tickets --on order
```

### Show the webhooks on the active brand

```
ticketfairy webhook list
```

## Pause or change a webhook

1. ### Turn a webhook off

   Turn off the switch beside the webhook. It changes from **On** to **Off**.

   **Merk:** The webhook keeps its address and format and sends nothing until you turn it on again.
2. ### Change the address or the format

   Select the pencil beside the webhook, change **Web address** or **Format**, then select **Save changes**.

   **Merk:** You can't change what a webhook sends. To send something else, add a new webhook.

Fai can turn a webhook off or on, or change its address or format, after you approve the change.

### I dashbordet ditt, med Fai

```
Turn off the webhook that sends <BRAND NAME> orders to <YOUR ADDRESS>, and ask me before you save it
```

### Fra terminalen din

Read the webhooks, then switch one off or on again.

#### Show the webhooks on the active brand

```
ticketfairy webhook list
```

#### Turn a webhook off without deleting it

```
ticketfairy webhook update <WEBHOOK_ID> --disable
```

## Delete a webhook

1. ### Start deleting the webhook

   Select the bin beside the webhook.
2. ### Confirm the deletion

   Check the address in **Delete this webhook?**, then select **Delete webhook**.

   **Merk:** Any tool that uses the address, such as a Zap in Zapier, stops receiving your orders. To start again after deleting, add the address again.

   ![The Delete this webhook? confirmation naming the webhook address, with Delete webhook and Cancel](https://www.ticketfairy.com/embeds/posters/marketing-webhooks--delete-confirm.png)    
   *Webhooks, bin, Delete this webhook?*

Fai can delete a webhook after you approve it. Before you approve, she tells you which address the webhook will stop sending to.

### I dashbordet ditt, med Fai

```
Delete the webhook that sends <BRAND NAME> orders to <YOUR ADDRESS>, and ask me before you delete it
```

### Fra terminalen din

Read the webhooks, then delete one.

#### Show the webhooks on the active brand

```
ticketfairy webhook list
```

#### Delete a webhook

```
ticketfairy webhook delete <WEBHOOK_ID>
```

## Spørsmål du kanskje har

**Why can I choose only Orders on an event's Webhooks page?**

 New events, event updates and published events go to brand and tour webhooks only, so a webhook on a single event sends orders. To hear about your events, add the webhook on the brand or the tour instead.

**What happens when my address is down?**

 That delivery fails and is not sent again, and the next order is sent as normal. When your address answers 410 Gone, Ticket Fairy deletes the webhook, which is the clean way to stop deliveries from your end.

**Can I check a request really came from Ticket Fairy?**

 Yes. Ask Ticket Fairy support to add a signing secret to your event, and every request then carries an X-Signature header your system recomputes with the same secret. The developer page at /developers/webhooks shows how.

**Will the same order reach me more than once?**

 Yes. We send the whole order again every time it changes, so you get it again after a refund, a cancellation, a resale or a transfer. If you add a webhook on the brand and another on one of its events with the same address, you also get each order twice. Match on the order number and apply what you receive, rather than counting every delivery as a new sale.

**Can I send orders to an address on my own computer?**

 The Webhooks page accepts only addresses that start with https://, and a test needs one too. For a tool running on your own computer, use a tunnel service that gives you an https address, and point the live webhook at your real system once it works.

**Should I turn a webhook off or delete it?**

 Turn it off while you work on your own system: it keeps its address and format and starts again when you turn it on. Delete it once nothing uses the address any more.

**Who can see and change the webhooks?**

 Owners and admins of the brand, event or tour see every webhook on it and can change, test or delete any of them, whoever added it. Each webhook shows who added it and when.

## Har du fortsatt et spørsmål?

Book en demo, så svarer vi på det i en samtale, tilpasset din type arrangement. Eller opprett kontoen din og se selv.

   [Book en demo](https://www.ticketfairy.com/no/event-ticketing/book-a-demo) [Opprett en gratis konto](https://manage.ticketfairy.com/welcome)

Ingen oppstartsgebyr. Ingen månedsavgift. Ingen kredittkort nødvendig.

## Relaterte guider

- [Flere måter å bruke Ticket Fairy på](https://www.ticketfairy.com/features/api-and-developers)
- [Create an API key so your own tools can read your ticket sales](https://www.ticketfairy.com/no/guides/create-an-api-key-for-your-own-app)
- [Sell tickets on your own website](https://www.ticketfairy.com/no/guides/sell-tickets-on-your-own-website)
- [Sync your ticket buyers to Mailchimp](https://www.ticketfairy.com/no/guides/sync-buyers-to-mailchimp)
- [Sell tickets in your own website or mobile app with the checkout SDK](https://www.ticketfairy.com/no/guides/sell-tickets-in-your-own-website-or-app)
- [Alle Ticket Fairy-guider](https://www.ticketfairy.com/no/guides)

## Gjør dette på ditt eget arrangement

Opprett kontoen din, bygg arrangementet og følg trinnene i ditt eget dashbord. Du trenger ikke bestille en salgssamtale.

  [Opprett en gratis konto](https://manage.ticketfairy.com/welcome) [Book en demo](https://www.ticketfairy.com/no/event-ticketing/book-a-demo)

## Selg billetter med Ticket Fairy

Start gratis med ubegrensede arrangementer og ingen månedsavgift, og velg en betalt plan når du trenger mer.

- Sett opp arrangementet ditt på noen minutter
- Gratisarrangementer er gratis
- Fai, din AI-lagkamerat, er innebygd

 [Opprett en gratis konto](https://manage.ticketfairy.com/welcome)

Ingen oppstartsgebyr. Ingen månedsavgift. Ingen kredittkort nødvendig.

## Se det i en samtale

Book en demo, så viser vi deg hvordan Ticket Fairy håndterer din type arrangement.

 [Book en demo](https://www.ticketfairy.com/no/event-ticketing/book-a-demo) [Flere måter å bruke Ticket Fairy på](https://www.ticketfairy.com/features/api-and-developers)

### Tips for å selge flere billetter

Praktiske råd fra aktive arrangører, og hver nye guide så snart den publiseres.

Vi respekterer personvernet ditt. Meld deg av når du vil.
