← All guides · Automations & messaging
Signed webhooks: what a developer needs to know
A plain-English briefing for the developer wiring your DJ business to other systems: signatures, retries, event ids and keys in Gig Nest webhooks.
The short answer
- Every webhook is signed so the receiver can prove it came from Gig Nest.
- Failed deliveries are retried for about a day, with a stable event id.
- Send your developer to /developers and give them their own API key.
Who this is for
This is for the DJ who has a web developer, a technically minded partner or an agency building something around the business, and wants to brief them properly. You do not need to understand the code. You do need to know what to ask for and what a careful job looks like, because a badly built connection is one more thing that can leak client data or silently stop working. The short version: Gig Nest posts signed events to an address you choose, the developer's code checks the signature, acts on the event and answers quickly. Everything below expands on that.
What a webhook contains
When something happens in your account, Gig Nest sends a JSON message to each webhook address subscribed to that event, within about a minute. The message says what kind of event it is and includes the record concerned, such as the lead, event, invoice or payment, in the same shape the REST API returns. That consistency saves your developer time, because the code that reads an event from the API also reads it from a webhook. The events are the same ones that run Gig Nest's own automations, and the current list is on the /developers page.
Why the signature matters
An address on the public internet can be posted to by anyone who finds it. Without a check, someone could send a fake payment event and your developer's code would believe it. So every request carries a Gig-Nest-Signature header containing a timestamp and a signature. The signature is an HMAC-SHA256 of the timestamp, a full stop and the raw body, keyed with that webhook's signing secret. The receiver recomputes it and compares. It should also check the timestamp is recent, which stops an old captured message being replayed. A worked example is on the developer page.
Retries and duplicates
The receiver should answer with any 2xx status within ten seconds. Anything else counts as a failure and is retried after one minute, five minutes, thirty minutes and then at intervals of hours, eight tries over about a day. Redirects are not followed. Because of retries, the same event can arrive more than once, so the code must cope with that. Each delivery carries a Gig-Nest-Event-Id header, matching the id in the body, which stays the same on every retry. Storing the ids already handled and ignoring repeats is the standard approach.
When an address keeps failing
If an address has failed for a day, Gig Nest switches it off and emails the business owner. That is the email to forward to your developer straight away. It usually means the server moved, a certificate lapsed or a deploy broke the endpoint. A receiver that no longer wants events can answer 410 Gone to be unsubscribed at once. Addresses must be https and reachable on the public internet, so a developer cannot point a webhook at a machine in their office without exposing it properly first.
Keys and least privilege
Webhooks are added in Settings under API and webhooks, or subscribed through the API itself. API keys come in read-only and read-and-write forms. A read-only key can look things up. A read-and-write key can also add enquiries and set up webhooks. Ask your developer which they need and why. A reporting dashboard needs read-only. A website form that creates enquiries needs write. Give each project its own key, so that when a contractor finishes or a tool is retired you can remove that one key without breaking anything else.
Testing before going live
The settings screen has a test button that sends a webhook.test event to the address. Your developer should use it to confirm the signature check passes and the endpoint answers in time, before any real event is subscribed. After that, create a test enquiry with your own email address and watch it arrive end to end. Ask them to show you what happens when their endpoint is down: does the event arrive later on a retry, and is anything processed twice. Those two questions catch most careless builds.
What to ask for in the handover
When the work is finished, ask for three things in writing: which events are subscribed and where they go, which keys exist and what each can do, and what you should do if the failure email arrives. Keep that note with your other business records. Client details are leaving your account for another system, so your own privacy wording should cover it, and a solicitor can tell you what it needs to say. A connection you can describe in three lines is one you can fix in two years' time when the person who built it has moved on.
Questions people ask
- Where is the full technical reference?
- The REST API and webhook documentation is published at /developers, including the event list, the record shapes, the signature format with a code example, and notes for Zapier, Make and n8n. That is the page to send your developer.
- Can my developer see my clients' card details through the API?
- No. Card payments are handled by Stripe and Gig Nest never sees card details, so they are not available through the API or webhooks. A payment record shows that money was received, not the card it came from.
- What happens if my developer's server is down for an hour?
- The delivery is retried on a schedule over about a day, so a short outage is usually covered and the event arrives on a later attempt. Only an address that fails for a full day is switched off, and the owner is emailed when that happens.