Create a Voucherify campaign and bulk-generate voucher codes, then track async generation status

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. POST /v1/campaigns with campaign_type (e.g. DISCOUNT_COUPONS or GIFT_VOUCHERS), a type of AUTO_UPDATE or STATIC, vouchers_count, and a voucher.code_config pattern.
  2. Poll GET /v1/campaigns/{campaignId} (or the associated async action) until creation_status and vouchers_generation_status report DONE.
  3. To grow an existing campaign later, POST /v1/campaigns/{campaignId}/vouchers with an additional count and optional code_config override.
  4. For very large batches, monitor progress via GET /v1/async-actions/{asyncActionId} rather than assuming synchronous completion.
  5. Distribute the generated codes to customers via the Publications API or your own export/delivery flow.

Known gotchas

Related routes

Create Voucherify customers and build static or dynamic segments for targeting
docs.voucherify.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