How to run single workflow using API?

Describe the problem/error/question

Hi team,
want to run workflow using api, but seems there is no releated api in documents, so pls advise. thanks.

What is the error message (if any)?

no

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:1.1.1
  • Database (default: SQLite):SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main):own, main
  • Running n8n via (Docker, npm, n8n cloud, desktop app):docker
  • Operating system:redhat

Hi @teshcgv, I am afraid there is currently no public REST API endpoint that would allow you to execute an arbitrary workflow.

As an alternative you could consider adding a webhook trigger to each of your workflows. You can then simply call the respective webhook URL to start a workflow execution.