add mapping for api calls