Api method to return data
api method and configurations