How to enable N8N's API?


I’d like to get the status of a particular execution and I found out that N8N provides REST API for that.

But I cannot find how to enable it for my Docker installation - I don’t have Settings → API page, and my requests to the /executions are not working.

I tried to find an ENV_VAR to activate it, but I failed.

Thanks in advance!

Hi @sashker, are you by any chance using an n8n before 0.181? Only the latest version would include the public API (you can check the changelog for details), so you might need to upgrade your n8n version before being able to use the API.

Thanks a lot @MutedJam!
After upgrading to 0.181.2 the API is available.

1 Like

Glad to hear, thanks so much for confirming!