Skip to main content
Skip table of contents

Box Connector v1.0

1. General Information

Box began as a simple service for storing, sharing, and syncing files among users and devices.

 

image-20241227-095946.png

After logging in you will be directed to the below page.

image-20240901-142438.png

2. Authentication

Client-side OAuth 2.0 is one of the easiest ways to authenticate a user for the Box API. It is an open standard designed to allow users to provide applications access to their data in other applications.

3. Developer App

To authenticate with Box, the user needs to create a developer application.

  1. Go to the developer console

image-20240901-143103.png

After clicking on Dev Console, it will redirect the user to the developer portal:

image-20241227-101254.png

Click on Create New App and select app type based on the type of Integration:

image-20240901-143336.png

Fill the relevant App detail here:

image-20240901-143417.png

 

 

image-20240906-072224.png

 

image-20240906-072300.png

 

Adding webhooks is done from the created apps page:

image-20241227-101351.png

Details like Developer Token creation, OAuth 2.0 Client ID / Client Secret, Redirect URIs, and application scopes can be accessed from the App’s Configuration page:

image-20240906-073808.png

 

image-20241227-101451.png

image-20240906-073912.png

4. Connector Actions and Tests

Action Name / Method

Uploads: Upload file (POST)

Action Description

Uploads: Upload file (POST)

 

Test Case

This action is used to upload new file

 

Request Body Name

Parameter

 

File

Name

 

Content Created At

 

Content Modified At

 

Parent

 

image-20240901-144515.png
image-20240901-144533.png

Action Name / Method

Get File Information

Action Description

Get file details

Test Case

File information retrieved successfully

 

Request Body Name

Paramenter

 

File ID

 

If-none-match

 

Boxapi

 

X-rep-hints

image-20240902-170111.png

 

Action Name / Method

Download File

Action Description

Download file

Test Case

File data downloaded

 

Request Body Name

Paramenter

 

File ID

 

range

image-20240902-170933.png

 

5. Connection Settings and Configuration

 

Settings Parameters

Value

Description

Required (Y/N)

Default Value

Connector

Box

Connector Name

Y

Box

Host Name

https://api.box.com/2.0

Endpoint required for performing CRUD

Y

https://api.box.com/2.0

Authentication

OAuth2

Type of authentication

Y

 

Client Id

{client_id}

 

Y

 

Client Secret

{client_secret}

 

Y

 

Token URL

https://api.box.com/oauth2/token

 

Y

https://api.box.com/oauth2/token

Authorization Url

https://account.box.com/api/oauth2/authorize

 

Y

https://account.box.com/api/oauth2/authorize

Scopes

root_readonly root_readwrite

 

 

root_readonly root_readwrite

image-20240901-143650.png

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.