Box

Box logo

Box

Configuration

Box source connector integrates with the Box API to extract and synchronize data.

Connects to your Box account and syncs folders, files, comments, users, and collaborations.

Authentication

This connector uses OAuth 2.0 authentication. You can connect through the Airweave UI or API using the OAuth flow.

Supported authentication methods:

  • OAuth Browser Flow (recommended for UI)
  • OAuth Token (for programmatic access)
  • Auth Provider (enterprise SSO)

Configuration Options

The following configuration options are available for this connector:

Configuration Parameters

Box configuration schema.

folder_id
strDefaults to 0

Specific Box folder ID to sync. Default is ‘0’ (root folder, syncs all files). To sync a specific folder, enter its folder ID. You can find folder IDs in the Box URL when viewing a folder.

Data Models

The following data models are available for this connector:

Schema for Box user entities.

FieldTypeDescription
namestrDisplay name of the user
box_idstrUnique Box ID of the user
loginOptional[str]Login email address of the user
statusOptional[str]Status of the user (active, inactive, etc.)
job_titleOptional[str]Job title of the user
phoneOptional[str]Phone number of the user
addressOptional[str]Address of the user
languageOptional[str]Language of the user
timezoneOptional[str]Timezone of the user
created_atOptional[datetime]When this user was created
modified_atOptional[datetime]When this user was last modified
space_amountOptional[int]Total storage space available to the user in bytes
space_usedOptional[int]Storage space used by the user in bytes
max_upload_sizeOptional[int]Maximum file size the user can upload in bytes
avatar_urlOptional[str]URL to the user’s avatar image

Schema for Box folder entities.

FieldTypeDescription
namestrName of the folder
box_idstrUnique Box ID of the folder
descriptionOptional[str]Description of the folder
sizeOptional[int]Size of the folder in bytes
path_collectionList[Dict]Path of parent folders from root to this folder
created_atOptional[datetime]When this folder was created
modified_atOptional[datetime]When this folder was last modified
content_created_atOptional[datetime]When the content in this folder was originally created
content_modified_atOptional[datetime]When the content in this folder was last modified
created_byOptional[Dict]User who created this folder
modified_byOptional[Dict]User who last modified this folder
owned_byOptional[Dict]User who owns this folder
parent_idOptional[str]ID of the parent folder
parent_nameOptional[str]Name of the parent folder
item_statusOptional[str]Status of the folder (active, trashed, deleted)
shared_linkOptional[Dict]Shared link information for this folder
folder_upload_emailOptional[Dict]Email address that can be used to upload files to this folder
tagsList[str]Tags associated with this folder
has_collaborationsOptional[bool]Whether this folder has collaborations
permissionsOptional[Dict]Permissions the current user has on this folder
permalink_urlOptional[str]Direct link to view the folder in Box
etagOptional[str]Entity tag for versioning
sequence_idOptional[str]Sequence ID for the most recent user event

Schema for Box file entities.

Uses FileEntity base class which provides:

  • file_id: Unique identifier for the file
  • name: Name of the file
  • mime_type: MIME type
  • size: File size in bytes
  • download_url: URL to download the file
FieldTypeDescription
box_idstrUnique Box ID of the file
descriptionOptional[str]Description of the file
parent_folder_idstrID of the parent folder
parent_folder_namestrName of the parent folder
path_collectionList[Dict]Path of parent folders from root to this file
sha1Optional[str]SHA1 hash of the file contents
extensionOptional[str]File extension
version_numberOptional[str]Version number of the file
comment_countOptional[int]Number of comments on this file
created_atOptional[datetime]When this file was created in Box
modified_atOptional[datetime]When this file was last modified in Box
content_created_atOptional[datetime]When the content of this file was originally created
content_modified_atOptional[datetime]When the content of this file was last modified
created_byOptional[Dict]User who created this file
modified_byOptional[Dict]User who last modified this file
owned_byOptional[Dict]User who owns this file
item_statusOptional[str]Status of the file (active, trashed, deleted)
shared_linkOptional[Dict]Shared link information for this file
tagsList[str]Tags associated with this file
has_collaborationsOptional[bool]Whether this file has collaborations
permissionsOptional[Dict]Permissions the current user has on this file
lockOptional[Dict]Lock information if the file is locked
permalink_urlOptional[str]Direct link to view the file in Box
etagOptional[str]Entity tag for versioning
sequence_idOptional[str]Sequence ID for the most recent user event

Schema for Box comment entities.

FieldTypeDescription
box_idstrUnique Box ID of the comment
file_idstrID of the file this comment is on
file_namestrName of the file
messagestrContent of the comment
created_byDictUser who created this comment
created_atdatetimeWhen this comment was created
modified_atOptional[datetime]When this comment was last modified
is_reply_commentboolWhether this comment is a reply to another comment
tagged_messageOptional[str]Tagged version of the message with user mentions

Schema for Box collaboration entities.

FieldTypeDescription
box_idstrUnique Box ID of the collaboration
rolestrRole of the collaborator (editor, viewer, previewer, etc.)
accessible_byDictUser or group that this collaboration applies to
itemDictFile or folder that is being collaborated on
item_idstrID of the item being collaborated on
item_typestrType of the item (file or folder)
item_namestrName of the item being collaborated on
statusstrStatus of the collaboration (accepted, pending, etc.)
created_atOptional[datetime]When this collaboration was created
modified_atOptional[datetime]When this collaboration was last modified
created_byOptional[Dict]User who created this collaboration
expires_atOptional[datetime]When this collaboration expires
is_access_onlyOptional[bool]Whether this is an access-only collaboration
invite_emailOptional[str]Email address invited to collaborate
acknowledged_atOptional[datetime]When the collaboration was acknowledged