I am trying to access `http://localhost:5678/rest/workflows` in n8n, but I encountered an error: "Unauthorized, Rejected"

Hey @cdxiaodong , if your goal is to access all your workflows via API, you need to use the endpoint /api/v1/workflows:

1 Like