autodownload api call