Yes, n8n does expose a public REST API! n8n provides comprehensive public REST API documentation and guides that allow you to programmatically perform tasks instead of using the GUI.
What's Available
The public REST API allows you to:
- Manage workflows programmatically
- Execute workflows via API calls
- Access workflow execution data
- Manage credentials and settings
- Monitor and control your n8n instance
Key Resources
Official Documentation: n8n provides an API reference for their public REST API at their docs site, which includes comprehensive documentation for all available endpoints.
API Playground: n8n offers an API playground where you can try out the public REST API to test endpoints before implementing them in your applications.
Two Types of APIs
It's worth noting that n8n offers APIs in two contexts:
n8n's Management API: This is what you use to control your n8n instance itself - managing workflows, executions, credentials, etc.
Creating APIs with n8n: You can also use n8n to build and expose your own APIs using webhook nodes and workflow automation.
The public REST API is well-documented and actively maintained, making it suitable for production integrations where you need to programmatically interact with your n8n workflows and instance management.