Suppress Notifications
Suppress Notifications
For some API calls, email and webhook notifications can be prevented by
including a box-notifications: off
header with the API call.
cURL
curl -X POST https://api.box.com/2.0/folders \
-H "box-notifications: off" \
-H "authorization: Bearer ACCESS_TOKEN" \
-d '{
"name": "New Folder",
"parent": {
"id": "0"
}
}'
As an example, this can be used for a virus-scanning tool to download copies every user's files in an enterprise without every collaborator on the file receiving an email informing them of the download.
All actions will still appear in users updates feed and the audit-logs.