{
  "schema_version": "1.7.0",
  "id": "x_SHAPI-x-activity-api-pascalcase-event-types-removed",
  "modified": "2026-10-31T01:22:52Z",
  "published": "2026-03-13T00:00:00Z",
  "summary": "X Activity API event types renamed from PascalCase to dot-separated lowercase",
  "details": "From 2026-03-18 the X Activity API (XAA) uses dot-separated lowercase event_type values such as profile.update.bio instead of PascalCase names such as ProfileBioUpdate. Subscriptions created with, or event handlers that switch on, the old names stop matching.\n\nSend the new lowercase names (for example profile.update.bio, follow.follow, post.create) in POST /2/activity/subscriptions and update every filter, switch statement and deserializer that reads event_type from the activity stream or webhook payloads.",
  "affected": [
    {
      "ecosystem_specific": {
        "provider": "x",
        "endpoint": {
          "method": "*",
          "path": "/2/activity/**"
        },
        "change_class": "enum-added",
        "trigger": {
          "enums": [
            {
              "field": "event_type"
            },
            {
              "field": "data.event_type"
            },
            {
              "field": "data[].event_type"
            }
          ],
          "body": [
            {
              "field": "event_type"
            }
          ]
        },
        "effective_date": "2026-03-18"
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://docs.x.com/changelog"
    },
    {
      "type": "WEB",
      "url": "https://docs.x.com/x-api/activity/introduction"
    }
  ],
  "database_specific": {
    "severity": "high",
    "status": "verified",
    "url": "https://shapi.dev/osv/x-activity-api-pascalcase-event-types-removed.json"
  }
}
