Webhook question
Does anyone know if there is a reliable way to distinguish between webhooks fired as a result of triggers from the Box UI vs webhooks fired as a result of folder/file actions using the node sdk? Or to suppresswebhooks triggered from the SDK?
I've found in the API documentation that a header "box-notifications" can be used to suppress webhooks triggered by API calls but looking at the SDK docs (and stepping through the source code) I can't see where this can be done using the SDK.
Alternatively I've looked for a way to include some sort of tag in the webhook payload which I can use to determine what has triggered it but can't find anything.
I'm looking for an efficient way to filter out webhook events fired by my application and only handle/process events which have happened outside of my app.... anyone come up against a similar issue and found a solution? (apologies if I've missed something in the docs)
サインインしてコメントを残してください。
コメント
0件のコメント