create first endpoint api