202 Accepted
code in case of a duplicate message.
Deduplication ID
To deduplicate a message, you can send theUpstash-Deduplication-Id
header
when publishing the message.
Content Based Deduplication
If you want to deduplicate messages automatically, you can set theUpstash-Content-Based-Deduplication
header to true
.
- Destination: The URL Group or endpoint you are publishing the message to.
- Body: The body of the message.
-
Header: This includes the
Content-Type
header and all headers, that you forwarded with theUpstash-Forward-
prefix. See custom HTTP headers section.
The deduplication window is 10 minutes. After that, messages with the same ID or content can be sent again.