Skip to main content

Documentation Index

Fetch the complete documentation index at: https://nango.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

πŸš€ Quickstart

Connect to Linear with Nango and see data flow in 2 minutes.
1

Create the integration

In Nango (free signup), go to Integrations -> Configure New Integration -> Linear. Nango doesn’t provide a test OAuth app for Linear yet. You’ll need to set up your own by following the setup guide. After that, make sure to add the OAuth client ID, secret, and scopes in the integration settings in Nango.
2

Authorize Linear

Go to Connections -> Add Test Connection -> Authorize, then log in to Linear. Later, you’ll let your users do the same directly from your app.
3

Call the Linear API

Let’s make your first request to the Linear API (fetch a list of issues). Replace the placeholders below with your secret key, integration ID, and connection ID:
curl "https://api.nango.dev/proxy/graphql" \
  -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>" \
  -H "Content-Type: application/json" \
  -d '{
        "query": "query { issues(first: 10) { nodes { id title identifier } } }"
      }'
Or fetch credentials with the Node SDK or API.βœ… You’re connected! Check the Logs tab in Nango to inspect requests.
4

Implement Nango in your app

Follow our Auth implementation guide to integrate Nango in your app.To obtain your own production credentials, follow the setup guide linked below.

πŸ“š Linear Integration Guides

Nango maintained guides for common use cases. Official docs: Linear API docs

🧩 Pre-built syncs & actions for Linear

Enable them in your dashboard. Extend and customize to fit your needs.

Attachments

Function nameDescriptionTypeSource code
create-attachmentCreate an attachment on a Linear issue.ActionπŸ”— Github
delete-attachmentDelete an attachment from a Linear issue.ActionπŸ”— Github
get-attachmentRetrieve a Linear attachment by attachment ID.ActionπŸ”— Github
list-attachmentsList Linear attachments with filtering and pagination.ActionπŸ”— Github

Comments

Function nameDescriptionTypeSource code
create-commentCreate a comment on a Linear issue.ActionπŸ”— Github
delete-commentDelete a comment from a Linear issue.ActionπŸ”— Github
get-commentRetrieve a Linear comment by comment ID.ActionπŸ”— Github
list-commentsList Linear comments with filtering and pagination.ActionπŸ”— Github
resolve-commentResolve a Linear comment thread.ActionπŸ”— Github
unresolve-commentReopen a previously resolved Linear comment thread.ActionπŸ”— Github
update-commentUpdate a comment on a Linear issue.ActionπŸ”— Github

Cycles

Function nameDescriptionTypeSource code
archive-cycleArchive a Linear cycle.ActionπŸ”— Github
create-cycleCreate a cycle for a Linear team.ActionπŸ”— Github
get-cycleRetrieve a Linear cycle by cycle ID.ActionπŸ”— Github
list-cyclesList Linear cycles with filtering and pagination.ActionπŸ”— Github
update-cycleUpdate an existing Linear cycle.ActionπŸ”— Github

Issue Labels

Function nameDescriptionTypeSource code
list-issue-labelsList Linear issue labels with filtering and pagination.ActionπŸ”— Github

Issues

Function nameDescriptionTypeSource code
add-issue-labelAttach a label to a Linear issue.ActionπŸ”— Github
archive-issueArchive a Linear issue so it is removed from active workflows.ActionπŸ”— Github
create-issue-relationCreate a relationship between two Linear issues.ActionπŸ”— Github
create-issueCreate a new Linear issue.ActionπŸ”— Github
delete-issue-relationDelete a relationship between two Linear issues.ActionπŸ”— Github
delete-issueDelete a Linear issue.ActionπŸ”— Github
get-issueRetrieve a Linear issue by issue ID.ActionπŸ”— Github
list-issuesList Linear issues with filtering and pagination.ActionπŸ”— Github
remove-issue-labelRemove a label from a Linear issue.ActionπŸ”— Github
search-issuesSearch Linear issues with full-text query support.ActionπŸ”— Github
unarchive-issueRestore an archived Linear issue.ActionπŸ”— Github
update-issue-relationUpdate fields on an existing Linear issue relation.ActionπŸ”— Github
update-issueUpdate fields on an existing Linear issueActionπŸ”— Github

Labels

Function nameDescriptionTypeSource code
create-issue-labelCreate a Linear issue label.ActionπŸ”— Github
delete-issue-labelDelete a Linear issue label.ActionπŸ”— Github
get-issue-labelRetrieve a Linear issue label by label ID.ActionπŸ”— Github

Projects

Function nameDescriptionTypeSource code
create-projectCreate a Linear project.ActionπŸ”— Github
get-projectRetrieve a Linear project by project ID.ActionπŸ”— Github
list-projectsList Linear projects with filtering and pagination.ActionπŸ”— Github
unarchive-projectRestore an archived Linear project.ActionπŸ”— Github
update-projectUpdate an existing Linear project.ActionπŸ”— Github

Teams

Function nameDescriptionTypeSource code
get-teamRetrieve a Linear team by team ID.ActionπŸ”— Github
list-teamsList Linear teams available to the authenticated user.ActionπŸ”— Github

Users

Function nameDescriptionTypeSource code
get-userRetrieve a Linear user by user ID.ActionπŸ”— Github
get-viewerRetrieve the currently authenticated Linear user.ActionπŸ”— Github
list-usersList Linear users with filtering and pagination.ActionπŸ”— Github

Workflow States

Function nameDescriptionTypeSource code
list-workflow-statesList Linear workflow states across teams.ActionπŸ”— Github

Others

Function nameDescriptionTypeSource code
get-workflow-stateRetrieve a Linear workflow state by state ID.ActionπŸ”— Github
update-issue-labelUpdate an existing Linear issue label.ActionπŸ”— Github
cyclesSync Linear cycles for planning and iteration tracking.SyncπŸ”— Github
issue-labelsSync Linear issue labels across teams.SyncπŸ”— Github
issuesSync Linear issues with state, assignee, labels, project, and cycle data.SyncπŸ”— Github
milestonesSync Linear milestones for project planning.SyncπŸ”— Github
projectsSync Linear projects with lead, status, and progress fieldsSyncπŸ”— Github
roadmapsSync Linear roadmaps and their project relationships.SyncπŸ”— Github
teamsSync Linear teams visible to the authenticated user.SyncπŸ”— Github
usersSync Linear users with profile and active state fields.SyncπŸ”— Github
workflow-statesSync Linear workflow states across teams.SyncπŸ”— Github