
Box API Integration Profile
Information and guides about integrating with Box API
Add Box Integration to Your Product- Download File
- Get Connected Account Details
- Authorize user
Authorize a user by sending them through the Box website and request their permission to act on their behalf.
This is the first step when authenticating a user using OAuth 2.0. To request a user's authorization to use the Box APIs on their behalf you will need to send a user to the URL with this format.
- Request access token
Request an Access Token using either a client-side obtained OAuth 2.0 authorization code or a server-side JWT assertion.
An Access Token is a string that enables Box to verify that a request belongs to an authorized session. In the normal order of operations you will begin by requesting authentication from the authorize endpoint and Box will send you an authorization code.
You will then send this code to this endpoint to exchange it for an Access Token. The returned Access Token can then be used to to make Box API calls.
- Refresh access token
Refresh an Access Token using its client ID, secret, and refresh token.
- Revoke access token
Revoke an active Access Token, effectively logging a user out that has been previously authenticated.
- Get file information
Retrieves the details about a file.
- Restore file
Restores a file that has been moved to the trash.
An optional new parent ID can be provided to restore the file to in case the original folder has been deleted.
- Update file
Updates a file. This can be used to rename or move a file, create a shared link, or lock a file.
- Delete file
Deletes a file, either permanently or by moving it to the trash.
The the enterprise settings determine whether the item will be permanently deleted from Box or moved to the trash.