Skip to content
Docs

Creating a Linear personal API key

This guide is part of the Publicus connection catalog. Once you have the credentials, connect the service and Publicus stores them for you.

Distilled from Linear’s own documentation: GraphQL — Getting started, Authentication section. Retrieved 2026-07-03.

Personal API keys are Linear’s recommended path for personal scripts; for applications used by others, use OAuth 2.0 instead.

  1. Open Linear’s Security & access settings (linear.app/settings/account/security).
  2. Create a new personal API key and copy it; keys are created and managed on this page.
  3. Authenticate requests by passing the key as-is in the Authorization header — no Bearer prefix: Authorization: <API_KEY>.
  4. Verify it works: POST https://api.linear.app/graphql with Content-Type: application/json and body { "query": "{ viewer { id name email } }" } — it returns the authenticated user.
  5. Mind the shared quota: requests are associated with the authenticated user, so all of the same user’s keys share one rate-limit quota (see Rate limiting).

Open Connections under Credentials, choose Linear, and pick Linear personal API key. Publicus asks for exactly the fields listed above and keeps them in your workspace’s secret storage.

See also: Linear in the catalog.

This guide is maintained by Publicus and published under CC BY 4.0.