Changed endpoint for API.