Files
Complete Box OAuth for file uploads
Exchanges a Box authorization code for access and refresh tokens and stores them on the target client account. The endpoint is used after an admin authorizes Box for upload storage integration. Requires admin file access through user.permissions.
GET
Complete Box OAuth for file uploads
Authorizations
Passport bearer token authentication for legacy admin sessions.
Query Parameters
Required Box authorization code returned by the Box OAuth redirect. The controller exchanges this code with Box for tokens.
Required Gratona client ID whose Box credentials and resulting OAuth tokens should be used and updated.
Response
Box connected.
Example:
"Successfully connected to Box.com"