Skip to main content
Source Code This is a step by step guide on how to receive webhooks from QStash in your Deno deploy project.

1. Create a new project

Go to https://dash.deno.com/projects and create a new playground project.

2. Edit the handler function

Then paste the following code into the browser editor:

3. Add your signing keys

Click on the settings button at the top of the screen and then click + Add Variable Get your current and next signing key from Upstash and then set them in deno deploy.

4. Deploy

Simply click on Save & Deploy at the top of the screen.

5. Publish a message

Make note of the url displayed in the top right. This is the public url of your project.
In the logs you should see something like this:
start time: 2.21 ms

Next Steps

That’s it, you have successfully created a secure deno API, that receives and verifies incoming webhooks from qstash. Learn more about publishing a message to qstash here