API: xchan get/create