---
id: "linear_api_key"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["secrets"]
langs: ["common"]
quality: 63
url: "http://registry.apicrafter.io/datatype/linear_api_key"
---

# Linear API key (`linear_api_key`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Personal API key of Linear, the issue tracking service: lin_api_ followed by 40 letters and digits.

- Parent datatype: `api_key`
- Personal data (PII): no
- Categories: Secrets and credentials (passwords, keys, tokens) (secrets)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^lin_api_[A-Za-z0-9]{40}$
```

## Examples

- `lin_api_ExampleKeyNotReal` (invalid example) — Too short

## Supported by tools

- `gitleaks`
- `trufflehog`

## Sources

- other: <https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml>
- other: <https://github.com/trufflesecurity/trufflehog/blob/main/pkg/detectors/linearapi/linearapi.go>

## Quality

Score 63/100. Missing: examples, authoritative source link, mapping (Wikidata, Schema.org, ...), translation.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/linear_api_key.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/secrets/linear_api_key.yaml>
