RealComposer

Linear Safe & Unsafe Practices

Direct Answer

Linear personal API keys act as your user across every team and are server-only. Prefer OAuth applications with read-only scopes for integrations, and verify the Linear-Signature header on webhooks before acting on issue events.

Credentials & Where They Belong

Server only
Personal API key

Acts as your user with your full permissions.

Server only
OAuth access token

Scoped access granted to an application.

Server only
Webhook signing secret

Verifies the Linear-Signature HMAC.

Safe Practices

  • Use OAuth apps with read scope for dashboards

    Public roadmaps and status pages only need read access.

  • Query only the fields you render

    GraphQL lets you request exact fields, keeping payloads and complexity low.

Unsafe Practices

  • Embedding a personal key in a public roadmap page

    Visitors can read private issues and create or edit work as you.

  • Skipping webhook signature checks

    Forged events can trigger automations in your systems.

The RealComposer Pattern

Store LINEAR_API_KEY in the vault and expose a cached pipeline that returns a slim list of public issues for roadmaps or status pages.

START BUILDING FREE

Frequently Asked Questions

Q:Is a Linear API key tied to a user?

Yes. Personal keys inherit that user access, so prefer OAuth apps or a dedicated bot account.

Security & Secret Vault

Call linear api from client without exposing api key

Linear API key stays in Vault; GraphQL POST runs on Workers. For "call linear api from client without exposing api key", store LINEAR_API_KEY in Secret Vault, call https://api.linear.app/graphql from a Worker, and let Frontend / Web hit only https://realcomposer.com/v1/workspace/call-linear-api-from-client-securely with an rc_live_ client token. POST upstream calls are not stored in caches.default; clients must send JSON bodies and headers forward unchanged.

Sub-10ms edgeView Recipe
Multi-API Aggregation

Merge linear issues with notion database tasks

Linear issues and Notion database rows returned as one timeline JSON. For "merge linear issues with notion database tasks", store LINEAR_API_KEY, NOTION_API_KEY in Secret Vault, call https://api.linear.app/graphql from a Worker, and let Frontend / Web hit only https://realcomposer.com/v1/workspace/merge-linear-with-notion-tasks with an rc_live_ client token. POST upstream calls are not stored in caches.default; clients must send JSON bodies and headers forward unchanged.

Sub-10ms edgeView Recipe
Security & Secret Vault

Linear api proxy for react native app

iOS and Android call one edge URL for Linear issue lists. For "linear api proxy for react native app", store LINEAR_API_KEY in Secret Vault, call https://api.linear.app/graphql from a Worker, and let React Native hit only https://realcomposer.com/v1/workspace/linear-api-proxy-react-native with an rc_live_ client token. POST upstream calls are not stored in caches.default; clients must send JSON bodies and headers forward unchanged.

Sub-10ms edgeView Recipe
Multi-API Aggregation

Combine linear with github project board api

Upgraded multi-step Linear GraphQL plus GitHub repos (replaces single-step batch1). For "combine linear with github project board api", store LINEAR_API_KEY, GITHUB_TOKEN in Secret Vault, call https://api.linear.app/graphql from a Worker, and let Frontend / Web hit only https://realcomposer.com/v1/workspace/combine-linear-with-github-board with an rc_live_ client token. POST upstream calls are not stored in caches.default; clients must send JSON bodies and headers forward unchanged.

Sub-10ms edgeView Recipe
Payload Slimmer

Linear graphql response filter fields for mobile

Pick issue id title state assignee from GraphQL response. For "linear graphql response filter fields for mobile", store LINEAR_API_KEY in Secret Vault, call https://api.linear.app/graphql from a Worker, and let React Native hit only https://realcomposer.com/v1/workspace/filter-linear-graphql-response-mobile with an rc_live_ client token. POST upstream calls are not stored in caches.default; clients must send JSON bodies and headers forward unchanged.

Sub-10ms edgeView Recipe

Related Concepts