how can i add my own api into n8n api?
means custom api into this -----> http://localhost:5678/api/v1/docs/
Hi @Alireza, there is no supported way of customizing the n8n REST API. So you’d essentially have to rewrite n8n itself here to achieve what you have in mind.
It might be much easier instead to add custom n8n endpoints using workflows. Here’s a quick example of how this would look like:
You can even set the
N8N_ENDPOINT_WEBHOOK=api environment variable to have your custom endpoint available under the
thank you for answer