When you publish a message, QStash will deliver it to your chosen destination. This is a brief overview of how a request to your API looks like.
We are forwarding all headers that have been prefixed with
Upstash-Forward- to your API. Learn more
In addition to your custom headers, we’re sending these headers as well:
|Will be set to |
|The original |
|The topic name if sent to a topic|
|The signature you need to verify See here|
|How often the message has been retried so far. Starts with 0.|
|The message id of the message.|
The body is passed as is, we do not modify it at all. If you send a JSON body, you will receive a JSON body. If you send a string, you will receive a string.