X (Twitter) · JSON Structure

X Api Activity Streaming Response Structure

An activity event or error that can be returned by the x activity streaming API.

Type: object Properties: 2
Social MediaMicrobloggingReal-Time DataStreamingAdvertisingContent

ActivityStreamingResponse is a JSON Structure definition published by X (Twitter), describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

data errors

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/twitter/refs/heads/main/json-structure/x-api-activity-streaming-response-structure.json",
  "name": "ActivityStreamingResponse",
  "description": "An activity event or error that can be returned by the x activity streaming API.",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "event_type": {
          "type": "string"
        },
        "event_uuid": {
          "$ref": "#/components/schemas/ActivityEventId"
        },
        "filter": {
          "$ref": "#/components/schemas/ActivitySubscriptionFilter"
        },
        "payload": {
          "$ref": "#/components/schemas/ActivityStreamingResponsePayload"
        },
        "tag": {
          "type": "string"
        }
      }
    },
    "errors": {
      "type": "array",
      "minItems": 1,
      "items": {
        "$ref": "#/components/schemas/Problem"
      },
      "example": []
    }
  }
}