Try a bulk import approach treat it as an Asynchronous resource. Just POST the file to a single endpoint. The server returns 202 and gives you a link to check the status later on