route and rest endpoint for batch waf consumer