Add pat for API routing