code: public static BoxCollaborationWhitelistExemptTarget.Info create(final BoxAPIConnection api, String userID) {
          URL url = COLLABORATION_WHITELIST_EXEMPT_TARGET_ENTRIES_URL_TEMPLATE.build(api.getBaseURL());
          BoxJSONRequest request = new BoxJSONRequest(api, url, HttpMethod.POST);
          JsonObject requestJSON = new JsonObject()
                  .add("user", new JsonObject()
                      .add("type", "user")
                      .add("id", userID));
  
          request.setBody(requestJSON.toString());
          BoxJSONResponse response = (BoxJSONResponse) request.send();
          JsonObject responseJSON = JsonObject.readFrom(response.getJSON());
          BoxCollaborationWhitelistExemptTarget userWhitelist = new BoxCollaborationWhitelistExemptTarget(api,
                  responseJSON.get("id").asString());
  
          return userWhitelist.new Info(responseJSON);
      }
docs: Creates a collaboration whitelist for a Box User with a given ID.
  @param api       the API connection to be used by the collaboration whitelist.
  @param userID    the ID of the Box User to add to the collaboration whitelist.
  @return          information about the collaboration whitelist created for user.