how to create first api request