Join us on May 20th for the Content + AI Virtual Summit. Register now
curl -X -L POST "https://api.box.com/2.0/integration_mappings/teams" \
-H "authorization: Bearer <ACCESS_TOKEN>" \
-H 'content-type: application/json' \
-d '{
"partner_item": {
"id": "19%3ABCD-Avgfggkggyftdtfgghjhkhkhh%40thread:tacv2",
"type": "channel",
"team_id": "hjgjgjg-bhhj-564a-b643-hghgj685u",
"tenant_id": "E1234567"
},
"box_item": {
"id": "42037322",
"type": "folder"
}
}'{
"id": "12345",
"type": "integration_mapping",
"partner_item": {
"id": "19%3ABCD-Avgfggkggyftdtfgghjhkhkhh%40thread:tacv2",
"type": "channel",
"tenant_id": "E1234567",
"team_id": "hjgjgjg-bhhj-564a-b643-hghgj685u"
},
"box_item": {
"type": "folder",
"id": "42037322"
},
"integration_type": "teams",
"is_overridden_by_manual_mapping": true,
"created_at": "2012-12-12T10:53:43-08:00",
"modified_at": "2012-12-12T10:53:43-08:00"
}Creates a Teams integration mapping by mapping a Teams channel to a Box item. You need Admin or Co-Admin role to use this endpoint.
curl -X -L POST "https://api.box.com/2.0/integration_mappings/teams" \
-H "authorization: Bearer <ACCESS_TOKEN>" \
-H 'content-type: application/json' \
-d '{
"partner_item": {
"id": "19%3ABCD-Avgfggkggyftdtfgghjhkhkhh%40thread:tacv2",
"type": "channel",
"team_id": "hjgjgjg-bhhj-564a-b643-hghgj685u",
"tenant_id": "E1234567"
},
"box_item": {
"id": "42037322",
"type": "folder"
}
}'{
"id": "12345",
"type": "integration_mapping",
"partner_item": {
"id": "19%3ABCD-Avgfggkggyftdtfgghjhkhkhh%40thread:tacv2",
"type": "channel",
"tenant_id": "E1234567",
"team_id": "hjgjgjg-bhhj-564a-b643-hghgj685u"
},
"box_item": {
"type": "folder",
"id": "42037322"
},
"integration_type": "teams",
"is_overridden_by_manual_mapping": true,
"created_at": "2012-12-12T10:53:43-08:00",
"modified_at": "2012-12-12T10:53:43-08:00"
}Documentation Index
Fetch the complete documentation index at: https://developer.box.com/llms.txt
Use this file to discover all available pages before exploring further.
The access token received from the authorization server in the OAuth 2.0 flow.
A request to create a Teams Integration Mapping object.
The schema for an integration mapping mapped item object for type Teams.
Show child attributes
The Box folder, to which the object from the partner app domain (referenced in partner_item_id) is mapped.
Show child attributes
Returns the created integration mapping.
A Microsoft Teams specific representation of an integration mapping object.
A unique identifier of a folder mapping (part of a composite key together with integration_type).
"12345"
Mapping type.
integration_mapping "integration_mapping"
Mapped item object for Teams.
Show child attributes
{
"id": "19%3ABCD-Avgfggkggyftdtfgghjhkhkhh%40thread:tacv2",
"type": "channel",
"tenant_id": "E1234567",
"team_id": "hjgjgjg-bhhj-564a-b643-hghgj685u"
}The Box folder, to which the object from the partner app domain (referenced in partner_item_id) is mapped.
Show child attributes
Identifies the Box partner app, with which the mapping is associated. Supports Slack and Teams. (part of the composite key together with id).
teams "teams"
Identifies whether the mapping has been manually set by the team owner from UI for channels (as opposed to being automatically created).
true
When the integration mapping object was created.
"2012-12-12T10:53:43-08:00"
When the integration mapping object was last modified.
"2012-12-12T10:53:43-08:00"
Was this page helpful?