Send events with webhooks
On this page
Webhooks send events from Deskwoot to a URL you choose the moment they happen, such as a new conversation, a new message or a resolved conversation. Use them to keep a CRM in sync, start your own automations or log support events in your own database.
Which plan you need
Webhooks need the Startup plan or higher, and the trial includes them. On the free Hacker plan, webhooks made earlier stay listed under Settings > Webhooks and can be deleted, but they send nothing until your plan includes webhooks again. Then they send by themselves.
Create a webhook

- Go to Settings > Webhooks. Only administrators see this page.
- Click Create Webhook.
- Under Address, enter the address that should receive the events. It has to be a public HTTPS URL.
- Under Which events?, tick the events you want. With none ticked, the webhook gets every event except the ticket events.
- Click Create Webhook. Deskwoot shows the webhook's secret this one time, under Your new webhook's secret.
- Click Copy and keep the secret with your program.
- Click Done.
From then on Deskwoot sends a POST request with a JSON body to your URL each time a matching event happens:
- A new conversation
- A change to a conversation
- A new message
- An assignment
- A resolved conversation
- A contact change
- A CSAT rating
- A change to a ticket
Deskwoot signs every request, so your endpoint can check that it really came from Deskwoot.
- The switch next to a webhook turns it off and on again.
- Edit changes its URL or its events.
- The list shows how many events each webhook gets, for example 3 events, or All events except tickets when none are ticked (All events while tickets are switched off).
Ticket events
While tickets are switched on, Which events? also lists Tickets with Ticket created, Ticket updated, Ticket assigned and Ticket resolved. A ticket is your team's internal work, so it never sends a conversation event.
Every change to a ticket sends its ticket event instead, and only to webhooks that tick it. A webhook with no events ticked gets no ticket events, so a webhook you made before tickets keeps getting customer conversations only.
- A comment on a ticket is a New message event (
message.created) withconversationKindTICKET. It goes only to webhooks that tick New message and at least one ticket event. - The data holds
ticketIdandticket, the ticket as it is when the event goes out: number, title, status, priority, category, team, assignee, creator, its own ticket status, labels, custom attributes, the conversation it came from, and its trackers and Jira issues. - Ticket updated adds
changesandsource, Ticket assigned adds the new and the previous assignee, and Ticket resolved adds who resolved it. - The text of the ticket's summary never goes out. When the summary changes,
changes.summaryis justtrue. - A tracker is a ticket with
trackertrue and no contact. Linking a conversation or a ticket to a tracker, or unlinking it, sends the tracker's Ticket updated withchanges.links. - Raising, linking or unlinking a Jira issue, and each new status of one, sends Ticket updated with
changes.linkedIssues.
Reply to customers from your own code
A webhook only sends data out of Deskwoot. To answer customers or change conversations from your own server, use a Custom webhook bot or the REST API.
Custom webhook bot
Your own server or n8n answers customer messages as a bot. Deskwoot sends each customer message to your URL and posts the reply your server returns, or hands the conversation to your team.
- Add a Custom webhook bot under Settings > AI > More bots.
- It needs the Startup plan or higher, and the trial includes it.
- Only the workspace owner creates one or changes its server address.
- Each conversation the bot answers counts as 1 AI conversation per conversation window, and 0.5 where Fynn already counted it. When your AI conversations are used up, the bot does not answer and the conversation goes to your team.
REST API
To answer customer messages, assign, label or resolve a conversation or update a contact from your own code or from a tool like n8n, Make or Zapier, you call the Deskwoot REST API.
- It needs the Enterprise plan, and the trial includes it.
- Each conversation you answer through it counts as 1 AI conversation per conversation window, and 0.5 where Fynn already counted it.
- How to create a token: API tokens and developer access.
Tips
- Subscribe only to what you need. Every event is a request to your endpoint, and fewer requests make debugging easier.
- Answer fast. Return a
2xxstatus as soon as the request arrives and do the heavy work in a background job. Deskwoot waits 10 seconds at most. - Log the raw payloads while you build, so you see the exact structure of each event.
- Make a second delivery harmless. In rare cases an event arrives twice, so processing it again must not create duplicates.
Troubleshooting
- No events arrive? Check that the URL is right, reachable from the internet and answers with
2xx. Firewalls or IP allowlists can block the requests without any error on your side. On the free Hacker plan webhooks send nothing at all. - The body looks wrong? Parse it as JSON (
Content-Type: application/json) and check your server logs for parsing errors. - Events arrive late? Deskwoot sends each event right away, and a retry follows 5 seconds after a failed delivery. If events keep arriving late, check whether your server throttles or queues incoming connections.
Frequently asked questions
Is the delivery signed?
Yes. Each request carries an X-Deskwoot-Signature header (sha256= followed by the hex HMAC SHA256 of the raw body, signed with your webhook's secret) and an X-Deskwoot-Event header with the event name. Check the signature before you process a request, so forged requests are rejected.
You see the secret only once, right after you create the webhook in Settings > Webhooks (webhooks are created only there, not with an API token). If you no longer have the secret of an older webhook, create a new webhook and delete the old one.
Does Deskwoot retry a failed delivery?
Once. If the request fails, your endpoint answers with an error or takes longer than 10 seconds, Deskwoot tries again after 5 seconds. If that fails too, the event is dropped, so build your endpoint to cope with short outages.
What happens if my endpoint is down for a few hours?
Events from that time are lost, because Deskwoot keeps nothing beyond the single retry. Once your endpoint is back, you can catch up through the REST API (Enterprise): list the conversations sorted by newest activity and compare them with your data.
Can I filter events before they are sent?
By event type, yes: tick only the events you need. By content (for example only the conversations of one inbox), no. Filter those on your endpoint.
Can I get the same event twice?
Rarely, for example when your endpoint processed the first request but answered too late, so the retry came as well.
The body has no event ID, so use the event name together with the ID of the object in data (for example the message ID) to skip events you already processed.
How do I test a webhook before going live?
The dashboard has no test button. Point a webhook at a temporary URL from a service like webhook.site or RequestBin, then create a real event, for example by writing to one of your inboxes.
Check the payloads and your parser, then switch the URL to your real endpoint with Edit.
Was this guide helpful?
Keep reading
- API tokens and developer accessCreate a token for the Deskwoot REST API, pick its scopes and expiry, and make your first call.Read guide
- Import from ZendeskMove Zendesk tickets (archived ones included), users, organizations and your help center to Deskwoot.Read guide
- Import from FreshdeskMove every Freshdesk ticket, contact and knowledge base article to Deskwoot. Folders that were not public stay internal.Read guide