new api call + config file