addedInput schema / properties / publishTargets / items / properties / providerOptions
Added value: +{
+ "additionalProperties": false,
+ "description": "Closed v1 options. Instagram Reels accept shareToFeed/coverFrameMs. YouTube short requires youtube: title (100 characters), description (5000 UTF-8 bytes), explicit privacyStatus, selfDeclaredMadeForKids and containsSyntheticMedia. Optional YouTube settings: tags, categoryId, defaultLanguage, localizations (needs defaultLanguage), license, embeddable, publicStatsViewable, notifySubscribers and recordingDate (YYYY-MM-DD); omit them for YouTube defaults. Age restriction, comments, chapters, remix, playlists, captions and thumbnails are not accepted. TikTok feed requires nine explicit video fields; carousel requires title (90 UTF-16), privacyLevel, allowComment, discloseCommercialContent, yourBrand, brandedContent, isAigc, autoAddMusic and coverIndex (zero-based), with 1-35 JPEG/PNG/WebP source images (prepared as JPEG; transparency becomes white), description in textOverride (4000 UTF-16), up to 5 MiB each. Both require content-bound owner consent recorded in XPlanner before scheduling/publishing. Create a draft, inspect xplanner_get_post_publishing_readiness, then direct the owner to ownerActionUrl. The owner reviews settings, accepts required terms and selects Publish or Schedule; preparation and consent complete automatically in that action. Re-read the post and readiness after the owner acts to avoid duplicate publication. Never infer declarations or supply private delivery state.",
+ "properties": {
+ "coverFrameMs": {
+ "maximum": 899999,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "facebook": {
+ "additionalProperties": false,
+ "description": "Facebook Reel or video Story only; each requires its matching feature access. Photo Story and feed video have no AI label field in this API contract. False/omission is canonical default.",
+ "properties": {
+ "isAigc": {
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "instagram": {
+ "additionalProperties": false,
+ "description": "Requires instagram_advanced_publishing access. User tags: Reel/Story only, at most 20, optional paired x/y only on Story. Collaborators: feed/carousel/Reel only, at most 3. Trial Reel: explicit MANUAL or SS_PERFORMANCE graduation; provider eligibility still applies. Trial cannot be combined with tags, collaborators or outer shareToFeed. No stickers, source IDs, URLs, tokens or private delivery state.",
+ "properties": {
+ "collaborators": {
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "trialReel": {
+ "additionalProperties": false,
+ "properties": {
+ "graduationStrategy": {
+ "enum": [
+ "MANUAL",
+ "SS_PERFORMANCE"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "graduationStrategy"
+ ],
+ "type": "object"
+ },
+ "userTags": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "username": {
+ "type": "string"
+ },
+ "x": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "y": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "username"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "linkedin": {
+ "description": "LinkedIn feed only, requires linkedin_advanced_publishing access. Read linkedinAdvancedOptions from identity-specific capabilities for canonical limits. Poll and reshare have no media; article has at most one owned still-image thumbnail. Document requires a title and one owned post-documents PDF (20 MiB/100-page product ceiling), explicit feature access, real-byte checks and asynchronous provider processing. No source document URN or upload URL is accepted. Poll duration and all declarations are explicit. Article metadata is not scraped. Reshare parent is an actual share/ugcPost URN, never infer it from an activity URL. No private upload state or credentials. The app validates and canonicalizes all fields before saving.",
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "duration": {
+ "enum": [
+ "ONE_DAY",
+ "THREE_DAYS",
+ "SEVEN_DAYS",
+ "FOURTEEN_DAYS"
+ ],
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "question": {
+ "type": "string"
+ },
+ "type": {
+ "const": "poll",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "question",
+ "options",
+ "duration"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "type": {
+ "const": "article",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "source",
+ "title"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "type": {
+ "const": "document",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "title"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "parentUrn": {
+ "pattern": "^urn:li:(?:share|ugcPost):[1-9][0-9]{0,29}$",
+ "type": "string"
+ },
+ "type": {
+ "const": "reshare",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "parentUrn"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "shareToFeed": {
+ "type": "boolean"
+ },
+ "threads": {
+ "description": "Threads feed or carousel for media; otherwise feed only; requires threads_advanced_publishing access and identity-specific threadsAdvancedOptions discovery. type=media accepts 1–20 owned JPEG/PNG images or MP4/MOV videos, with isSpoilerMedia applying to all carousel items. Images max 8 MiB; videos max 100 MiB, 3–300 seconds, 24–60 fps, 9:16–16:9 and 540x540–1920x3840. Explicit carousel publishes with at least two items; drafts may be incomplete. False spoiler flag is canonical omission. Other advanced types except rich thread are text-only. Thread attachments (root first, same count as root plus posts) accept per-post mediaRefs, poll, gifId or textAttachment, mutually exclusive; media refs must also appear in the target mediaRefs. Thread requires additional threads_series_publishing access and threads_manage_replies: 1–9 ordered additional replies (2–10 total), max 500 Unicode characters each; root is normal post text. Read thread.available in discovery. Partial ordered receipts are read-only; incomplete/unknown delivery is not published. Poll: 2–4 distinct options, up to 25 Unicode characters. Plain text attachment: up to 10000 characters. GIF: actual GIPHY ID, no upload/URL. Quote/reply: actual numeric postId string. Reply additionally requires threads_manage_replies; locationId requires threads_location_tagging. Ghost is text-only and archives after 24 hours; no other options. Other types permit a topicTag up to 50 characters without . or &, locationId and replyApprovals. Existing URL policy applies to post text and attachments. Options change source revision/review digest. Do not supply credentials, container IDs, status or receipts.",
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "attachments": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "gifId": {
+ "pattern": "^[A-Za-z0-9_-]{1,128}$",
+ "type": "string"
+ },
+ "mediaRefs": {
+ "items": {
+ "pattern": "^post-(images|videos|gifs)\\/[A-Za-z0-9_./-]+$",
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "poll": {
+ "additionalProperties": false,
+ "properties": {
+ "options": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "options"
+ ],
+ "type": "object"
+ },
+ "textAttachment": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "maxItems": 10,
+ "minItems": 2,
+ "type": "array"
+ },
+ "locationId": {
+ "pattern": "^[1-9][0-9]{0,29}$",
+ "type": "string"
+ },
+ "posts": {
+ "items": {
+ "anyOf": [
+ {
+ "const": "",
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "maxItems": 9,
+ "minItems": 1,
+ "type": "array"
+ },
+ "replyApprovals": {
+ "type": "boolean"
+ },
+ "topicTag": {
+ "type": "string"
+ },
+ "type": {
+ "const": "thread",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "posts"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "locationId": {
+ "pattern": "^[1-9][0-9]{0,29}$",
+ "type": "string"
+ },
+ "replyApprovals": {
+ "type": "boolean"
+ },
+ "topicTag": {
+ "type": "string"
+ },
+ "type": {
+ "const": "post",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "isSpoilerMedia": {
+ "type": "boolean"
+ },
+ "locationId": {
+ "pattern": "^[1-9][0-9]{0,29}$",
+ "type": "string"
+ },
+ "replyApprovals": {
+ "type": "boolean"
+ },
+ "topicTag": {
+ "type": "string"
+ },
+ "type": {
+ "const": "media",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "locationId": {
+ "pattern": "^[1-9][0-9]{0,29}$",
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "replyApprovals": {
+ "type": "boolean"
+ },
+ "topicTag": {
+ "type": "string"
+ },
+ "type": {
+ "const": "poll",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "options"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "attachment": {
+ "type": "string"
+ },
+ "locationId": {
+ "pattern": "^[1-9][0-9]{0,29}$",
+ "type": "string"
+ },
+ "replyApprovals": {
+ "type": "boolean"
+ },
+ "topicTag": {
+ "type": "string"
+ },
+ "type": {
+ "const": "text_attachment",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "attachment"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "gifId": {
+ "pattern": "^[A-Za-z0-9_-]{1,128}$",
+ "type": "string"
+ },
+ "locationId": {
+ "pattern": "^[1-9][0-9]{0,29}$",
+ "type": "string"
+ },
+ "replyApprovals": {
+ "type": "boolean"
+ },
+ "topicTag": {
+ "type": "string"
+ },
+ "type": {
+ "const": "gif",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "gifId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "locationId": {
+ "pattern": "^[1-9][0-9]{0,29}$",
+ "type": "string"
+ },
+ "postId": {
+ "pattern": "^[1-9][0-9]{0,29}$",
+ "type": "string"
+ },
+ "replyApprovals": {
+ "type": "boolean"
+ },
+ "topicTag": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "quote",
+ "reply"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "postId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "type": {
+ "const": "ghost",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "tiktok": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "allowComment": {
+ "type": "boolean"
+ },
+ "allowDuet": {
+ "type": "boolean"
+ },
+ "allowStitch": {
+ "type": "boolean"
+ },
+ "brandedContent": {
+ "type": "boolean"
+ },
+ "coverFrameMs": {
+ "maximum": 2147483647,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "discloseCommercialContent": {
+ "type": "boolean"
+ },
+ "isAigc": {
+ "type": "boolean"
+ },
+ "privacyLevel": {
+ "enum": [
+ "PUBLIC_TO_EVERYONE",
+ "MUTUAL_FOLLOW_FRIENDS",
+ "FOLLOWER_OF_CREATOR",
+ "SELF_ONLY"
+ ],
+ "type": "string"
+ },
+ "yourBrand": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "privacyLevel",
+ "allowComment",
+ "allowDuet",
+ "allowStitch",
+ "discloseCommercialContent",
+ "yourBrand",
+ "brandedContent",
+ "isAigc",
+ "coverFrameMs"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "allowComment": {
+ "type": "boolean"
+ },
+ "autoAddMusic": {
+ "type": "boolean"
+ },
+ "brandedContent": {
+ "type": "boolean"
+ },
+ "coverIndex": {
+ "maximum": 34,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "discloseCommercialContent": {
+ "type": "boolean"
+ },
+ "isAigc": {
+ "type": "boolean"
+ },
+ "privacyLevel": {
+ "enum": [
+ "PUBLIC_TO_EVERYONE",
+ "MUTUAL_FOLLOW_FRIENDS",
+ "FOLLOWER_OF_CREATOR",
+ "SELF_ONLY"
+ ],
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 90,
+ "type": "string"
+ },
+ "yourBrand": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "title",
+ "privacyLevel",
+ "allowComment",
+ "discloseCommercialContent",
+ "yourBrand",
+ "brandedContent",
+ "isAigc",
+ "autoAddMusic",
+ "coverIndex"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "version": {
+ "const": 1,
+ "type": "number"
+ },
+ "x": {
+ "description": "X feed only, gated by x_advanced_publishing. Question/commentary is post text. Polls and quotes cannot include media. Replies depend on X source visibility and self-serve summons rules. Quote additionally requires discovery xAdvancedOptions.quote.available=true and server-side Enterprise entitlement. Thread additionally requires x_thread_publishing and discovery availability; posts are 1-9 additional replies (2-10 total), with optional per-post media or polls in attachments (root first; every ref must also be in target mediaRefs), conservative weight 280 each. Root text/media is the normal post source. Read current limits from discovery. Partial IDs are read-only progress, never input. IDs are strings; private delivery state is forbidden.",
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "attachments": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "mediaRefs": {
+ "items": {
+ "pattern": "^post-(images|videos|gifs)\\/[A-Za-z0-9_./-]+$",
+ "type": "string"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "poll": {
+ "additionalProperties": false,
+ "properties": {
+ "durationMinutes": {
+ "maximum": 10080,
+ "minimum": 5,
+ "type": "integer"
+ },
+ "options": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ }
+ },
+ "required": [
+ "options",
+ "durationMinutes"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "maxItems": 10,
+ "minItems": 2,
+ "type": "array"
+ },
+ "posts": {
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 9,
+ "minItems": 1,
+ "type": "array"
+ },
+ "type": {
+ "const": "thread",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "posts"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "durationMinutes": {
+ "maximum": 10080,
+ "minimum": 5,
+ "type": "integer"
+ },
+ "options": {
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 4,
+ "minItems": 2,
+ "type": "array"
+ },
+ "type": {
+ "const": "poll",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "options",
+ "durationMinutes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "postId": {
+ "pattern": "^[1-9][0-9]{0,18}$",
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "reply",
+ "quote"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "postId"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "youtube": {
+ "additionalProperties": false,
+ "properties": {
+ "categoryId": {
+ "enum": [
+ "1",
+ "2",
+ "10",
+ "15",
+ "17",
+ "19",
+ "20",
+ "22",
+ "23",
+ "24",
+ "25",
+ "26",
+ "27",
+ "28",
+ "29"
+ ],
+ "type": "string"
+ },
+ "containsSyntheticMedia": {
+ "type": "boolean"
+ },
+ "defaultLanguage": {
+ "enum": [
+ "ar",
+ "bn",
+ "de",
+ "el",
+ "en",
+ "es",
+ "fa",
+ "fr",
+ "he",
+ "hi",
+ "id",
+ "it",
+ "ja",
+ "ko",
+ "nl",
+ "pl",
+ "pt",
+ "ro",
+ "ru",
+ "sv",
+ "th",
+ "tr",
+ "uk",
+ "ur",
+ "vi",
+ "zh-Hans",
+ "zh-Hant"
+ ],
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "embeddable": {
+ "type": "boolean"
+ },
+ "license": {
+ "enum": [
+ "youtube",
+ "creativeCommon"
+ ],
+ "type": "string"
+ },
+ "localizations": {
+ "additionalProperties": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "description"
+ ],
+ "type": "object"
+ },
+ "propertyNames": {
+ "enum": [
+ "ar",
+ "bn",
+ "de",
+ "el",
+ "en",
+ "es",
+ "fa",
+ "fr",
+ "he",
+ "hi",
+ "id",
+ "it",
+ "ja",
+ "ko",
+ "nl",
+ "pl",
+ "pt",
+ "ro",
+ "ru",
+ "sv",
+ "th",
+ "tr",
+ "uk",
+ "ur",
+ "vi",
+ "zh-Hans",
+ "zh-Hant"
+ ],
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "notifySubscribers": {
+ "type": "boolean"
+ },
+ "privacyStatus": {
+ "enum": [
+ "private",
+ "unlisted",
+ "public"
+ ],
+ "type": "string"
+ },
+ "publicStatsViewable": {
+ "type": "boolean"
+ },
+ "recordingDate": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "selfDeclaredMadeForKids": {
+ "type": "boolean"
+ },
+ "tags": {
+ "description": "Up to 500 characters in total; commas count and a tag with a space counts two quotes.",
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "description",
+ "privacyStatus",
+ "selfDeclaredMadeForKids",
+ "containsSyntheticMedia"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "version"
+ ],
+ "type": "object"
+}