pass groupId to api.upload.toPlatform