Sunrise 2027: checkouts are switching to 2D codes – is your packaging ready?Learn more →
Contents

Help Center › Settings › Webhooks for Zapier, Make, Slack

Webhooks for Zapier, Make, Slack

Tagvio sends scans, counterfeit suspicions and orders the moment they happen – to Zapier, Make, n8n, Slack or your own server.

With event webhooks, Tagvio tells your tools the moment something happens: a scan, a suspected counterfeit or an order. Each event is a signed HTTPS POST with JSON.

From Scaleup

  1. Open Settings › Webhooks. Only owners and admins see this page.
  2. Under Add a target, paste the address of your tool into Target address (HTTPS).
  3. Choose the Events. Counterfeit suspicion and Order counted are preselected; Scan can mean many messages.
  4. Click Add.
  5. Copy the signing secret right away. It is shown only once. You need it to check signatures.
  6. Click Send test. Tagvio sends a test event at once and shows whether it arrived.
  • Up to 5 targets per workspace.
  • Only HTTPS addresses on the standard port. IP addresses, internal names and Tagvio's own addresses are not allowed.
  • You can also manage targets with the REST API (/webhooks).
Example

The distillery Brennerei Falk sells gin with serial numbers on the neck label. A webhook to its Slack channel “#quality” receives only Counterfeit suspicion. When a serial suddenly shows up in three countries, the team sees it in Slack within minutes and blocks the serial. A second target goes to Zapier, which writes every Order counted into a Google Sheet for the monthly report.

Events

EventIn the appWhenContent of data
scanScanEvery human scan (no bots)tag, kind (scan or buy for a Buy click), country, region, city, device (ios, android, desktop, other), lang; for serials also serial and authentic
counterfeitCounterfeit suspicionSerial with a wrong signature, a blocked serial, or a serial that becomes suspicioustag, reason (invalid_signature, revoked or suspicious), serial, then country and city – or for suspicious scans and countries
orderOrder countedYour shop reported an order that came from a scan (see Shop & revenue)tag, amount, currency
pingSend testTest from the settingsmessage

A serial becomes suspicious once it was scanned in 3 or more countries or 50 times or more. Tagvio reports that once, at the moment the threshold is crossed. Background: Authenticity.

Payload

Every event has the same frame: id, type, created (ISO time of the event), workspace_id and data. data.tag always names the code with id, name, type and scan_url.

{
  "id": "evt_6k2m8q1v7c4xa5n6pt3w",
  "type": "scan",
  "created": "2026-11-26T09:41:00.000Z",
  "workspace_id": "…",
  "data": {
    "tag": { "id": "ab12cd34", "name": "Gin Falk 0.5 l", "type": "gtin", "scan_url": "https://go.tagvio.app/01/09506000134352" },
    "kind": "scan",
    "country": "DE",
    "region": "Bavaria",
    "city": "Munich",
    "device": "ios",
    "lang": "de"
  }
}

A counterfeit suspicion because a serial became suspicious:

{
  "id": "evt_9f3k2m8q1v7c4xa5n6p",
  "type": "counterfeit",
  "created": "2026-11-26T14:02:11.000Z",
  "workspace_id": "…",
  "data": {
    "tag": { "id": "ab12cd34", "name": "Gin Falk 0.5 l", "type": "gtin", "scan_url": "https://go.tagvio.app/01/09506000134352" },
    "reason": "suspicious",
    "serial": "A7K2M9QXR4TB8HCN3PW",
    "scans": 51,
    "countries": ["AT", "DE", "PL"]
  }
}

An order: "data": { "tag": { … }, "amount": 49.9, "currency": "EUR" }

Each request also carries these headers:

  • Tagvio-Event – the event type, e.g. scan.
  • Tagvio-Delivery – the event id. It stays the same on retries; use it to skip duplicates.
  • Tagvio-Signature – the signature, see below.

Events contain no IP addresses, no visitor IDs and no customer data from orders. Slack addresses (hooks.slack.com) get a short text line instead of JSON.

Check the signature

The signature proves that an event comes from Tagvio and was not changed. The header looks like this:

Tagvio-Signature: t=1795245671,v1=5f2c…e91a
  1. Read t (Unix time in seconds) and v1 from the header.
  2. Compute HMAC-SHA256 over t, a dot and the raw request body – exactly as received, before any JSON parsing. The key is your signing secret (whsec_…).
  3. Compare the result as hex with v1.
  4. Reject requests whose t is more than 5 minutes old.

Example in Node.js with Express:

const crypto = require("crypto");
const express = require("express");

const app = express();
const SECRET = process.env.TAGVIO_WEBHOOK_SECRET; // whsec_…

// raw body: the signature covers the exact bytes Tagvio sent
app.post("/tagvio", express.raw({ type: "application/json" }), (req, res) => {
  const header = req.get("Tagvio-Signature") || "";
  const m = /^t=(\d+),v1=([0-9a-f]{64})$/.exec(header);
  if (!m) return res.status(400).send("missing signature");

  const t = m[1];
  const expected = crypto
    .createHmac("sha256", SECRET)
    .update(t + "." + req.body.toString("utf8"))
    .digest("hex");

  const same = crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(m[2]));
  const fresh = Math.abs(Date.now() / 1000 - Number(t)) < 300;
  if (!same || !fresh) return res.status(401).send("invalid signature");

  const event = JSON.parse(req.body.toString("utf8"));
  // answer quickly, process afterwards
  res.sendStatus(200);
  console.log(event.type, event.id, event.data);
});

app.listen(3000);

New secret creates a new signing secret; the old one stops working immediately. Update your server right away. Events your server rejects in the meantime with an error status are retried later and then signed with the new secret.

Zapier, Make and Slack do not check signatures. There the secret address of the target protects you – do not share it.

Delivery and retries

  • Tagvio sends each event right away. An event is accepted when your server answers with any 2xx status within 8 seconds. Redirects are not followed.
  • Otherwise Tagvio tries again after 1 min, 5 min, 30 min, 2 h, 6 h, 12 h and 24 h. After that the event is dropped. Retries run every 5 minutes, so they can come a few minutes later.
  • Do not rely on the order of arrival. Use created and skip duplicates by Tagvio-Delivery.
  • After 50 failed attempts in a row, or when the target answers 410 Gone, Tagvio switches the target off. Zapier, for example, answers 410 when you turn a Zap off. Click Resume to switch it on again.
  • If more than 5,000 events are waiting for one target, Tagvio drops new scan events for it. Counterfeit suspicions and orders are kept.
  • Pause stops deliveries and discards waiting events. Delete removes the target with its waiting events.

Last delivery on each target shows the time and the result: accepted, no answer within 8 s, not reachable, an HTTP status, or too many waiting. Send test sends a ping event once, without retries.

Zapier, Make and Slack

Zapier

  1. Create a new Zap. As trigger choose Webhooks by Zapier with the event Catch Hook.
  2. Copy the webhook URL Zapier shows (https://hooks.zapier.com/hooks/catch/…).
  3. In Tagvio, add it under Settings › Webhooks, choose the events and click Add.
  4. Click Send test in Tagvio, then Test trigger in Zapier. The test event appears.
  5. Add actions, e.g. a row in Google Sheets or an email. Use type in a filter step if one target receives several events.

Make

  1. Create a scenario with the module Webhooks › Custom webhook and add a new webhook.
  2. Copy the address Make shows and add it in Tagvio under Settings › Webhooks.
  3. Click Send test in Tagvio. Make recognises the data structure from the test event.
  4. Add further modules and switch the scenario on.

Slack

  1. In Slack, create an app with Incoming Webhooks switched on and add a webhook for the channel you want.
  2. Copy the address (https://hooks.slack.com/services/…) and add it in Tagvio. Tagvio shows “Slack address detected – messages are sent as short text.”
  3. Choose few events, e.g. only Counterfeit suspicion and Order counted. Every scan in a channel quickly gets noisy.
  4. Click Send test. A test message appears in the channel.

n8n and your own systems work the same way: a URL that accepts POST requests with JSON.

Related: Shop & revenue · Serial numbers · REST API: getting started

Still stuck?

Use the contact form or write to hello@tagvio.app – we usually reply within 1–2 business days.

Try it in the app

Free plan forever. No credit card. Early access: we activate new accounts within one working day.

Start free →