Linear (OAuth)

Linear helps streamline software projects, sprints, tasks, and bug tracking. It's built for high-performance teams.

Go to site
Explore
/
Apps
/
Linear (OAuth)

Linear (OAuth) API Integrations

Build and run workflows using the Linear (OAuth) API. Use 1000s of open source triggers and actions across 1000+ apps. Or write custom code to integrate any app or API in seconds.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    linear: {
      type: "app",
      app: "linear",
    }
  },
  async run({steps, $}) {
    const data = {
      "query": `{ 
        user(id: "me") {
          id
          name
          email
        }
      }`,
    }
    return await axios($, {
      method: "post",
      url: `https://api.linear.app/graphql`,
      headers: {
        Authorization: `Bearer ${this.linear.$auth.oauth_access_token}`,
        "Content-Type": `application/json`,
      },
      data,
    })
  },
})
Create Issue with Linear (OAuth) API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Linear (OAuth)
 
Try it
Send Message (Advanced) with Discord Webhook API on Issue Created (Instant) from Linear (OAuth) API
Linear (OAuth) + Discord Webhook
 
Try it
Add Multiple Rows with Google Sheets API on Issue Created (Instant) from Linear (OAuth) API
Linear (OAuth) + Google Sheets
 
Try it
Create Issue with Linear (OAuth) API on New Item in Feed from RSS API
RSS + Linear (OAuth)
 
Try it
Create Issue with Linear (OAuth) API on New Message from Discord API
Discord + Linear (OAuth)
 
Try it
New Created Comment (Instant) from the Linear (OAuth) API

Emit new event when a new comment is created (OAuth). See the docs here

 
Try it
New Created Issue (Instant) from the Linear (OAuth) API

Emit new event when a new issue is created (OAuth). See the docs here

 
Try it
New Updated Issue (Instant) from the Linear (OAuth) API

Emit new event when an issue is updated (OAuth). See the docs here

 
Try it
Create Issue with the Linear (OAuth) API

Create an issue (OAuth). See the docs here

 
Try it
Get Issue with the Linear (OAuth) API

Get an issue by ID (OAuth). See the docs here

 
Try it
Get Teams with the Linear (OAuth) API

Get all the teams (OAuth). See the docs here

 
Try it
Search Issues with the Linear (OAuth) API

Search issues (OAuth). See the docs here

 
Try it
Update Issue with the Linear (OAuth) API

Update an issue (OAuth). See the docs here

 
Try it

Authentication

Linear (OAuth) uses OAuth authentication. When you connect your Linear (OAuth) account, Pipedream will open a popup window where you can sign into Linear (OAuth) and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Linear (OAuth) API.

Pipedream requests the following authorization scopes when you connect your account:

readwriteissues:createcomments:create
OAuth Request Configurations:
  1. authorization
    GEThttps://linear.app/oauth/authorize?client_id={{oauth.client_id}}&redirect_uri={{oauth.redirect_uri}}&state={{oauth.state}}&response_type=code&scope={{oauth.space_separated_scopes}}
  2. accessToken
    POSThttps://api.linear.app/oauth/tokencontent-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{oauth.client_id}}&client_secret={{oauth.client_secret}}&redirect_uri={{oauth.redirect_uri}}&grant_type=authorization_code&code={{oauth.code}}