Add presence api endpoint