Workflow automation · API

n8n Public API

n8n

Manage workflow resources through the public REST API.

Official documentationDownload development spec

The public API is unavailable during the free trial. Choose an eligible Cloud plan or self-hosted edition and verify the installed version before implementation.

N8N / DEVELOPER FIELD GUIDE

Choose an interface. Define a verifiable result.

Company or project context, ten technical entry points and a practical analysis of every reference.

2026-10-08 · Integration not tested

Company / project overview

Original summary of official company or project statements; use the source for the full original page.

n8n · About
Projectn8n presents itself as a fair-code workflow automation platform combining visual workflows with custom code.
DeploymentThe project supports self-hosted and cloud deployment options.
API boundaryThe public REST API administers supported resources; webhook-driven business workflows are a separate interface choice.
Complete official About page ↗
About reference — TA analysis
AudienceBuyers, partners and product owners shortlisting an AI provider.
Our assessmentUse positioning and company history for initial fit. Obtain project-specific deployment, support and commercial terms separately.

Official sources reviewed; no live API, inference or benchmark was run. Expected results are proposed internal contracts.

Top 10 technical entry points

Ten documented technical entry points selected by developer task; not ten separate SDKs or an official ranking.

Choose by the work you need to complete
InterfacePurpose and audience
01 · API authenticationAPI / SDK / developer guideAuthenticate public API calls using API keys.API integrators
02 · API paginationAPI / SDK / developer guideTraverse large resource lists.Synchronization developers
03 · Endpoint referenceAPI / SDK / developer guideChoose supported public API operations.Backend engineers
04 · n8n public API CLIAPI / SDK / developer guideUse a command-line wrapper around public API tasks.CI automation teams
05 · Webhook nodeAPI / SDK / developer guideStart workflow processing from an HTTP request.Workflow entrypoint designers
06 · Respond to WebhookAPI / SDK / developer guideControl the HTTP response returned by a workflow.API workflow developers
07 · HTTP Request nodeAPI / SDK / developer guideCall external HTTP services from a workflow.Service integration teams
08 · Error handlingAPI / SDK / developer guideHandle failed workflow execution explicitly.Reliability engineers
09 · Queue modeAPI / SDK / developer guideSeparate execution across queued workers.Self-hosted operations teams
10 · Workflow data structureAPI / SDK / developer guideMap workflow items into the expected item structure.Data transformation developers

Reference analysis

Capabilities summarize official documentation. Constraints and proposed tests are our engineering assessment.

01

API / SDK / developer guide

API authentication

API authentication · TA
Target audienceAPI integrators
Documented capabilityAuthenticate public API calls using API keys.
Input → outputKey-bearing request → authorized resource operation.
Execution environmentPinned n8n instance; Cloud plan or self-hosted edition selected explicitly
Our decision constraintFree-trial access is excluded; scopes depend on edition.
Our suggested validationTest expired keys and denied actions without logging secrets.
Official reference · API authentication ↗
02

API / SDK / developer guide

API pagination

API pagination · TA
Target audienceSynchronization developers
Documented capabilityTraverse large resource lists.
Input → outputList request and cursor → page and next cursor.
Execution environmentPinned n8n instance; Cloud plan or self-hosted edition selected explicitly
Our decision constraintOne page is not necessarily the full resource inventory.
Our suggested validationCheck empty, single-page and multi-page results without duplicates.
Official reference · API pagination ↗
03

API / SDK / developer guide

Endpoint reference

Endpoint reference · TA
Target audienceBackend engineers
Documented capabilityChoose supported public API operations.
Input → outputEndpoint-specific request → resource result.
Execution environmentPinned n8n instance; Cloud plan or self-hosted edition selected explicitly
Our decision constraintDo not rely on undocumented editor-internal endpoints.
Our suggested validationValidate operation availability and response schema against pinned version.
Official reference · Endpoint reference ↗
04

API / SDK / developer guide

n8n public API CLI

n8n public API CLI · TA
Target audienceCI automation teams
Documented capabilityUse a command-line wrapper around public API tasks.
Input → outputCommand arguments → API-backed operation result.
Execution environmentPinned n8n instance; Cloud plan or self-hosted edition selected explicitly
Our decision constraintAPI credentials and access rules still apply.
Our suggested validationCheck target instance and exit status before accepting CI success.
Official reference · n8n public API CLI ↗
05

API / SDK / developer guide

Webhook node

Webhook node · TA
Target audienceWorkflow entrypoint designers
Documented capabilityStart workflow processing from an HTTP request.
Input → outputWebhook request → workflow items and response.
Execution environmentPinned n8n instance; Cloud plan or self-hosted edition selected explicitly
Our decision constraintTest and production webhook URLs serve different lifecycle roles.
Our suggested validationCheck correct URL, authentication and duplicate-event policy.
Official reference · Webhook node ↗
06

API / SDK / developer guide

Respond to Webhook

Respond to Webhook · TA
Target audienceAPI workflow developers
Documented capabilityControl the HTTP response returned by a workflow.
Input → outputWorkflow state → configured status and response body.
Execution environmentPinned n8n instance; Cloud plan or self-hosted edition selected explicitly
Our decision constraintAn early HTTP acknowledgement does not certify downstream completion.
Our suggested validationTest completed, pending and error response contracts.
Official reference · Respond to Webhook ↗
07

API / SDK / developer guide

HTTP Request node

HTTP Request node · TA
Target audienceService integration teams
Documented capabilityCall external HTTP services from a workflow.
Input → outputConfigured request and credentials → remote response.
Execution environmentPinned n8n instance; Cloud plan or self-hosted edition selected explicitly
Our decision constraintRemote retries can duplicate side effects without idempotency.
Our suggested validationVerify timeout, rate-limit and duplicate submission behavior.
Official reference · HTTP Request node ↗
08

API / SDK / developer guide

Error handling

Error handling · TA
Target audienceReliability engineers
Documented capabilityHandle failed workflow execution explicitly.
Input → outputExecution error → error workflow or controlled failure path.
Execution environmentPinned n8n instance; Cloud plan or self-hosted edition selected explicitly
Our decision constraintContinuing after error must not mislabel the overall job successful.
Our suggested validationInject a failed dependency and inspect surfaced execution state.
Official reference · Error handling ↗
09

API / SDK / developer guide

Queue mode

Queue mode · TA
Target audienceSelf-hosted operations teams
Documented capabilitySeparate execution across queued workers.
Input → outputAccepted execution → queued worker processing.
Execution environmentPinned n8n instance; Cloud plan or self-hosted edition selected explicitly
Our decision constraintQueue acceptance is not completion; shared infrastructure must be configured.
Our suggested validationTest unavailable workers, retries and result visibility.
Official reference · Queue mode ↗
10

API / SDK / developer guide

Workflow data structure

Workflow data structure · TA
Target audienceData transformation developers
Documented capabilityMap workflow items into the expected item structure.
Input → outputItem arrays with JSON/binary data → downstream node inputs.
Execution environmentPinned n8n instance; Cloud plan or self-hosted edition selected explicitly
Our decision constraintZero items and a single empty JSON item are different.
Our suggested validationTest item counts, field types and binary references after transforms.
Official reference · Workflow data structure ↗

Public API overview

Public API overview · Supporting reference analysis
TAProduct and integration leads
Our validation adviceCheck API availability for the selected plan and distinguish REST, CLI and webhooks.
Official reference · Public API overview ↗

04 / INPUT · EXPECTED OUTPUT · ACCEPTANCE

Expected results before implementation

Illustrative workflow execution receipt, not the native public API schema. No webhook, workflow, external API or deployment was run.

Illustrative contract · no API call or model execution · not measured provider output

Completed transformation

Expected behavior — illustrative, not executed
InputValid workflow item with required part fields.
Expected resultok with execution ID and normalized output items.
AcceptanceConfirm terminal success and expected item count.

Filtered empty output

Expected behavior — illustrative, not executed
InputAll items fail a declared filter.
Expected resultok with output_items: []; no external action.
AcceptanceKeep zero items distinct from an item with an empty object.

Accepted but queued

Expected behavior — illustrative, not executed
InputWebhook acknowledges while worker execution is pending.
Expected resultpending with execution ID; no completed business outcome.
AcceptanceOnly mark completed after the execution terminal state.

Dependency failed

Expected behavior — illustrative, not executed
InputRemote service times out or rejects credentials.
Expected resulterror/partial with failed node context and no false delivery claim.
AcceptanceApply bounded retries and idempotency for side-effecting operations.

Map the expected result to your application

Map the actual SDK or service response into this proposed internal contract after integration. All IDs and values below are invented examples; no credentials or live requests are included.

Expected output JSON — illustrative, not measured · n8nAPI-expected-results.json
{
  "schema_version": "1.0.0",
  "example": true,
  "provider": "n8n",
  "status": "ok",
  "input_id": "sample-001",
  "data": {
    "workflow_id": "example-workflow",
    "execution_id": "example-execution",
    "execution_status": "completed",
    "output_items": [
      {
        "part_id": "example-part",
        "route": "review"
      }
    ],
    "external_action_confirmed": false
  },
  "error": null,
  "verification": "illustrative-only;not-provider-response"
}
Download specification, example and acceptance plan
Engineering handoff — our proposed contract and gates
Result interpretationSuccessful transport or execution does not establish model accuracy. Preserve valid empty results separately from operational failure.
ReproducibilityRecord model, runtime, configuration and input identifiers; agree quality and latency criteria before representative tests. No measured performance is claimed.
Operation boundaryIllustrative workflow execution receipt, not the native public API schema. No webhook, workflow, external API or deployment was run.

Development assessment

RFQ intake orchestration

Development concept · integration not tested

Provider capabilities above are based on official documentation or repositories. The proposed product, inputs, deliverable and acceptance criteria below are our development assessment.

Small prototype

Test one documented operation with a small real sample after access is confirmed. This is a development judgment, not a delivery estimate.

Proposed inputs
A sample event, authorized systems and one defined workflow transition.
Proposed deliverable
A visible job state and audit trail for a single workflow.
Acceptance criterion
A retried event must not create duplicate work; an unavailable upstream must remain visibly pending or failed.
Dependencies
Runtime access, workflow permissions and a reviewed notification or write destination.

Integration condition

The public API is unavailable during the free trial. Choose an eligible Cloud plan or self-hosted edition and verify the installed version before implementation.

Development sequence

  1. Confirm access to n8n Public API, license and the exact supported version.
  2. Prepare the sample above and implement one documented operation for “RFQ intake orchestration”.
  3. Normalize the result with source, time and explicit error state; keep the provider response for review.
  4. Run the acceptance criterion before estimating rollout effort or committing a customer deliverable.

How to validate demand

Record product views, documentation clicks, specification downloads and contextual hub clicks. These are event counts, not unique people or completed integrations.

This feasibility assessment uses implementation conditions. No traffic-based rank or delivery-time promise is assigned.

Related products