Added params to API get method.