Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

N8n Workflow API

Operations about workflows

N8n Workflow API is one of 15 APIs that N8n publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Workflow. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and authentication docs.

This API exposes 13 operations across 9 paths. It is described by OpenAPI 3.0.0, at version 1.1.1.

Requests are made against 2 base URLs: https://app.n8n.cloud/api/v1, {baseUrl}/api/v1.

13 operations 9 paths 0 schemas 1 DELETE4 GET5 POST3 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.1.1
Base URL
https://app.n8n.cloud/api/v1
Authentication
API Key, HTTP Bearer
Contact
Terms of Service
Resource Areas
1

Authentication & Security 2

N8n Workflow API declares 2 security schemes for authenticating requests. An API key is passed in the header as X-N8N-API-KEY (ApiKeyAuth). It accepts HTTP bearer tokens (JWT) (BearerAuth). By default, every request must be authenticated.

Paths & Operations 13

Across 9 paths, the API surfaces 13 operations — 1 DELETE, 4 GET, 5 POST, 3 PUT. Each is listed below with its method, path, parameters, and response codes.

Workflow 13

Operations about workflows

POST
/workflows
Create a workflow
createWorkflow → 200
GET
/workflows
Retrieve all workflows
getWorkflows 7 params → 200
GET
/workflows/{id}
Retrieves a workflow
getWorkflow 2 params → 200
DELETE
/workflows/{id}
Delete a workflow
deleteWorkflow 1 param → 200
PUT
/workflows/{id}
Update a workflow
updateWorkflow 1 param → 200
GET
/workflows/{id}/{versionId}
Retrieves a specific version of a workflow
getWorkflowVersion 2 params → 200
POST
/workflows/{id}/activate
Activate a workflow
activateWorkflow 1 param → 200
POST
/workflows/{id}/deactivate
Deactivate a workflow
deactivateWorkflow 1 param → 200
POST
/workflows/{id}/archive
Archive a workflow
archiveWorkflow 1 param → 200
POST
/workflows/{id}/unarchive
Unarchive a workflow
unarchiveWorkflow 1 param → 200
PUT
/workflows/{id}/transfer
Transfer a workflow to another project
transferWorkflow 1 param → 200
GET
/workflows/{id}/tags
Get workflow tags
getWorkflowTags 1 param → 200
PUT
/workflows/{id}/tags
Update tags of a workflow
updateWorkflowTags 1 param → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

n8n-workflow-api-openapi.yml Raw ↑

Other APIs N8n publishes across the network.

N8n Audit API
N8n CommunityPackage API
N8n Credential API
N8n DataTable API
N8n Discover API
N8n Execution API
N8n Folders API
N8n Insights API
N8n Projects API
N8n SourceControl API
N8n Tags API