channel api