Linear

Project management API key Windmill docs

Create, update, search and triage issues, comments, labels and projects, and post project and initiative status updates, from any Windmill script, flow or app. Trigger flows on new or updated issues.

Set up in 3 steps

1

Create an API key

At linear.app/settings/account/security, create a personal API key and copy it.

2

Add the resource in Windmill

Open Resources, add a resource of type linear, and paste the key.

3

Run your first script

Fork any script below and list your teams — most calls need a team id.

Scripts

Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.

Submit a script →

Trigger flows from Linear

Linear is not only a destination. These inbound paths are supported today.

New or updated issue (scheduled poll)

The New or Updated Issue trigger script polls Linear and returns the issues created or updated since its last run, optionally for one team. To run it, open a flow, add a trigger and choose Scheduled Poll, then pick the trigger script and an interval. Windmill puts the script first in the flow with a loop after it, so the steps you add run once per new item. The cursor is saved per flow: two flows polling the same source each get every item, and test runs keep a cursor of their own.

Resource type

The shape of the credential every script on this page expects.

FieldTypeRequiredWhat it is
apiKeystringYesA personal API key (lin_api_…) created under Settings → Security & access → Personal API keys (https://linear.app/settings/account/security).

Questions

What can the key do?

What your own account can, limited by the permissions and team access you chose when creating the key. Actions are attributed to you, so create it on an account with the access you intend.

Is my key stored on the hub?

Never. It lives only in your own Windmill workspace, encrypted at rest.