Linear
SandBaseapi
Published June 20, 2026
About
Access the Linear GraphQL API through OAuth. Manage issues, projects, teams, and cycles for modern software development — powered by Nango Connector Gateway.
Documentation
Linear Connector
Access the Linear GraphQL API through OAuth. Manage issues, projects, teams, and cycles programmatically.
Pricing
| Operation | Price |
|---|---|
| Successful API call (2xx) | $0.001 |
| Failed call (4xx/5xx) | Free |
Quick Test (curl)
# List issues
curl -X POST https://api.sandbase.ai/v1/run \
-H "Authorization: Bearer sk-your-key" \
-H "Content-Type: application/json" \
-d '{"model":"linear","endpoint":"/graphql","method":"POST","body":{"query":"{ issues { nodes { id title state { name } } } }"}}'
# Get current viewer
curl -X POST https://api.sandbase.ai/v1/run \
-H "Authorization: Bearer sk-your-key" \
-H "Content-Type: application/json" \
-d '{"model":"linear","endpoint":"/graphql","method":"POST","body":{"query":"{ viewer { id name email } }"}}'
# List teams
curl -X POST https://api.sandbase.ai/v1/run \
-H "Authorization: Bearer sk-your-key" \
-H "Content-Type: application/json" \
-d '{"model":"linear","endpoint":"/graphql","method":"POST","body":{"query":"{ teams { nodes { id name } } }"}}'
# Create an issue
curl -X POST https://api.sandbase.ai/v1/run \
-H "Authorization: Bearer sk-your-key" \
-H "Content-Type: application/json" \
-d '{"model":"linear","endpoint":"/graphql","method":"POST","body":{"query":"mutation { issueCreate(input: {title: \"New bug\", teamId: \"team-id\"}) { issue { id title } } }"}}'
Request Format
POST /v1/run
{
"model": "linear",
"endpoint": "/graphql",
"method": "POST",
"body": {"query": "{ viewer { id name } }"},
"retries": 0
}
Common Queries
| Operation | GraphQL Query |
|---|---|
| List issues | { issues { nodes { id title state { name } } } } |
| Get viewer | { viewer { id name email } } |
| List teams | { teams { nodes { id name } } } |
| List projects | { projects { nodes { id name state } } } |
| Create issue | mutation { issueCreate(input: {...}) { issue { id } } } |
| Update issue | mutation { issueUpdate(id: "...", input: {...}) { issue { id } } } |
📖 Full API reference: Linear GraphQL API Docs
Technical Specs
| Spec | Value |
|---|---|
| Auth | OAuth 2.0 (user-level) |
| Proxy | Nango (auto token refresh) |
| Execution | Sync |
| Rate limit | Inherits Linear's 1500 req/hour per user |
Try Linear
Test this model in the Sandbase Playground with your own prompts.
Open in Playground