{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/twexapi-io/json-schema/twexapi-io-create-thread-query-schema.json",
  "title": "CreateThreadQuery",
  "description": "Parameters for creating a tweet thread",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/twexapi-io-tweet-actions-endpoints-api-openapi.yml#/components/schemas/CreateThreadQuery",
  "properties": {
    "items": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "minItems": 1,
      "title": "Items",
      "description": "JSON array of tweet texts, e.g. [\"1/ hello\",\"2/ world\"]."
    },
    "cookie": {
      "type": "string",
      "title": "Cookie",
      "description": "The user's own authorized Twitter session credentials or auth_token (BYOC — Bring Your Own Cookie). Stateless proxy execution with zero credential retention. See [Authentication Security](/authentication#write-operations--byoc-bring-your-own-cookie) and [How to get Cookie](https://youtube-promotion.pages.dev/how-to-get-twitter-cookie)."
    },
    "proxy": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Proxy",
      "description": "Optional HTTP proxy. Example: http://username:password@ip:port"
    }
  },
  "type": "object",
  "required": [
    "items",
    "cookie"
  ]
}