ZarklyX is now in early access. Be the first agency to try.
ZarklyX

How to set up a webhook ?

A walkthrough of the Webhooks screen: how the check made at registration decides whether a webhook goes live or stays silent, why the signing secret can only ever be seen once, and why a test event reaches every webhook you have rather than only the row you clicked.

Last updated October 23, 2026

What this screen is for ?

This is where you register one of your own web addresses so that ZarklyX can push events to it the moment they happen - a ticket created, a ticket's status changed, a new lead - instead of your system having to ask. Every message sent is signed, so your side can prove it really came from ZarklyX.

How to get here: open Settings from the left menu, then Developer & Integration Settings > Webhooks.

The form has two required fields, both marked with a red asterisk: the callback address and a verify token. You also have to leave at least one event selected, or it will not save.

The thing that surprises everyone: the signing secret is shown once, on screen, immediately after the webhook is created. It is never shown again and nothing in the portal can look it up. If that card is dismissed before you copy the secret, the only way back is Rotate secret, which issues a new one and stops the old one working.

Guide at the top right opens the integration guide, and Back returns to the Settings screen.

Get your endpoint working before you fill this in

Registering is not a passive act. The moment you press Create webhook, ZarklyX calls your address and waits for a specific answer - so whatever is going to receive these events has to be live and already written before you open the form.

What happens in that exchange:

  1. ZarklyX calls your address once, passing a challenge value along with the verify token you typed.
  2. Your code checks the token against the one it expects, and if it matches, sends the challenge value straight back, unchanged.
  3. If that answer comes back correct, the webhook is saved as Active. If it does not, the webhook is still saved - but as Pending.

A Pending webhook receives nothing at all. Only Active webhooks are sent events, so one left Pending looks perfectly registered in the list while quietly delivering nothing.

The verify token is used only for that one exchange. It is never sent again on a real event - checking real events is what the signing secret is for.

Step 1 - The New webhook card

Add webhook at the top right opens a card with two fields.

  • Callback URL (required) - the address ZarklyX will call. It must start with https and be reachable from the internet. Three kinds of address are refused outright: one with a username and password built into it, one pointing at your own machine, and one that resolves to a private or internal network. The reason is named in the message if it is rejected.
  • Verify token (required) - you invent this value, ZarklyX does not issue it. Anything from 8 to 128 characters is accepted; shorter than that and the form will not submit. Generate next to the box fills in a long random value for you - if you use it, put that exact value into your endpoint first, because your code has to be expecting that precise string when the call arrives.

The card starts completely blank each time you open it, with the event selection reset to All events. Cancel throws away whatever you had typed - there is no draft on this screen.

Step 2 - Choosing which events to receive

Events are picked as small chips below the two fields. A highlighted chip is a selected one.

  • All events - everything ZarklyX sends, including events added in future.
  • Individual events - the ticket ones (created, updated, deleted, assigned, status changed, priority changed, delivery date assigned, and the three covering changes raised against a ticket) plus a single one for a new lead. That is the whole list today - there is nothing here for invoices, clients or employees.

The two kinds are mutually exclusive, and the switching is silent: picking All events clears every individual chip you had chosen, and picking any individual chip switches All events off.

Watch out for one quirk - clicking All events while it is already on turns it off and leaves you with nothing selected. Create webhook then refuses and asks for at least one event.

There is also a test event, used by the Test button, and it is deliberately not offered as a chip. When you choose individual events it is added to your selection for you, so that Test has something that can actually reach you. Your code should either ignore it or treat it as a health check. All events already covers it.

You can keep up to ten webhooks at a time. An eleventh is refused with a message about the limit; deleting one you no longer need frees a slot.

Step 3 - Copy the signing secret

When Create webhook succeeds, the form disappears and a bordered warning card takes its place, holding the signing secret with a copy button beside it. That secret is what your code uses to check the signature on every message ZarklyX later sends you.

Copy it immediately. It is shown this one time only and cannot be retrieved afterwards by you, by an administrator, or by support.

Three different actions dismiss that card and lose the secret: Done, Cancel, and pressing Add webhook again to register the next one. None of them warns you, because the portal has no way of knowing whether you copied it.

If your endpoint did not pass the check, this same card says so and the new row appears in the list as Pending. That does not cost you the secret - fix your endpoint and use Re-verify on the row. The secret stays the same.

Reading the list

The table below holds every webhook you have registered, newest first. The card heading counts them.

  • Endpoint - the address, shortened on screen if it is long.
  • Events - what that webhook is subscribed to.
  • Status - Active, Pending or Disabled, with a count of failures next to it once there have been any.
  • Last delivery - the time of the last successful delivery. If there has never been one, it shows the last failure instead, and a dash when nothing has been attempted at all. The latest error message appears underneath in red, cut short - hover over it to read the whole thing.
  • Actions - the buttons at the end of the row.

There is no search, no filter and no paging here. With a maximum of ten webhooks, everything is on one screen.

Two things to know about Disabled. A webhook switches itself to Disabled after roughly fifteen failed attempts in a row, and a Disabled webhook is sent nothing, exactly like a Pending one. A single successful delivery puts the failure count back to zero.

Deliveries is the only action that needs no special permission. If Test, Re-verify, Rotate secret and Delete are all missing from every row, and there is no Add webhook button at the top, your role has view-only access to this area.

Testing, and the delivery log

Test on a row sends one test event, then opens the delivery log underneath and reloads it by itself a couple of seconds later.

Read the confirmation message carefully - it says the test was queued, not delivered. Sending happens in the background, so the delivery log is the only honest confirmation. If the log is still empty, press Refresh; the first attempt may simply not have landed yet.

The real surprise: a test event goes to every Active webhook in your agency that is subscribed to it, not only the row you clicked. If several endpoints are registered, expect all of them to receive your test.

Test refuses outright on a webhook that is not subscribed to the test event, and suggests adding it - but nothing on this screen can add an event to an existing webhook, so in practice that means deleting it and registering it again with All events.

The log shows the last fifty attempts for that one webhook, newest first:

  • Event - which event was being sent.
  • Status - delivered, pending, failed or dead.
  • Attempt - which try this row represents.
  • HTTP - the code your endpoint answered with. Anything outside the 200s is treated as a failure, and a dash means no answer arrived at all.
  • Response - the start of your endpoint's reply, or the reason the attempt failed, shown in red when it failed.
  • When - when the attempt was delivered, or when it was created if it never was.

A failed event is retried up to five times with growing gaps - roughly a minute, then five minutes, half an hour, two hours and six hours. After the fifth it is marked dead and never tried again. There is no replay button here, so anything dead has to be picked up from the portal by hand.

Close hides the log; it changes nothing.

Re-verify, Rotate secret and Delete

The buttons at the end of a row, and what each really does:

  • Re-verify - appears only while a webhook is Pending. It runs the registration check again. If it passes, the webhook goes Active and its failure count is cleared; if not, it stays Pending and tells you so.
  • Re-enable - the same button on a Disabled webhook, just labelled differently. It also redoes the check, so an endpoint that is still broken will not come back.
  • Rotate secret - offered on every row whatever its status. The confirmation warns that the current secret stops working the moment it completes, and that is literally true: deploy the new one straight away or every delivery begins to fail. The new secret appears in the same copy-it-once card as before.
  • Delete - the confirmation names the address and says it will stop receiving events immediately. There is no undo and the row is gone from the list.

Notice what is not here: nothing on this screen edits a webhook. You cannot change its address or its event list after it is created. Changing either means deleting it and registering again - which also means a new signing secret to deploy.

Both confirmation boxes can be closed by clicking the dimmed area outside them, which counts as Cancel and does nothing.

If something does not work

A few things that commonly catch people out on this screen.

  • A new webhook sits at Pending and nothing arrives - the registration check failed. Either your endpoint did not send the challenge value back, or the token it expects is not the one you typed. Fix it, then press Re-verify.
  • You lost the signing secret - it cannot be recovered. Use Rotate secret, copy the new one at once, and deploy it.
  • The secret card disappeared before you copied it - Done, Cancel and Add webhook all dismiss it. Same fix: rotate.
  • Create webhook refuses and asks for at least one event - clicking All events a second time switched it off and left nothing selected. Pick something.
  • The address was rejected - it must start with https, must not have a username and password in it, and must not point at your own machine or a private network. The message names the reason.
  • The token was rejected - it has to be 8 to 128 characters. Generate always produces a valid one.
  • A message about the subscription limit - ten webhooks is the maximum. Delete one you no longer use.
  • Test says it cannot reach this webhook - that webhook is not subscribed to the test event. Nothing here can add an event to an existing webhook, so delete it and create it again with All events.
  • Test reported success but nothing arrived - it only reported that the test was queued. Open the delivery log and press Refresh.
  • Your endpoint received a test nobody on your team asked for - a test reaches every Active webhook subscribed to it, whoever pressed the button and on whichever row.
  • A webhook went Disabled on its own - around fifteen failed attempts in a row switch one off. Fix the endpoint, then press Re-enable.
  • An attempt shows failed with a dash in the HTTP column - no answer came back at all, such as a timeout or an address that could no longer be resolved. The Response column names the reason.
  • A delivery says delivered but your code never acted on it - delivered only means your endpoint answered with a code in the 200s. What happens after that reply is on your side.
  • An event is marked dead - all five attempts are used up, spread over about nine hours, and it will never be retried.
  • You want to change an address, or add an event to a webhook that already exists - it cannot be done here. Delete it and register it again, and deploy the new secret.
  • Only the Deliveries button is visible on each row - your role has view-only access to this area. Ask an administrator.