add api's and location reply