Notion integration token
ID notion_integration_token
DatatypeNot PIIidentifierDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
API token of a Notion integration. Tokens generated since 25 September 2024 start with ntn_; older tokens start with secret_ and keep working. Notion does not publish the length; the regexp uses the forms that gitleaks (ntn_, 11 digits and 35 letters and digits) and pyWhat (secret_ and 43 letters and digits) expect.
- Parent datatype
- Access token
access_token - Categories
- Secrets and credentials (passwords, keys, tokens)
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Quality
- 70/100 · missing: examples, mapping (Wikidata, Schema.org, ...), translation
- Metacrafter rules
- no detection rule yet
- Supported by tools
- Datadog Sensitive Data Scanner, GitGuardian, GitHub secret scanning, Gitleaks, pyWhat
Regular expression
^(?:ntn_[0-9]{11}[A-Za-z0-9]{35}|secret_[A-Za-z0-9]{43})$
Python re syntax.
Examples
| Value | Description |
|---|---|
| secret_ invalid | Prefix without the token |
Sources
- doc: https://developers.notion.com/changelog
- other: https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml
- other: https://github.com/bee-san/pyWhat/blob/main/pywhat/Data/regex.json
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/notion_integration_token - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/secrets/notion_integration_token.yamlon GitHub