{
  "id": "twitter_bearer_token",
  "kind": "datatype",
  "status": "draft",
  "name": "X (Twitter) API bearer token",
  "doc": "App-only bearer token of the X (Twitter) API. X describes the token as a byte array of unspecified format; the regexp follows the gitleaks rule, which expects 22 letters A followed by 80 to 100 letters, digits and percent signs, as in the sample responses in the X documentation.",
  "parent": "access_token",
  "is_pii": false,
  "categories": [
    "secrets"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^A{22}[A-Za-z0-9%]{80,100}$",
  "links": [
    {
      "type": "doc",
      "url": "https://docs.x.com/fundamentals/authentication/oauth-2-0/bearer-tokens"
    },
    {
      "type": "other",
      "url": "https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml"
    }
  ],
  "detected_by": {
    "tools": [
      "datadogsds",
      "gitleaks"
    ]
  },
  "quality": {
    "score": 65,
    "missing": [
      "examples",
      "negative example",
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/any/secrets/twitter_bearer_token.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/secrets/twitter_bearer_token.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/secrets/twitter_bearer_token.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/twitter_bearer_token",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/twitter_bearer_token.json"
  }
}