Receptor for interleukin-7. Also acts as a receptor for thymic stromal lymphopoietin (TSLP). This is the function of IL7R (interleukin 7 receptor, Ensembl gene identifier ENSG00000168685).