get configuration text file from API