Add Api endpoints