Get allowed collaboration domain

get
https://api.box.com/2.0
/collaboration_whitelist_entries/:collaboration_whitelist_entry_id/

Returns a domain that has been deemed safe to create collaborations for within the current enterprise.

Request

Bearer [ACCESS_TOKEN]
application/json

Path Parameters

stringin pathrequired
213123

The ID of the entry in the list.

Response

Returns an entry on the list of allowed domains.

application/jsonClient error

An unexpected client error.

get
Get allowed collaboration domain
You can now try out some of our APIs live, right here in the documentation.
Log in

Request Example

cURL
curl -X GET https://api.box.com/2.0/collaboration_whitelist_entries/213123 \
     -H 'Authorization: Bearer <ACCESS_TOKEN>'
.NET
string entryID = "11111";
BoxCollaborationWhitelistEntry entry = await client.CollaborationWhitelistManager.GetCollaborationWhitelistEntryAsync(
    entryID
);
Java
BoxCollaborationWhitelist domainWhitelist = new BoxCollaborationWhitelist(api, "id");
domainWhitelist.getInfo();
Python
whitelist_entry = client.collaboration_whitelist_entry(entry_id='11111').get()
Node
client.collaborationWhitelist.getWhitelistedDomain('12345', {}, callback);

Response Example

{
  "id": 11446498,
  "type": "collaboration_whitelist_entry",
  "created_at": "2012-12-12T10:53:43-08:00",
  "direction": "both",
  "domain": "example.com",
  "enterprise": {
    "id": 11446498,
    "type": "enterprise",
    "name": "Acme Inc."
  }
}