Datatypes

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

ValueDescription
secret_ invalidPrefix without the token

Sources

Use this record