Configure Voucherify webhooks and use the Publications API to deliver voucher codes to customers

domain: docs.voucherify.io · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. In Project Settings > Webhooks, generate a signing secret and register the events and target URL you want notified on (webhook subscriptions are dashboard-configured; there is no API endpoint to create them).
  2. Verify each inbound webhook using the x-voucherify-signature header (HMAC-SHA256 over the raw request body with your signing secret) and return a 2xx within the documented timeout.
  3. Separately, set up a Distribution (Engagement > Distributions) to define a trigger (e.g. segment entered, order paid) and an action/channel (email, SMS, webhook) for automatically messaging customers.
  4. To assign a voucher code to a customer purely via API, POST /v1/publications with a campaign name (or specific voucher code) and a customer object.
  5. Handle delivery yourself (email/SMS) if you're not using a dashboard-configured Distribution channel, since publication alone only allocates the code.

Known gotchas

Related routes

Create a Voucherify campaign and bulk-generate voucher codes, then track async generation status
docs.voucherify.io · 5 steps · unrated
pull orders and configure webhooks with the webconnex ticketspice/regfox api
docs.webconnex.io · 5 steps · unrated
Validate and redeem multiple stackable vouchers, gift cards, and promotion tiers in a single Voucherify API call
docs.voucherify.io · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans