Manage Applications

    Get whitelist entry

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

    Returns a specific collaboration whitelist entry.

    Request

    application/json

    Path Parameters

    stringin pathrequired
    213123

    The ID of the collaboration whitelist item

    Response

    Returns a collaboration whitelist entry.

    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",
      "domain": "example.com",
      "direction": "both",
      "enterprise": {
        "id": 11446498,
        "type": "enterprise",
        "name": "Acme Inc."
      },
      "created_at": "2012-12-12T10:53:43-08:00"
    }