reroute API call