Integrations · Webhooks

Outgoing webhooks: tell your other systems the moment something happens in Daftiq

The Webhooks module sends the data of a Daftiq event to an address you choose. When a sales invoice is created, for example, Daftiq calls your https URL with JSON holding the event, module, time and invoice details. You pick the event, method and URL in Settings. Each call is signed, so your system can check it came from Daftiq.

Last updated:

Webhooks · Module page: Webhooks

Methods
POST (JSON body) or GET (query parameters)
Signing
X-Signature: sha256 HMAC with each webhook's own secret
Retries
Up to 4 attempts, after about 1, 5 and 30 minutes
Addresses
Public https only
Status
Last delivery result shown in Settings

How do I add a webhook in Daftiq?

  1. Open Settings → Webhook Settings and click Add Webhook.
  2. Choose the Method: POST or GET.
  3. Select event from the list, which is grouped by module.
  4. Enter the Webhook URL where the call should go. It must be a public https address.
  5. Click Create Webhook. Under Configured Webhooks, click Copy signing secret and give it to whoever builds the receiving side.
  6. Use the switch to make a webhook Active or Inactive, and Edit or Delete it at any time.

Which Daftiq events can trigger a webhook?

GroupEvents
General New user; sales invoice created or posted; proposal created or accepted; new purchase bill; new warehouse
Accounting New customer, vendor or revenue
CRM New lead or deal; lead or deal moved; lead converted to deal
Projects New project, milestone, task, bug, task comment; task stage changed
HR and others Award, announcement, holiday and event in HRM; Recruitment, Training, Contracts and Zoom Meetings events

An event only fires when its module is in use. Events cover new records and stage or status changes; edits and deletions are not sent.

What does my system receive?

With POST, the body is JSON with four keys: event, module, timestamp and data. With GET, the same four values arrive as query parameters, with data as a JSON string. Data holds the record's main fields; for a sales invoice, for example, the invoice number, dates, customer, warehouse, tax and totals. Each call carries an X-Webhook-Delivery header with a unique ID, so you can ignore a repeat, and an X-Signature header of the form sha256=… : the HMAC-SHA256 of the raw body (or, for GET, of the query string) made with that webhook's signing secret. Work out the same HMAC on your side and compare.

What if my server is down?

  • Calls go out from a queue after the record is saved, so your work in Daftiq is never held up.
  • A network error, a timeout, or an answer of 408, 429 or 5xx is tried again after about 1, 5 and 30 minutes, four attempts in all.
  • Answers such as 400, 401 or 404 mean the receiver refused the call, so it is not retried.
  • Webhook Settings shows the last delivery for each webhook: "Last delivery succeeded (HTTP 200)", or the error and how many failed in a row.

What can I build with Daftiq webhooks?

Webhooks carry a step in Daftiq to the next step somewhere else: an invoice posted in Sales can create a delivery job in your courier app; a new customer in Accounting can be added to your mailing tool; a lead won in CRM can start an onboarding checklist; a new task in Projects can reach a no-code automation tool.

If you only want a readable line in a chat, use Slack or Telegram instead. If an outside AI app should read Daftiq data on request, use the MCP server.

Frequently asked questions

How do I check that a call really came from Daftiq?

Work out the HMAC-SHA256 of the raw body (or of the query string for GET) with the webhook's signing secret, and compare it with the X-Signature header.

Can one event go to more than one address?

Yes. Add a separate webhook for each URL and pick the same event.

Can I send to a server in my office?

Only if it has a public https address. Private and local addresses are refused for safety.

Can Daftiq receive webhooks from other apps?

No. This module only sends events out of Daftiq.

Is there a resend button or delivery history?

No. Settings shows the latest result for each webhook. Use the delivery ID to spot repeats on your side.

In this group: Webhooks

  • Webhooks: Send ERP Events to Your Own Apps

Connect Daftiq to the rest of your stack

Add the Webhooks module, pick an event and paste your URL. See plans and pricing and all Webhooks features.

Create a free account · Book a demo · Pricing