injection of params for apicall