- QStash’s built-in request verification
- Custom header and custom authorization mechanism
Using QStash’s built-in request verification (recommended)
Use QStash’s built-in request verification to allow only authorized clients to trigger your workflow. Set two environment variables in addition to your QStash API key:.env
xxxxxxxxx
with your actual keys. Find both of these keys in your QStash dashboard under the “Signing keys” tab:

Upstash-Signature
header) or from a client that manually populates the Upstash-Signature
header with your signing secret.
We suggest using QStash’s publish API to trigger your workflow:
Terminal
serve
function: