Skip to main content
Use n8n through Corsair: one client, typed API calls. Create an API key on the instance under Settings > n8n API and connect it with the instance URL (https://n8n.example.com; the plugin adds /api/v1). Things to know before you write:
  • Where the API exists. Every self-hosted n8n (Community edition included) has the public API. n8n Cloud has it on paid plans only, not during the free trial.
  • Licensed features. On a Community instance, projects, variables, source control, environment promotions, custom roles, role mapping, changing a user’s global role, LDAP, SAML, OIDC, log streaming, security policy, node and credential type policies and evaluation runs answer 403 Your license does not allow for feat:...: they need a Business or Enterprise licence. Folders need the free registered Community licence. Each operation’s description names the feature it needs.
  • Versions. The operations follow n8n 2.50. An instance on 2.49 or older answers 404 to the newer routes (AI agent versions and runs, AI preferences, workflows.run, promotion reviews and settings): each one says “Added in n8n 2.50”.
  • Key scopes. A key created with limited scopes answers 403 on routes outside them.
  • Paging. List routes take limit (up to 250) and cursor, and return { data, nextCursor }; pass nextCursor back as cursor until it is null.
  • What runs. workflows.run, executions.retry, agents.run and evaluations.startRun run automation that may call other services; workflows.activate/publish turn triggers on; communityPackages.install installs code on the server. They are destructive, like every delete.
What you get:
  • 202 typed API operations

Setup

1

Install

2

Add the plugin

corsair.ts
With multiTenancy: true, scope calls with corsair.withTenant(id). See Quick start for KEK + Hub keys, and Multi-tenancy for account isolation.
3

Choose authentication

4

Connect a tenant

Mint a connect link and send the tenant to it. Hub hosts the page and delivers the result to your app — see Connect / OAuth.

Example API calls

List active workflows
Create a tag
See the full list on the API page.

What’s next

API reference

Every n8n.api.* operation with input and output types.

Connect / OAuth

createLink, Hub delivery, and tenant connect flows.

Use with agents

Expose this plugin’s operations as MCP tools.