Webhooks support for user invite and reject event?
Hello
I read the webhooks & events documentation about how to create webhooks. Our requirement is create a webhook for user invite accepted and rejected action. I don't see the triggers for these two action whereas i can see the event types for invite accepted/rejected are listed in the events page.
https://developer.box.com/en/reference/resources/webhook/#param-triggers
https://developer.box.com/en/reference/resources/event/#param-event_type
Thanks,
Pandi
-
Hi ,
Since the webhooks will be bound to a specific file / folder, the invite / reject event types aren't available via webhooks. I'd recommend a few options:
- You can poll the event stream on a regular basis to look for new invite / reject events, then act accordingly.
- You can instead use the collaboration events (or something similar) and only act once a user is added has accepted and added as a collaborator to some content (depending on your use case).
Thanks,
Jon
Please sign in to leave a comment.
Comments
1 comment