खोज केवल इस्तेमाल करने पर लोड होती है। नीचे सभी श्रेणियाँ देखें।

MCP टूल

क्रमबद्ध X थ्रेड बनाएं

sosoapi_create_x_post_thread

क्रमबद्ध X थ्रेड को एक परमाणु कार्रवाई में शेड्यूल करें; हर आइटम अपना वर्तमान Post क्रेडिट खर्च आरक्षित करता है। अतिरिक्त उपयोग का शुल्क नहीं है।

Markdown में पढ़ें

प्रोफ़ाइल और ट्रांसपोर्ट

प्रोफ़ाइल: full · ट्रांसपोर्ट: stdio, http

क्लाइंट में दिखने वाले टूल के लिए core या full चुनें; इससे अनुमतियाँ नहीं बदलतीं। लोकल फ़ाइल अपलोड के लिए stdio चाहिए और HTTP पर उपलब्ध नहीं। खोज में आउटपुट स्कीमा के लिए SOSOAPI_OUTPUT_SCHEMAS=1 सेट करें। इस सेटिंग के साथ या बिना टूल संरचित परिणाम लौटाते हैं।

अनुमतियाँ और अन्य प्रभाव

एनोटेशन क्लाइंट को टूल का वर्णन करने में मदद करते हैं। हर कॉल फिर भी यूज़र का प्रमाणीकरण, भूमिका, संसाधन एक्सेस और क्षमता अधिकार जाँचती है।

{
  "readOnlyHint": false,
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": true
}
  • /studio-api/x-post-threads/create: agent:publish · प्रत्येक Post के प्रामाणिक अंतिम प्रकाशन परिणाम; थ्रेड स्वीकार होने का अर्थ प्रकाशित होना नहीं है

इनपुट फ़ील्ड

Required का अर्थ पैरेंट ऑब्जेक्ट और चुनी शाखा के भीतर अनिवार्य है। अनिवार्य चाइल्ड से वैकल्पिक पैरेंट अनिवार्य नहीं होता। नीचे के नियम और फ़ील्ड नाम कॉन्ट्रैक्ट से लिए गए हैं।

इनपुट फ़ील्ड
फ़ील्ड / शाखाप्रकार / अनिवार्यशर्तें
$objectपैरेंट में अनिवार्य
  • additionalProperties: false
versionnumberपैरेंट में अनिवार्य
  • enum: [1]
workspace_idstringपैरेंट में अनिवार्य
  • format: "uuid"
social_account_idstringपैरेंट में अनिवार्य
  • format: "uuid"
scheduled_atstringपैरेंट में अनिवार्य
  • format: "date-time"
  • pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
display_timezonestringवैकल्पिक / आइटम
  • minLength: 1
  • maxLength: 80
idempotency_keystringपैरेंट में अनिवार्य
  • minLength: 1
  • maxLength: 128
project_idstring | nullवैकल्पिक / आइटम—
project_idanyOf 1stringवैकल्पिक / आइटम
  • format: "uuid"
project_idanyOf 2nullवैकल्पिक / आइटम—
itemsarrayपैरेंट में अनिवार्य
  • minItems: 2
  • maxItems: 25
items[]objectवैकल्पिक / आइटम
  • additionalProperties: false
items[].item_idstringपैरेंट में अनिवार्य
  • format: "uuid"
items[].captionstring | nullवैकल्पिक / आइटम—
items[].captionanyOf 1stringवैकल्पिक / आइटम
  • maxLength: 5000
items[].captionanyOf 2nullवैकल्पिक / आइटम—
items[].hashtagsarrayवैकल्पिक / आइटम
  • maxItems: 100
items[].hashtags[]stringवैकल्पिक / आइटम
  • maxLength: 100
items[].mediaarrayवैकल्पिक / आइटम
  • maxItems: 20
items[].media[]objectवैकल्पिक / आइटम
  • additionalProperties: false
items[].media[].kindstringपैरेंट में अनिवार्य
  • enum: ["image","video"]
items[].media[].urlstringपैरेंट में अनिवार्य
  • format: "uri"
items[].media[].cover_urlstring | nullवैकल्पिक / आइटम—
items[].media[].cover_urlanyOf 1stringवैकल्पिक / आइटम
  • format: "uri"
items[].media[].cover_urlanyOf 2nullवैकल्पिक / आइटम—
items[].media[].cover_asset_idinteger | nullवैकल्पिक / आइटम—
items[].media[].cover_asset_idanyOf 1integerवैकल्पिक / आइटम
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
items[].media[].cover_asset_idanyOf 2nullवैकल्पिक / आइटम—
items[].media[].asset_idinteger | nullवैकल्पिक / आइटम—
items[].media[].asset_idanyOf 1integerवैकल्पिक / आइटम
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
items[].media[].asset_idanyOf 2nullवैकल्पिक / आइटम—
items[].media[].mime_typestring | nullवैकल्पिक / आइटम—
items[].media[].mime_typeanyOf 1stringवैकल्पिक / आइटम
  • minLength: 1
  • maxLength: 160
items[].media[].mime_typeanyOf 2nullवैकल्पिक / आइटम—
items[].link_urlstring | nullवैकल्पिक / आइटम—
items[].link_urlanyOf 1stringवैकल्पिक / आइटम
  • format: "uri"
items[].link_urlanyOf 2nullवैकल्पिक / आइटम—
items[].publish_optionsobjectपैरेंट में अनिवार्य
  • additionalProperties: false
items[].publish_options.post_typestringपैरेंट में अनिवार्य
  • enum: ["TEXT","VIDEO","IMAGE"]
संपूर्ण JSON Schema
{
  "type": "object",
  "properties": {
    "version": {
      "type": "number",
      "enum": [
        1
      ]
    },
    "workspace_id": {
      "type": "string",
      "format": "uuid"
    },
    "social_account_id": {
      "type": "string",
      "format": "uuid"
    },
    "scheduled_at": {
      "type": "string",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      "format": "date-time"
    },
    "display_timezone": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    },
    "project_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ]
    },
    "items": {
      "minItems": 2,
      "maxItems": 25,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "item_id": {
            "type": "string",
            "format": "uuid"
          },
          "caption": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 5000
              },
              {
                "type": "null"
              }
            ]
          },
          "hashtags": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 100
            }
          },
          "media": {
            "maxItems": 20,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "enum": [
                    "image",
                    "video"
                  ]
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "cover_url": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uri"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "cover_asset_id": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "asset_id": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "mime_type": {
                  "anyOf": [
                    {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 160
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "kind",
                "url"
              ],
              "additionalProperties": false
            }
          },
          "link_url": {
            "anyOf": [
              {
                "type": "string",
                "format": "uri"
              },
              {
                "type": "null"
              }
            ]
          },
          "publish_options": {
            "type": "object",
            "properties": {
              "post_type": {
                "type": "string",
                "enum": [
                  "TEXT",
                  "VIDEO",
                  "IMAGE"
                ]
              }
            },
            "required": [
              "post_type"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "item_id",
          "publish_options"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "version",
    "workspace_id",
    "social_account_id",
    "scheduled_at",
    "idempotency_key",
    "items"
  ],
  "additionalProperties": false
}

संरचित आउटपुट

यह स्कीमा सफल टूल परिणाम के structuredContent का वर्णन करता है। MCP रिस्पॉन्स में content भी होता है और कॉल विफल होने पर isError सेट हो सकता है। प्रकाशन के लिए स्वीकृत अनुरोध या टेक्स्ट रिस्पॉन्स को पुष्टि मानने के बजाय पोस्ट का अंतिम परिणाम पढ़ें। लिंक किया गया API ऑपरेशन अनुमतियाँ और पुनः प्रयास के नियम समझाता है।

Required का अर्थ पैरेंट ऑब्जेक्ट और चुनी शाखा के भीतर अनिवार्य है। अनिवार्य चाइल्ड से वैकल्पिक पैरेंट अनिवार्य नहीं होता। नीचे के नियम और फ़ील्ड नाम कॉन्ट्रैक्ट से लिए गए हैं।

संरचित आउटपुट
फ़ील्ड / शाखाप्रकार / अनिवार्यशर्तें
$objectपैरेंट में अनिवार्य
  • additionalProperties: false
threadobjectपैरेंट में अनिवार्य
  • additionalProperties: false
thread.idstringपैरेंट में अनिवार्य
  • format: "uuid"
thread.workspace_idstringपैरेंट में अनिवार्य
  • format: "uuid"
thread.social_account_idstringपैरेंट में अनिवार्य
  • format: "uuid"
thread.idempotency_keystringपैरेंट में अनिवार्य
  • minLength: 1
  • maxLength: 128
thread.item_countintegerपैरेंट में अनिवार्य
  • minimum: 2
  • maximum: 25
thread.created_atstringपैरेंट में अनिवार्य—
thread.itemsarrayपैरेंट में अनिवार्य
  • minItems: 2
  • maxItems: 25
thread.items[]objectवैकल्पिक / आइटम
  • additionalProperties: false
thread.items[].item_idstringपैरेंट में अनिवार्य
  • format: "uuid"
thread.items[].ordinalintegerपैरेंट में अनिवार्य
  • minimum: 1
  • maximum: 25
thread.items[].predecessor_post_idstring | nullपैरेंट में अनिवार्य—
thread.items[].predecessor_post_idanyOf 1stringपैरेंट में अनिवार्य
  • pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
thread.items[].predecessor_post_idanyOf 2nullपैरेंट में अनिवार्य—
thread.items[].postobjectपैरेंट में अनिवार्य
  • additionalProperties: false
thread.items[].post.idstringपैरेंट में अनिवार्य
  • pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
thread.items[].post.workspace_idstringपैरेंट में अनिवार्य
  • format: "uuid"
thread.items[].post.social_account_idstring | nullपैरेंट में अनिवार्य—
thread.items[].post.social_account_idanyOf 1stringपैरेंट में अनिवार्य
  • format: "uuid"
thread.items[].post.social_account_idanyOf 2nullपैरेंट में अनिवार्य—
thread.items[].post.platformstringपैरेंट में अनिवार्य
  • enum: ["instagram","threads","facebook","youtube","x"]
thread.items[].post.destinationobjectपैरेंट में अनिवार्य
  • additionalProperties: false
thread.items[].post.destination.social_account_idstring | nullपैरेंट में अनिवार्य—
thread.items[].post.destination.social_account_idanyOf 1stringपैरेंट में अनिवार्य
  • format: "uuid"
thread.items[].post.destination.social_account_idanyOf 2nullपैरेंट में अनिवार्य—
thread.items[].post.destination.platformstringपैरेंट में अनिवार्य
  • enum: ["instagram","threads","facebook","youtube","x"]
thread.items[].post.destination.platform_user_idstring | nullपैरेंट में अनिवार्य—
thread.items[].post.destination.account_labelstring | nullपैरेंट में अनिवार्य—
thread.items[].post.captionstring | nullपैरेंट में अनिवार्य—
thread.items[].post.hashtagsarrayपैरेंट में अनिवार्य—
thread.items[].post.hashtags[]stringवैकल्पिक / आइटम—
thread.items[].post.mediaarrayपैरेंट में अनिवार्य—
thread.items[].post.media[]objectवैकल्पिक / आइटम
  • additionalProperties: false
thread.items[].post.media[].kindstringपैरेंट में अनिवार्य
  • enum: ["image","video"]
thread.items[].post.media[].urlstringपैरेंट में अनिवार्य
  • format: "uri"
thread.items[].post.media[].cover_urlstring | nullवैकल्पिक / आइटम—
thread.items[].post.media[].cover_urlanyOf 1stringवैकल्पिक / आइटम
  • format: "uri"
thread.items[].post.media[].cover_urlanyOf 2nullवैकल्पिक / आइटम—
thread.items[].post.media[].cover_asset_idinteger | nullवैकल्पिक / आइटम—
thread.items[].post.media[].cover_asset_idanyOf 1integerवैकल्पिक / आइटम
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
thread.items[].post.media[].cover_asset_idanyOf 2nullवैकल्पिक / आइटम—
thread.items[].post.media[].asset_idinteger | nullवैकल्पिक / आइटम—
thread.items[].post.media[].asset_idanyOf 1integerवैकल्पिक / आइटम
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
thread.items[].post.media[].asset_idanyOf 2nullवैकल्पिक / आइटम—
thread.items[].post.media[].mime_typestring | nullवैकल्पिक / आइटम—
thread.items[].post.media[].mime_typeanyOf 1stringवैकल्पिक / आइटम
  • minLength: 1
  • maxLength: 160
thread.items[].post.media[].mime_typeanyOf 2nullवैकल्पिक / आइटम—
thread.items[].post.media[].preview_urlstring | nullवैकल्पिक / आइटम

अस्थायी अधिकृत रीड URL; स्थायी Scheduled Post मीडिया पहचान के रूप में url रखें।

—
thread.items[].post.media[].preview_urlanyOf 1stringवैकल्पिक / आइटम
  • format: "uri"
thread.items[].post.media[].preview_urlanyOf 2nullवैकल्पिक / आइटम—
thread.items[].post.media[].cover_preview_urlstring | nullवैकल्पिक / आइटम

अस्थायी अधिकृत कवर रीड URL; स्थायी मीडिया पहचान के रूप में cover_url रखें।

—
thread.items[].post.media[].cover_preview_urlanyOf 1stringवैकल्पिक / आइटम
  • format: "uri"
thread.items[].post.media[].cover_preview_urlanyOf 2nullवैकल्पिक / आइटम—
thread.items[].post.media[].preview_expires_atstring | nullवैकल्पिक / आइटम—
thread.items[].post.media[].preview_expires_atanyOf 1stringवैकल्पिक / आइटम
  • format: "date-time"
  • pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
thread.items[].post.media[].preview_expires_atanyOf 2nullवैकल्पिक / आइटम—
thread.items[].post.link_urlstring | nullवैकल्पिक / आइटम—
thread.items[].post.link_urlanyOf 1stringवैकल्पिक / आइटम
  • format: "uri"
thread.items[].post.link_urlanyOf 2nullवैकल्पिक / आइटम—
thread.items[].post.publish_optionsobjectपैरेंट में अनिवार्य
  • additionalProperties: false
thread.items[].post.publish_options.post_typestringवैकल्पिक / आइटम
  • enum: ["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO","REPOST","SHORT"]
thread.items[].post.publish_options.location_idstringवैकल्पिक / आइटम
  • minLength: 1
thread.items[].post.publish_options.share_to_feedbooleanवैकल्पिक / आइटम—
thread.items[].post.publish_options.collaboratorsarrayवैकल्पिक / आइटम
  • maxItems: 3
thread.items[].post.publish_options.collaborators[]stringवैकल्पिक / आइटम
  • minLength: 1
thread.items[].post.publish_options.first_commentstringवैकल्पिक / आइटम
  • minLength: 1
  • maxLength: 2200
thread.items[].post.publish_options.topic_tagstringवैकल्पिक / आइटम
  • minLength: 1
thread.items[].post.publish_options.thumb_offset_msintegerवैकल्पिक / आइटम
  • minimum: 0
  • maximum: 9007199254740991
thread.items[].post.publish_options.titlestringवैकल्पिक / आइटम
  • maxLength: 255
thread.items[].post.publish_options.youtube_privacy_statusstringवैकल्पिक / आइटम
  • enum: ["private","unlisted","public"]
thread.items[].post.publish_options.youtube_category_idstringवैकल्पिक / आइटम
  • pattern: "^\\d+$"
thread.items[].post.publish_options.youtube_contains_synthetic_mediabooleanवैकल्पिक / आइटम—
thread.items[].post.publish_options.descriptionstringवैकल्पिक / आइटम
  • maxLength: 5000
thread.items[].post.publish_options.category_idstringवैकल्पिक / आइटम
  • pattern: "^\\d+$"
thread.items[].post.publish_options.privacy_statusstringवैकल्पिक / आइटम
  • enum: ["private","unlisted","public"]
thread.items[].post.publish_options.cancellation_modestringवैकल्पिक / आइटम
  • enum: ["DELETE","UNSCHEDULE_KEEP_PRIVATE"]
thread.items[].post.publish_options.tagsarrayवैकल्पिक / आइटम—
thread.items[].post.publish_options.tags[]stringवैकल्पिक / आइटम—
thread.items[].post.publish_options.default_languagestringवैकल्पिक / आइटम—
thread.items[].post.publish_options.localizationsobjectवैकल्पिक / आइटम
  • additionalProperties: {}
thread.items[].post.publish_options.localizations.*any JSON valueवैकल्पिक / आइटम—
thread.items[].post.publish_options.licensestringवैकल्पिक / आइटम
  • enum: ["youtube","creativeCommon"]
thread.items[].post.publish_options.embeddablebooleanवैकल्पिक / आइटम—
thread.items[].post.publish_options.public_stats_viewablebooleanवैकल्पिक / आइटम—
thread.items[].post.publish_options.self_declared_made_for_kidsbooleanवैकल्पिक / आइटम—
thread.items[].post.publish_options.contains_synthetic_mediabooleanवैकल्पिक / आइटम—
thread.items[].post.publish_options.has_paid_product_placementbooleanवैकल्पिक / आइटम—
thread.items[].post.publish_options.recording_datestringवैकल्पिक / आइटम—
thread.items[].post.publish_options.notify_subscribersbooleanवैकल्पिक / आइटम—
thread.items[].post.publish_options.thumbnail_asset_idintegerवैकल्पिक / आइटम
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
thread.items[].post.publish_options.surface_expectationstringवैकल्पिक / आइटम
  • const: "SHORT"
thread.items[].post.publish_options.brand_partnerobjectवैकल्पिक / आइटम
  • additionalProperties: {}
thread.items[].post.publish_options.brand_partner.*any JSON valueवैकल्पिक / आइटम—
thread.items[].post.publish_options.cover_asset_idintegerवैकल्पिक / आइटम
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
thread.items[].post.publish_options.audio_namestringवैकल्पिक / आइटम—
thread.items[].post.publish_options.trial_paramsobjectवैकल्पिक / आइटम
  • additionalProperties: {}
thread.items[].post.publish_options.trial_params.*any JSON valueवैकल्पिक / आइटम—
thread.items[].post.publish_options.is_ai_generatedbooleanवैकल्पिक / आइटम—
thread.items[].post.publish_options.branded_content_sponsor_idsarrayवैकल्पिक / आइटम—
thread.items[].post.publish_options.branded_content_sponsor_ids[]stringवैकल्पिक / आइटम—
thread.items[].post.publish_options.is_paid_partnershipbooleanवैकल्पिक / आइटम—
thread.items[].post.publish_options.media_optionsarrayवैकल्पिक / आइटम—
thread.items[].post.publish_options.media_options[]objectवैकल्पिक / आइटम
  • additionalProperties: {}
thread.items[].post.publish_options.media_options[].*any JSON valueवैकल्पिक / आइटम—
thread.items[].post.publish_options.reply_to_idstringवैकल्पिक / आइटम—
thread.items[].post.publish_options.quote_post_idstringवैकल्पिक / आइटम—
thread.items[].post.publish_options.repost_target_idstringवैकल्पिक / आइटम—
thread.items[].post.publish_options.reply_controlstringवैकल्पिक / आइटम—
thread.items[].post.publish_options.enable_reply_approvalsbooleanवैकल्पिक / आइटम—
thread.items[].post.publish_options.link_attachmentstringवैकल्पिक / आइटम
  • format: "uri"
thread.items[].post.publish_options.poll_attachmentobjectवैकल्पिक / आइटम
  • additionalProperties: {}
thread.items[].post.publish_options.poll_attachment.*any JSON valueवैकल्पिक / आइटम—
thread.items[].post.publish_options.gif_attachmentobjectवैकल्पिक / आइटम
  • additionalProperties: {}
thread.items[].post.publish_options.gif_attachment.*any JSON valueवैकल्पिक / आइटम—
thread.items[].post.publish_options.text_attachmentobjectवैकल्पिक / आइटम
  • additionalProperties: {}
thread.items[].post.publish_options.text_attachment.*any JSON valueवैकल्पिक / आइटम—
thread.items[].post.publish_options.text_entitiesarrayवैकल्पिक / आइटम—
thread.items[].post.publish_options.text_entities[]objectवैकल्पिक / आइटम
  • additionalProperties: {}
thread.items[].post.publish_options.text_entities[].*any JSON valueवैकल्पिक / आइटम—
thread.items[].post.publish_options.is_spoiler_mediabooleanवैकल्पिक / आइटम—
thread.items[].post.publish_options.is_ghost_postbooleanवैकल्पिक / आइटम—
thread.items[].post.publish_options.allowlisted_country_codesarrayवैकल्पिक / आइटम—
thread.items[].post.publish_options.allowlisted_country_codes[]stringवैकल्पिक / आइटम—
thread.items[].post.publish_options.crossreshare_to_igbooleanवैकल्पिक / आइटम—
thread.items[].post.publish_options.crossreshare_to_ig_dark_modebooleanवैकल्पिक / आइटम—
thread.items[].post.publish_options.auto_publish_textbooleanवैकल्पिक / आइटम—
thread.items[].post.publish_options.publication_modestringवैकल्पिक / आइटम
  • enum: ["PUBLISH","DRAFT"]
thread.items[].post.publish_options.backdated_timenumberवैकल्पिक / आइटम—
thread.items[].post.publish_options.backdated_time_granularitystringवैकल्पिक / आइटम
  • enum: ["year","month","day","hour","minute"]
thread.items[].post.publish_options.placestringवैकल्पिक / आइटम—
thread.items[].post.publish_options.feed_targetingobjectवैकल्पिक / आइटम
  • additionalProperties: {}
thread.items[].post.publish_options.feed_targeting.*any JSON valueवैकल्पिक / आइटम—
thread.items[].post.publish_options.targetingobjectवैकल्पिक / आइटम
  • additionalProperties: {}
thread.items[].post.publish_options.targeting.*any JSON valueवैकल्पिक / आइटम—
thread.items[].post.publish_options.child_attachmentsarrayवैकल्पिक / आइटम—
thread.items[].post.publish_options.child_attachments[]objectवैकल्पिक / आइटम
  • additionalProperties: {}
thread.items[].post.publish_options.child_attachments[].*any JSON valueवैकल्पिक / आइटम—
thread.items[].post.publish_options.multi_share_end_cardbooleanवैकल्पिक / आइटम—
thread.items[].post.publish_options.multi_share_optimizedbooleanवैकल्पिक / आइटम—
thread.items[].post.publish_options.unpublished_content_typestringवैकल्पिक / आइटम—
thread.items[].post.publish_options.no_storybooleanवैकल्पिक / आइटम—
thread.items[].post.publish_options.crossposted_video_idstringवैकल्पिक / आइटम—
thread.items[].post.publish_options.sphericalbooleanवैकल्पिक / आइटम—
thread.items[].post.scheduled_atstringपैरेंट में अनिवार्य—
thread.items[].post.display_timezonestringपैरेंट में अनिवार्य
  • minLength: 1
  • maxLength: 80
thread.items[].post.local_scheduled_atstring | nullवैकल्पिक / आइटम—
thread.items[].post.local_scheduled_atanyOf 1stringवैकल्पिक / आइटम
  • pattern: "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"
thread.items[].post.local_scheduled_atanyOf 2nullवैकल्पिक / आइटम—
thread.items[].post.schedule_timezonestring | nullवैकल्पिक / आइटम—
thread.items[].post.schedule_timezoneanyOf 1stringवैकल्पिक / आइटम
  • minLength: 1
  • maxLength: 80
thread.items[].post.schedule_timezoneanyOf 2nullवैकल्पिक / आइटम—
thread.items[].post.schedule_dst_disambiguationstring | nullवैकल्पिक / आइटम—
thread.items[].post.schedule_dst_disambiguationanyOf 1stringवैकल्पिक / आइटम
  • enum: ["exact","earlier","later"]
thread.items[].post.schedule_dst_disambiguationanyOf 2nullवैकल्पिक / आइटम—
thread.items[].post.schedule_intent_statestringवैकल्पिक / आइटम
  • enum: ["verified","legacy_unverified"]
thread.items[].post.expires_atstring | nullपैरेंट में अनिवार्य—
thread.items[].post.statusstringपैरेंट में अनिवार्य
  • enum: ["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]
thread.items[].post.versionintegerपैरेंट में अनिवार्य
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
thread.items[].post.automatic_retry_enabledbooleanपैरेंट में अनिवार्य—
thread.items[].post.delete_requested_atstring | nullपैरेंट में अनिवार्य—
thread.items[].post.published_atstring | nullपैरेंट में अनिवार्य—
thread.items[].post.deleted_atstring | nullपैरेंट में अनिवार्य—
thread.items[].post.provider_post_idstring | nullपैरेंट में अनिवार्य—
thread.items[].post.permalinkstring | nullपैरेंट में अनिवार्य—
thread.items[].post.permalinkanyOf 1stringपैरेंट में अनिवार्य
  • format: "uri"
thread.items[].post.permalinkanyOf 2nullपैरेंट में अनिवार्य—
thread.items[].post.created_atstringपैरेंट में अनिवार्य—
thread.items[].post.updated_atstringपैरेंट में अनिवार्य—
thread.items[].post.project_idstring | nullपैरेंट में अनिवार्य—
thread.items[].post.project_idanyOf 1stringपैरेंट में अनिवार्य
  • format: "uuid"
thread.items[].post.project_idanyOf 2nullपैरेंट में अनिवार्य—
thread.items[].post.batch_idstring | nullपैरेंट में अनिवार्य—
thread.items[].post.batch_idanyOf 1stringपैरेंट में अनिवार्य
  • format: "uuid"
thread.items[].post.batch_idanyOf 2nullपैरेंट में अनिवार्य—
thread.items[].post.source_refobject | nullपैरेंट में अनिवार्य—
thread.items[].post.source_refanyOf 1objectपैरेंट में अनिवार्य
  • additionalProperties: {}
thread.items[].post.source_ref.*anyOf 1any JSON valueवैकल्पिक / आइटम—
thread.items[].post.source_refanyOf 2nullपैरेंट में अनिवार्य—
thread.items[].retry_allowedbooleanपैरेंट में अनिवार्य—
thread.expected_versionsobjectपैरेंट में अनिवार्य
  • additionalProperties: {"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}
thread.expected_versions.*integerवैकल्पिक / आइटम
  • maximum: 9007199254740991
  • exclusiveMinimum: 0
thread.actionsarrayपैरेंट में अनिवार्य
  • minItems: 2
  • maxItems: 2
thread.actions[]objectवैकल्पिक / आइटम
  • additionalProperties: false
thread.actions[].actionstringपैरेंट में अनिवार्य
  • enum: ["resume","cancel"]
thread.actions[].allowedbooleanपैरेंट में अनिवार्य—
thread.actions[].reason_codestringपैरेंट में अनिवार्य
  • enum: ["allowed","no_failed_items","resolution_required","retry_unavailable","terminal_state"]
thread.actions[].messagestringपैरेंट में अनिवार्य—
dedupedbooleanवैकल्पिक / आइटम—
संपूर्ण JSON Schema
{
  "type": "object",
  "properties": {
    "thread": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "workspace_id": {
          "type": "string",
          "format": "uuid"
        },
        "social_account_id": {
          "type": "string",
          "format": "uuid"
        },
        "idempotency_key": {
          "type": "string",
          "minLength": 1,
          "maxLength": 128
        },
        "item_count": {
          "type": "integer",
          "minimum": 2,
          "maximum": 25
        },
        "created_at": {
          "type": "string"
        },
        "items": {
          "minItems": 2,
          "maxItems": 25,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "item_id": {
                "type": "string",
                "format": "uuid"
              },
              "ordinal": {
                "type": "integer",
                "minimum": 1,
                "maximum": 25
              },
              "predecessor_post_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "post": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
                  },
                  "workspace_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "social_account_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "platform": {
                    "type": "string",
                    "enum": [
                      "instagram",
                      "threads",
                      "facebook",
                      "youtube",
                      "x"
                    ]
                  },
                  "destination": {
                    "type": "object",
                    "properties": {
                      "social_account_id": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "uuid"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "platform": {
                        "type": "string",
                        "enum": [
                          "instagram",
                          "threads",
                          "facebook",
                          "youtube",
                          "x"
                        ]
                      },
                      "platform_user_id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "account_label": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "social_account_id",
                      "platform",
                      "platform_user_id",
                      "account_label"
                    ],
                    "additionalProperties": false
                  },
                  "caption": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "hashtags": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "media": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "image",
                            "video"
                          ]
                        },
                        "url": {
                          "type": "string",
                          "format": "uri"
                        },
                        "cover_url": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uri"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "cover_asset_id": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "asset_id": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "mime_type": {
                          "anyOf": [
                            {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 160
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "preview_url": {
                          "description": "Temporary authorized read URL; keep url as persisted Scheduled Post media identity.",
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uri"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "cover_preview_url": {
                          "description": "Temporary authorized cover read URL; keep cover_url as persisted media identity.",
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uri"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "preview_expires_at": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
                              "format": "date-time"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "url"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "link_url": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uri"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "publish_options": {
                    "type": "object",
                    "properties": {
                      "post_type": {
                        "type": "string",
                        "enum": [
                          "TEXT",
                          "LINK",
                          "IMAGE",
                          "MULTI_IMAGE",
                          "VIDEO",
                          "CAROUSEL",
                          "REELS",
                          "STORY_IMAGE",
                          "STORY_VIDEO",
                          "REPOST",
                          "SHORT"
                        ]
                      },
                      "location_id": {
                        "type": "string",
                        "minLength": 1
                      },
                      "share_to_feed": {
                        "type": "boolean"
                      },
                      "collaborators": {
                        "maxItems": 3,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1
                        }
                      },
                      "first_comment": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2200
                      },
                      "topic_tag": {
                        "type": "string",
                        "minLength": 1
                      },
                      "thumb_offset_ms": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "title": {
                        "type": "string",
                        "maxLength": 255
                      },
                      "youtube_privacy_status": {
                        "type": "string",
                        "enum": [
                          "private",
                          "unlisted",
                          "public"
                        ]
                      },
                      "youtube_category_id": {
                        "type": "string",
                        "pattern": "^\\d+$"
                      },
                      "youtube_contains_synthetic_media": {
                        "type": "boolean"
                      },
                      "description": {
                        "type": "string",
                        "maxLength": 5000
                      },
                      "category_id": {
                        "type": "string",
                        "pattern": "^\\d+$"
                      },
                      "privacy_status": {
                        "type": "string",
                        "enum": [
                          "private",
                          "unlisted",
                          "public"
                        ]
                      },
                      "cancellation_mode": {
                        "type": "string",
                        "enum": [
                          "DELETE",
                          "UNSCHEDULE_KEEP_PRIVATE"
                        ]
                      },
                      "tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "default_language": {
                        "type": "string"
                      },
                      "localizations": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "license": {
                        "type": "string",
                        "enum": [
                          "youtube",
                          "creativeCommon"
                        ]
                      },
                      "embeddable": {
                        "type": "boolean"
                      },
                      "public_stats_viewable": {
                        "type": "boolean"
                      },
                      "self_declared_made_for_kids": {
                        "type": "boolean"
                      },
                      "contains_synthetic_media": {
                        "type": "boolean"
                      },
                      "has_paid_product_placement": {
                        "type": "boolean"
                      },
                      "recording_date": {
                        "type": "string"
                      },
                      "notify_subscribers": {
                        "type": "boolean"
                      },
                      "thumbnail_asset_id": {
                        "type": "integer",
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991
                      },
                      "surface_expectation": {
                        "type": "string",
                        "const": "SHORT"
                      },
                      "brand_partner": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "cover_asset_id": {
                        "type": "integer",
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991
                      },
                      "audio_name": {
                        "type": "string"
                      },
                      "trial_params": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "is_ai_generated": {
                        "type": "boolean"
                      },
                      "branded_content_sponsor_ids": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "is_paid_partnership": {
                        "type": "boolean"
                      },
                      "media_options": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        }
                      },
                      "reply_to_id": {
                        "type": "string"
                      },
                      "quote_post_id": {
                        "type": "string"
                      },
                      "repost_target_id": {
                        "type": "string"
                      },
                      "reply_control": {
                        "type": "string"
                      },
                      "enable_reply_approvals": {
                        "type": "boolean"
                      },
                      "link_attachment": {
                        "type": "string",
                        "format": "uri"
                      },
                      "poll_attachment": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "gif_attachment": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "text_attachment": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "text_entities": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        }
                      },
                      "is_spoiler_media": {
                        "type": "boolean"
                      },
                      "is_ghost_post": {
                        "type": "boolean"
                      },
                      "allowlisted_country_codes": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "crossreshare_to_ig": {
                        "type": "boolean"
                      },
                      "crossreshare_to_ig_dark_mode": {
                        "type": "boolean"
                      },
                      "auto_publish_text": {
                        "type": "boolean"
                      },
                      "publication_mode": {
                        "type": "string",
                        "enum": [
                          "PUBLISH",
                          "DRAFT"
                        ]
                      },
                      "backdated_time": {
                        "type": "number"
                      },
                      "backdated_time_granularity": {
                        "type": "string",
                        "enum": [
                          "year",
                          "month",
                          "day",
                          "hour",
                          "minute"
                        ]
                      },
                      "place": {
                        "type": "string"
                      },
                      "feed_targeting": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "targeting": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      "child_attachments": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        }
                      },
                      "multi_share_end_card": {
                        "type": "boolean"
                      },
                      "multi_share_optimized": {
                        "type": "boolean"
                      },
                      "unpublished_content_type": {
                        "type": "string"
                      },
                      "no_story": {
                        "type": "boolean"
                      },
                      "crossposted_video_id": {
                        "type": "string"
                      },
                      "spherical": {
                        "type": "boolean"
                      }
                    },
                    "additionalProperties": false
                  },
                  "scheduled_at": {
                    "type": "string"
                  },
                  "display_timezone": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 80
                  },
                  "local_scheduled_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "schedule_timezone": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 80
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "schedule_dst_disambiguation": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "exact",
                          "earlier",
                          "later"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "schedule_intent_state": {
                    "type": "string",
                    "enum": [
                      "verified",
                      "legacy_unverified"
                    ]
                  },
                  "expires_at": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "status": {
                    "type": "string",
                    "enum": [
                      "scheduled",
                      "publishing",
                      "published",
                      "failed",
                      "expired",
                      "needs_reschedule",
                      "cancelled",
                      "deleted"
                    ]
                  },
                  "version": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "automatic_retry_enabled": {
                    "type": "boolean"
                  },
                  "delete_requested_at": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "published_at": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "deleted_at": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "provider_post_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "permalink": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uri"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "created_at": {
                    "type": "string"
                  },
                  "updated_at": {
                    "type": "string"
                  },
                  "project_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "batch_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "uuid"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "source_ref": {
                    "anyOf": [
                      {
                        "type": "object",
                        "propertyNames": {
                          "type": "string"
                        },
                        "additionalProperties": {}
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "id",
                  "workspace_id",
                  "social_account_id",
                  "platform",
                  "destination",
                  "caption",
                  "hashtags",
                  "media",
                  "publish_options",
                  "scheduled_at",
                  "display_timezone",
                  "expires_at",
                  "status",
                  "version",
                  "automatic_retry_enabled",
                  "delete_requested_at",
                  "published_at",
                  "deleted_at",
                  "provider_post_id",
                  "permalink",
                  "created_at",
                  "updated_at",
                  "project_id",
                  "batch_id",
                  "source_ref"
                ],
                "additionalProperties": false
              },
              "retry_allowed": {
                "type": "boolean"
              }
            },
            "required": [
              "item_id",
              "ordinal",
              "predecessor_post_id",
              "post",
              "retry_allowed"
            ],
            "additionalProperties": false
          }
        },
        "expected_versions": {
          "type": "object",
          "propertyNames": {
            "type": "string",
            "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
          },
          "additionalProperties": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          }
        },
        "actions": {
          "minItems": 2,
          "maxItems": 2,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "action": {
                "type": "string",
                "enum": [
                  "resume",
                  "cancel"
                ]
              },
              "allowed": {
                "type": "boolean"
              },
              "reason_code": {
                "type": "string",
                "enum": [
                  "allowed",
                  "no_failed_items",
                  "resolution_required",
                  "retry_unavailable",
                  "terminal_state"
                ]
              },
              "message": {
                "type": "string"
              }
            },
            "required": [
              "action",
              "allowed",
              "reason_code",
              "message"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "id",
        "workspace_id",
        "social_account_id",
        "idempotency_key",
        "item_count",
        "created_at",
        "items",
        "expected_versions",
        "actions"
      ],
      "additionalProperties": false
    },
    "deduped": {
      "type": "boolean"
    }
  },
  "required": [
    "thread"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

टूल कॉल का उदाहरण

उदाहरणों में स्कीमा से जाँचे काल्पनिक मान हैं। IDs को अधिकृत IDs, मीडिया को तैयार एसेट और तारीखों को पुष्ट प्रकाशन समय से बदलें। राइट सबमिट करने से पहले खाते की पात्रता जाँचें। यह पेज API अनुरोध नहीं भेजता।

{
  "name": "sosoapi_create_x_post_thread",
  "arguments": {
    "version": 1,
    "workspace_id": "11111111-1111-4111-8111-111111111111",
    "social_account_id": "22222222-2222-4222-8222-222222222222",
    "scheduled_at": "2099-01-15T09:00:00Z",
    "display_timezone": "UTC",
    "idempotency_key": "example-x-thread-0001",
    "items": [
      {
        "item_id": "99999999-9999-4999-8999-999999999991",
        "caption": "A fictional two-part announcement.",
        "hashtags": [],
        "media": [],
        "publish_options": {
          "post_type": "TEXT"
        }
      },
      {
        "item_id": "99999999-9999-4999-8999-999999999992",
        "caption": "The second part of this fictional announcement.",
        "hashtags": [],
        "media": [],
        "publish_options": {
          "post_type": "TEXT"
        }
      }
    ]
  }
}

structuredContent

{
  "thread": {
    "workspace_id": "11111111-1111-4111-8111-111111111111",
    "id": "88888888-8888-4888-8888-888888888888",
    "social_account_id": "22222222-2222-4222-8222-222222222222",
    "idempotency_key": "example-x-thread-0001",
    "item_count": 2,
    "created_at": "2099-01-15T08:00:00Z",
    "items": [
      {
        "item_id": "99999999-9999-4999-8999-999999999991",
        "ordinal": 1,
        "predecessor_post_id": null,
        "retry_allowed": false,
        "post": {
          "id": "aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaa1",
          "workspace_id": "11111111-1111-4111-8111-111111111111",
          "social_account_id": "22222222-2222-4222-8222-222222222222",
          "platform": "x",
          "destination": {
            "social_account_id": "22222222-2222-4222-8222-222222222222",
            "platform": "x",
            "platform_user_id": "fictional-x-account",
            "account_label": "Fictional X account"
          },
          "caption": "A fictional two-part announcement.",
          "hashtags": [],
          "media": [],
          "publish_options": {
            "post_type": "TEXT"
          },
          "scheduled_at": "2099-01-15T09:00:00Z",
          "display_timezone": "UTC",
          "expires_at": null,
          "status": "scheduled",
          "version": 1,
          "automatic_retry_enabled": false,
          "delete_requested_at": null,
          "published_at": null,
          "deleted_at": null,
          "provider_post_id": null,
          "permalink": null,
          "project_id": null,
          "batch_id": null,
          "source_ref": null,
          "created_at": "2099-01-15T08:00:00Z",
          "updated_at": "2099-01-15T08:30:00Z"
        }
      },
      {
        "item_id": "99999999-9999-4999-8999-999999999992",
        "ordinal": 2,
        "predecessor_post_id": "aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaa1",
        "retry_allowed": false,
        "post": {
          "id": "aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaa2",
          "workspace_id": "11111111-1111-4111-8111-111111111111",
          "social_account_id": "22222222-2222-4222-8222-222222222222",
          "platform": "x",
          "destination": {
            "social_account_id": "22222222-2222-4222-8222-222222222222",
            "platform": "x",
            "platform_user_id": "fictional-x-account",
            "account_label": "Fictional X account"
          },
          "caption": "The second part of this fictional announcement.",
          "hashtags": [],
          "media": [],
          "publish_options": {
            "post_type": "TEXT"
          },
          "scheduled_at": "2099-01-15T09:00:00Z",
          "display_timezone": "UTC",
          "expires_at": null,
          "status": "scheduled",
          "version": 1,
          "automatic_retry_enabled": false,
          "delete_requested_at": null,
          "published_at": null,
          "deleted_at": null,
          "provider_post_id": null,
          "permalink": null,
          "project_id": null,
          "batch_id": null,
          "source_ref": null,
          "created_at": "2099-01-15T08:00:00Z",
          "updated_at": "2099-01-15T08:30:00Z"
        }
      }
    ],
    "expected_versions": {
      "aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaa1": 1,
      "aaaaaaaa-aaaa-4aaa-8aaa-aaaaaaaaaaa2": 1
    },
    "actions": [
      {
        "action": "resume",
        "allowed": false,
        "reason_code": "no_failed_items",
        "message": "This example has no retryable failed items."
      },
      {
        "action": "cancel",
        "allowed": true,
        "reason_code": "allowed",
        "message": "Cancel the unpublished items in this fictional thread."
      }
    ]
  },
  "deduped": false
}
MCP इंस्टॉल या कनेक्ट करें