{
  "id": "notion_integration_token",
  "kind": "datatype",
  "status": "draft",
  "name": "Notion integration token",
  "doc": "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": "access_token",
  "is_pii": false,
  "categories": [
    "secrets"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?:ntn_[0-9]{11}[A-Za-z0-9]{35}|secret_[A-Za-z0-9]{43})$",
  "examples": [
    {
      "value": "secret_",
      "description": "Prefix without the token",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://developers.notion.com/changelog"
    },
    {
      "type": "other",
      "url": "https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml"
    },
    {
      "type": "other",
      "url": "https://github.com/bee-san/pyWhat/blob/main/pywhat/Data/regex.json"
    }
  ],
  "detected_by": {
    "tools": [
      "datadogsds",
      "gitguardian",
      "githubsecretscanning",
      "gitleaks",
      "pywhat"
    ]
  },
  "quality": {
    "score": 70,
    "missing": [
      "examples",
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/any/secrets/notion_integration_token.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/secrets/notion_integration_token.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/secrets/notion_integration_token.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/notion_integration_token",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/notion_integration_token.json"
  }
}