Skip to content

Commit b4134f1

Browse files
authored
Merge pull request #6861 from segmentio/spencerattick-patch-5
Batching with Shared Secret Clarification
2 parents 9181947 + ca4ec68 commit b4134f1

File tree

1 file changed

+4
-0
lines changed
  • src/connections/destinations/catalog/actions-webhook

1 file changed

+4
-0
lines changed

src/connections/destinations/catalog/actions-webhook/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ Segment's Webhooks (Actions) destination uses internet protocol and HTTP callbac
2828

2929
In Webhook Actions mapping, the default value of batch size is `1000`. You can change this value, but there's a maximum batch size limit of `4000`.
3030

31+
## Shared secret with batching
32+
33+
If you have batching enabled and are using a shared secret to authenticate your requests, Segment signs the _first_ event in the batch rather than the whole batch. When verifying the `X-Signature` header in your code, ensure you're only signing the first event in the batch to match the signature with what Segment creates.
34+
3135
## FAQs
3236

3337
### Why is a Webhooks (Actions) Destination helpful with end-to-end tests?

0 commit comments

Comments
 (0)