Create Webhook V2 with primary key
AnsweredHello
I need to post event to a third party application from Box via Webhook. Can someone guide me on how to set primary key and secondary key in Webhook V2 via api?
I don't see it in payload at https://developer.box.com/reference/post-webhooks/
Thanks,
Bakul
-
You configure the Primary and Secondary keys on the configuration page for your Box application within the developer console (these keys are global for your app). Configuring these are optional, but do provide you with an added layer of security.
These keys will be returned in the headers of the webhook payload that is fired from Box for the events you subscribe to. See the details here:
V2 Webhooks - Box Developer Documentation
You can then grab the values from the headers and use them to validate the authenticity of the webhook payload.Hope this helps,
Tim
Please sign in to leave a comment.
Comments
2 comments