Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find my Enterprise ID for Box API?

Tags:

box-api

I'm using the Box API SDK for .Net, and trying to set it up to use JSON Web Tokens instead of OAuth2.

When I instantiate the BoxConfig object I need to provide the Enterprise ID:

var config = new BoxConfig( clientId, clientSecret, enterpriseId, jwtPrivateKey, jwtPrivateKeyPassword, jwtPublicKeyId );

Seeing some conflicting information:

  • The GitHub page for the Box Java SDK says the Enterprise ID is on the developer console, but I don't see it there.
  • The Box API help page for App Auth says it's in the Admin Console, but I don't see it there either.

Can someone point me to where, specifically, I could find the Enterprise ID?

like image 505
Mike G Avatar asked Dec 11 '15 22:12

Mike G


People also ask

How do I find folder ID in box?

The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL https://*.app.box.com/folder/123 the folder_id is 123 . The root folder of a Box account is always represented by the ID 0 .

What is a service account in box?

A Service Account provides developers with a programmatic authentication mechanism for server-side integrations with Box. In other words, an application can authenticate to Box as the service, which is represented by a Service Account user.


1 Answers

You can find the Enterprise ID by going to the Admin Console -> Click the gear in the top right -> Click Business Settings (It may say Enterprise Settings or Elite Settings based on the account level). Under the Account Info tab you can see your Enterprise ID.

You can also get directly to that page by going to https://www.box.com/master/settings while logged into the account. Note that only enterprise admins / co-admins with sufficient permissions will have access to that page, otherwise it will redirect to the account settings. In this case, you would need to contact your enterprise admin to get this Enterprise ID.

like image 99
Paul Paulauskas Avatar answered Sep 27 '22 23:09

Paul Paulauskas