n8n API Integration
Installation
SKILL.md
n8n API Integration
Programmatic control of n8n via REST API.
Authentication
API Key Setup
- Settings → API → Create API Key
- Store key securely (shown once)
Request Headers
curl -X GET "http://localhost:5678/api/v1/workflows" \
-H "X-N8N-API-KEY: your-api-key"
Base URL
- Self-hosted:
http://localhost:5678/api/v1 - Cloud:
https://your-instance.n8n.cloud/api/v1