The kidneys also function as a part of the endocrine system , producing erythropoietin and calcitriol .
However the kidneys are also part of the endocrine system and make erythropoietin and calcitriol .