adding configuration parameter for api endpoints