POST integration_mappings/slack/:integration_mapping_id
call to create a mapping. To make it work,
you need box_item and partner_item parameters,
which refer to a Box folder and a Slack channel, respectively.
Remember that before the mapping can be created,
this service account must be set as a co-owner
role on the folder that is being mapped.
If you encounter any errors, see the .
is_access_management_disabled to
true will disable collaboration management. Slack channel members will
not become collaborators on the channel folder and no shared links will
be created for channels with 1000+ members.
Create Slack Integration Mapping with Box SDK
Use Box SDK to automatically create the Integration Mapping, including a co-owner collaboration of the service account on the Slack channel - Box folder mapping. To do so, use this script:Make sure to replace
PLACEHOLDER with the logged value of
serviceAccountId.