Skip to content

Commit 38d326f

Browse files
batching with shared secret
1 parent 9181947 commit 38d326f

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, please 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)