Box Developer Documentation
Latest version

Get allowed collaboration domain

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

This endpoint is in the version 2024.0. No changes are required to continue using it. For more details, see Box API versioning.

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

Learn more about Box SDK versionig strategy.


cURL
curl -i -X GET "https://api.box.com/2.0/collaboration_whitelist_entries/213123" \
     -H "authorization: Bearer <ACCESS_TOKEN>"
Node/TypeScript v10
await client.collaborationAllowlistEntries.getCollaborationWhitelistEntryById(
  newEntry.id!,
);
Python v10
client.collaboration_allowlist_entries.get_collaboration_whitelist_entry_by_id(
    new_entry.id
)
.NET v10
await client.CollaborationAllowlistEntries.GetCollaborationWhitelistEntryByIdAsync(collaborationWhitelistEntryId: NullableUtils.Unwrap(newEntry.Id));
Swift v10
try await client.collaborationAllowlistEntries.getCollaborationWhitelistEntryById(collaborationWhitelistEntryId: newEntry.id!)
Java v10
client.getCollaborationAllowlistEntries().getCollaborationWhitelistEntryById(newEntry.getId())
.NET v5
string entryID = "11111";
BoxCollaborationWhitelistEntry entry = await client.CollaborationWhitelistManager.GetCollaborationWhitelistEntryAsync(
    entryID
);
Node v3
client.collaborationAllowlist.getAllowlistedDomain('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."
  }
}