> ## Documentation Index
> Fetch the complete documentation index at: https://upstash-dx-3081-agentkit-tanstack-ai-backends.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Receiver

When receiving a message from QStash, you should [verify the signature](/qstash/howto/signature).
The QStash Python SDK provides a helper function for this.

```python theme={null}
from qstash import Receiver

receiver = Receiver(
    current_signing_key="YOUR_CURRENT_SIGNING_KEY",
    next_signing_key="YOUR_NEXT_SIGNING_KEY",
)

# ... in your request handler

signature, body = req.headers["Upstash-Signature"], req.body

receiver.verify(
    body=body,
    signature=signature,
    url="YOUR-SITE-URL",
)
```


## Related topics

- [Receiver](/qstash/sdks/ts/examples/receiver.md)
- [Use as Webhook Receiver](/qstash/howto/webhook.md)
- [Vercel - Upstash Redis Integration](/redis/howto/vercelintegration.md)
- [Verify Signatures](/qstash/howto/signature.md)
- [Cloudflare Workers](/qstash/quickstarts/cloudflare-workers.md)
