Store params for api on array