Send delayed messages and configure callbacks with Upstash QStash

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

Steps

  1. Publish a message to QStash via HTTP POST to https://qstash.upstash.io/v2/publish/YOUR_DESTINATION_URL with the Authorization header set to Bearer YOUR_TOKEN and the message body as the request body
  2. Add a delay with the Upstash-Delay header (e.g., Upstash-Delay: 30s or 10m or 1h) or schedule with Upstash-Not-Before as a Unix timestamp
  3. Set Upstash-Callback to a URL that QStash will POST to with the delivery result after the destination responds; use this for async confirmation
  4. For scheduled recurring messages, use the QStash Schedules API: POST to /v2/schedules with Upstash-Cron header containing a cron expression
  5. Verify incoming QStash requests in your endpoint by validating the Upstash-Signature header using the QStash signing key to prevent spoofed requests

Known gotchas

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