Webhook receiver (paid runtime)
BOX-SIGNATURE-PRIMARY and BOX-SIGNATURE-SECONDARY (HMAC-SHA256). The receiver validates the primary signature, falling back to secondary for rotation safety.
Setup
- Create a Box App at developer.box.com. Use Server Authentication (JWT) for service account access.
- Request the following App Scopes: Manage webhooks, Read all files and folders stored in Box, Manage retention policies.
- Create a webhook in the Box Developer Console pointing to
https://runtime.myceliumai.co/webhooks/box/{your_tenant_id}. - Select triggers: FILE.UPLOADED, FILE.TRASHED, FOLDER.CREATED, COLLABORATION.ACCEPTED.
- Add to the runtime env:
BOX_CLIENT_ID_{TENANT_ID}BOX_CLIENT_SECRET_{TENANT_ID}BOX_ENTERPRISE_ID_{TENANT_ID}BOX_PRIMARY_KEY_{TENANT_ID}andBOX_SECONDARY_KEY_{TENANT_ID}(webhook signing keys)