> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Create a post

> Creates a draft, a scheduled post, or publishes now. Drafts stay in AIsa until scheduled or published (201). With publishNow the post is saved and answered at once with 202 and status publishing; AIsa then publishes it in the background. The outcome arrives as the post.published, post.partial or post.failed webhook, or read GET /posts/{postId} until status leaves publishing (usually within seconds; video can take a minute or two). A failed post keeps its id with status failed and can be edited and published again. To wait for the platform instead, send wait=true or the header Prefer: wait: the answer is then 201 with the platform post ids, 207 when some platforms failed, 202 if the outcome is still unknown after about 100 seconds, or the error. A scheduled post returns 201, 207 when some platforms failed, or 202 while the outcome is pending. A replay of an idempotent request returns 200 with the original post (202 while it is still publishing). Each X (twitter or x) target supports a single X post, including scheduling with scheduledFor and timezone. X threads (threadItems), articles and link cards are not supported, including in drafts. Plain text URLs, replies and quotes remain supported subject to their field constraints.

## 请求规范

* **方法与路径:** POST /apis/v1/social/posts
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/social/posts`
* **wait:** query; 可选
* **Idempotency-Key:** header; 可选

[完整 OpenAPI 定义](https://aisa.one/docs/openapi-public/zh/aisa-social.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "operationId": "post_aisa_social_apis_v1_social_posts",
  "method": "POST",
  "path": "/apis/v1/social/posts",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "description": "true waits for the platform before answering (also Prefer: wait). Only changes publishNow requests; the default answers 202 publishing at once.",
      "in": "query",
      "name": "wait",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    },
    {
      "description": "Strongly recommended. Reusing a key within 24 hours returns the original result; a different body returns 409 idempotency_key_reused. Without a key the server derives one from the body in 10-minute buckets and echoes it in the response header.",
      "in": "header",
      "name": "Idempotency-Key",
      "required": false,
      "schema": {
        "maxLength": 191,
        "minLength": 1,
        "type": "string"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "example": {
          "content": "Our spring collection is live.",
          "mediaItems": [
            {
              "mediaId": "med_5Tc8Hn2Wq7Lx3Bv9Kd4Fr6",
              "type": "video"
            }
          ],
          "platforms": [
            {
              "accountId": "acc_7Hq2Lm9Xc4Rt8Vw1Nb6Ks3",
              "platform": "tiktok",
              "platformSpecificData": {
                "privacyLevel": "PUBLIC_TO_EVERYONE"
              }
            }
          ],
          "profileId": "prf_2Bn8Wq5Td1Yh7Kc3Mz9Lp4",
          "scheduledFor": "2026-11-20T15:00:00Z",
          "timezone": "America/New_York"
        },
        "schema": {
          "additionalProperties": false,
          "properties": {
            "content": {
              "type": [
                "string",
                "null"
              ]
            },
            "isDraft": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "mediaItems": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "altText": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "mediaId": {
                    "description": "A media id from POST /media/presign after the upload finished. Set url or mediaId, not both.",
                    "pattern": "^med_[0-9A-Za-z]{22}$",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "thumbnailUrl": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "title": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "type": {
                    "description": "image, video, gif or document (PDF; LinkedIn only).",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "url": {
                    "description": "Public https URL of the media file itself (not a page that shows it). Set url or mediaId, not both. AIsa fetches the start of the file before scheduling or publishing and refuses a URL that does not answer, is not on the public internet, serves another type than type (for example an HTML page), or is larger than 500 MB; the platform fetches the file when it publishes. Agents without file upload use this.",
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": [
                "array",
                "null"
              ]
            },
            "platforms": {
              "items": {
                "additionalProperties": false,
                "allOf": [
                  {
                    "if": {
                      "properties": {
                        "platform": {
                          "enum": [
                            "tiktok"
                          ]
                        }
                      },
                      "required": [
                        "platform"
                      ]
                    },
                    "then": {
                      "properties": {
                        "platformSpecificData": {
                          "anyOf": [
                            {
                              "type": "null"
                            },
                            {
                              "additionalProperties": false,
                              "description": "Required to schedule or publish: privacyLevel, allowComment. Also required for video: allowDuet, allowStitch. Must be true, from the user: contentPreviewConfirmed, expressConsentGiven.",
                              "properties": {
                                "allowComment": {
                                  "description": "Allow comments. Must be false when creator-info reports commentDisabled.",
                                  "type": "boolean"
                                },
                                "allowDuet": {
                                  "description": "Allow duets; required for video. Must be false when creator-info reports duetDisabled.",
                                  "type": "boolean"
                                },
                                "allowStitch": {
                                  "description": "Allow stitches; required for video. Must be false when creator-info reports stitchDisabled.",
                                  "type": "boolean"
                                },
                                "brandPartnerPromote": {
                                  "description": "Also disclose a paid partnership; only alongside commercialContentType brand_organic.",
                                  "type": "boolean"
                                },
                                "commercialContentType": {
                                  "description": "Commercial content disclosure; one of commercialContentTypes from creator-info. brand_content cannot be SELF_ONLY.",
                                  "enum": [
                                    "none",
                                    "brand_organic",
                                    "brand_content"
                                  ],
                                  "type": "string"
                                },
                                "contentPreviewConfirmed": {
                                  "description": "The user previewed exactly this content. Must be true and must come from the user.",
                                  "type": "boolean"
                                },
                                "description": {
                                  "description": "Long caption for photo posts.",
                                  "maxLength": 4000,
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "expressConsentGiven": {
                                  "description": "The user consented to posting. Must be true and must come from the user.",
                                  "type": "boolean"
                                },
                                "isBrandOrganicPost": {
                                  "description": "Also disclose the creator's own brand; only alongside commercialContentType brand_content.",
                                  "type": "boolean"
                                },
                                "mediaType": {
                                  "description": "Overrides the media type derived from the media items.",
                                  "enum": [
                                    "video",
                                    "photo"
                                  ],
                                  "type": "string"
                                },
                                "privacyLevel": {
                                  "description": "One of privacyLevelOptions from GET /accounts/{accountId}/tiktok/creator-info for this mediaType.",
                                  "maxLength": 64,
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "videoMadeWithAi": {
                                  "description": "Label the post as AI-generated.",
                                  "type": "boolean"
                                }
                              },
                              "type": "object"
                            }
                          ]
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "platform": {
                          "enum": [
                            "instagram"
                          ]
                        }
                      },
                      "required": [
                        "platform"
                      ]
                    },
                    "then": {
                      "properties": {
                        "platformSpecificData": {
                          "anyOf": [
                            {
                              "type": "null"
                            },
                            {
                              "additionalProperties": false,
                              "description": "",
                              "properties": {
                                "collaborators": {
                                  "description": "Up to 3 usernames to invite as collaborators (feed and Reels).",
                                  "items": {
                                    "maxLength": 64,
                                    "minLength": 1,
                                    "type": "string"
                                  },
                                  "maxItems": 3,
                                  "type": "array"
                                },
                                "contentType": {
                                  "description": "story publishes a Story.",
                                  "enum": [
                                    "story"
                                  ],
                                  "type": "string"
                                },
                                "firstComment": {
                                  "description": "First comment added after publishing (not on Stories).",
                                  "maxLength": 2200,
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "isAiGenerated": {
                                  "description": "Label the post as containing AI-generated media.",
                                  "type": "boolean"
                                },
                                "shareToFeed": {
                                  "description": "Reels only: also show the Reel on the main feed (default true).",
                                  "type": "boolean"
                                }
                              },
                              "type": "object"
                            }
                          ]
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "platform": {
                          "enum": [
                            "twitter",
                            "x"
                          ]
                        }
                      },
                      "required": [
                        "platform"
                      ]
                    },
                    "then": {
                      "properties": {
                        "platformSpecificData": {
                          "anyOf": [
                            {
                              "type": "null"
                            },
                            {
                              "additionalProperties": false,
                              "description": "Each X (twitter or x) target supports a single X post, including scheduling with scheduledFor and timezone. X threads (threadItems), articles and link cards are not supported, including in drafts. Plain text URLs, replies and quotes remain supported subject to their field constraints.",
                              "properties": {
                                "madeWithAi": {
                                  "description": "Label the post as containing AI-generated media.",
                                  "type": "boolean"
                                },
                                "poll": {
                                  "additionalProperties": false,
                                  "description": "A poll; cannot be combined with media.",
                                  "properties": {
                                    "duration_minutes": {
                                      "maximum": 10080,
                                      "minimum": 5,
                                      "type": "integer"
                                    },
                                    "options": {
                                      "items": {
                                        "maxLength": 25,
                                        "minLength": 1,
                                        "type": "string"
                                      },
                                      "maxItems": 4,
                                      "minItems": 2,
                                      "type": "array"
                                    }
                                  },
                                  "required": [
                                    "options",
                                    "duration_minutes"
                                  ],
                                  "type": "object"
                                },
                                "quoteTweetId": {
                                  "description": "Existing X post ID or full status URL to quote. Cannot be combined with media or poll. X restricts which posts this account may quote.",
                                  "maxLength": 2048,
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "replySettings": {
                                  "description": "Who can reply. Cannot be combined with replyToTweetId.",
                                  "enum": [
                                    "following",
                                    "mentionedUsers",
                                    "subscribers",
                                    "verified"
                                  ],
                                  "type": "string"
                                },
                                "replyToTweetId": {
                                  "description": "Existing X post to reply to. Cannot be combined with replySettings. X restricts which posts this account may reply to.",
                                  "maxLength": 2048,
                                  "minLength": 1,
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            }
                          ]
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "platform": {
                          "enum": [
                            "youtube"
                          ]
                        }
                      },
                      "required": [
                        "platform"
                      ]
                    },
                    "then": {
                      "properties": {
                        "platformSpecificData": {
                          "anyOf": [
                            {
                              "type": "null"
                            },
                            {
                              "additionalProperties": false,
                              "description": "Required to schedule or publish: madeForKids.",
                              "properties": {
                                "containsSyntheticMedia": {
                                  "description": "Label the video as containing synthetic (AI-generated) content.",
                                  "type": "boolean"
                                },
                                "firstComment": {
                                  "description": "First comment posted after upload.",
                                  "maxLength": 10000,
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "madeForKids": {
                                  "description": "COPPA: whether the video is made for kids. Required, and must be the user's explicit choice.",
                                  "type": "boolean"
                                },
                                "title": {
                                  "description": "Video title.",
                                  "maxLength": 100,
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "visibility": {
                                  "description": "Video visibility.",
                                  "enum": [
                                    "public",
                                    "private",
                                    "unlisted"
                                  ],
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            }
                          ]
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "platform": {
                          "enum": [
                            "facebook"
                          ]
                        }
                      },
                      "required": [
                        "platform"
                      ]
                    },
                    "then": {
                      "properties": {
                        "platformSpecificData": {
                          "anyOf": [
                            {
                              "type": "null"
                            },
                            {
                              "additionalProperties": false,
                              "description": "",
                              "properties": {
                                "contentType": {
                                  "description": "story or reel; omitted is a feed post.",
                                  "enum": [
                                    "story",
                                    "reel"
                                  ],
                                  "type": "string"
                                },
                                "firstComment": {
                                  "description": "First comment added after publishing (not on stories).",
                                  "maxLength": 8000,
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "pageId": {
                                  "description": "Page to post to when the account manages several.",
                                  "maxLength": 64,
                                  "minLength": 1,
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            }
                          ]
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "platform": {
                          "enum": [
                            "linkedin"
                          ]
                        }
                      },
                      "required": [
                        "platform"
                      ]
                    },
                    "then": {
                      "properties": {
                        "platformSpecificData": {
                          "anyOf": [
                            {
                              "type": "null"
                            },
                            {
                              "additionalProperties": false,
                              "description": "linkedin accepts no platformSpecificData yet.",
                              "properties": {},
                              "type": "object"
                            }
                          ]
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "platform": {
                          "enum": [
                            "pinterest"
                          ]
                        }
                      },
                      "required": [
                        "platform"
                      ]
                    },
                    "then": {
                      "properties": {
                        "platformSpecificData": {
                          "anyOf": [
                            {
                              "type": "null"
                            },
                            {
                              "additionalProperties": false,
                              "description": "",
                              "properties": {
                                "isAiGenerated": {
                                  "description": "Label the Pin as AI modified.",
                                  "type": "boolean"
                                }
                              },
                              "type": "object"
                            }
                          ]
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "platform": {
                          "enum": [
                            "threads"
                          ]
                        }
                      },
                      "required": [
                        "platform"
                      ]
                    },
                    "then": {
                      "properties": {
                        "platformSpecificData": {
                          "anyOf": [
                            {
                              "type": "null"
                            },
                            {
                              "additionalProperties": false,
                              "description": "threads accepts no platformSpecificData yet.",
                              "properties": {},
                              "type": "object"
                            }
                          ]
                        }
                      }
                    }
                  },
                  {
                    "if": {
                      "properties": {
                        "platform": {
                          "enum": [
                            "reddit"
                          ]
                        }
                      },
                      "required": [
                        "platform"
                      ]
                    },
                    "then": {
                      "properties": {
                        "platformSpecificData": {
                          "anyOf": [
                            {
                              "type": "null"
                            },
                            {
                              "additionalProperties": false,
                              "description": "reddit accepts no platformSpecificData yet.",
                              "properties": {},
                              "type": "object"
                            }
                          ]
                        }
                      }
                    }
                  }
                ],
                "properties": {
                  "accountId": {
                    "pattern": "^acc_[0-9A-Za-z]{22}$",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "customContent": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "customMedia": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "altText": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "mediaId": {
                          "description": "A media id from POST /media/presign after the upload finished. Set url or mediaId, not both.",
                          "pattern": "^med_[0-9A-Za-z]{22}$",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "thumbnailUrl": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "title": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "type": {
                          "description": "image, video, gif or document (PDF; LinkedIn only).",
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "url": {
                          "description": "Public https URL of the media file itself (not a page that shows it). Set url or mediaId, not both. AIsa fetches the start of the file before scheduling or publishing and refuses a URL that does not answer, is not on the public internet, serves another type than type (for example an HTML page), or is larger than 500 MB; the platform fetches the file when it publishes. Agents without file upload use this.",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "platform": {
                    "enum": [
                      "tiktok",
                      "instagram",
                      "twitter",
                      "youtube",
                      "facebook",
                      "linkedin",
                      "pinterest",
                      "threads",
                      "reddit",
                      "x",
                      null
                    ],
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "platformSpecificData": {
                    "additionalProperties": {},
                    "description": "Platform options, checked against the platform registry: unknown fields are rejected with unknown_field. The accepted fields depend on platform; fields required to schedule or publish are named in each description.",
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "scheduledFor": {
                    "format": "date-time",
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": [
                "array",
                "null"
              ]
            },
            "profileId": {
              "pattern": "^prf_[0-9A-Za-z]{22}$",
              "type": [
                "string",
                "null"
              ]
            },
            "publishNow": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "scheduledFor": {
              "format": "date-time",
              "type": [
                "string",
                "null"
              ]
            },
            "timezone": {
              "type": [
                "string",
                "null"
              ]
            },
            "title": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## 费用与请求规则

每个成功发布的目标单独收费：X 普通帖子 \$0.015 USD；正文含链接 \$0.200 USD（媒体链接不影响价格）；其他平台 \$0.01 USD。 同一帖子可以同时发布到 X 和其他平台。 发布失败的目标不收费；某个目标因余额不足或超过请求最高限价被拒付时，仅该目标失败，其他目标继续发布。 创建草稿免费。 已受理或结果未知的目标保持待确认状态；确认发布后，每个目标仅结算一次费用。 发布前可通过报价功能获取总费用。 账户适用价格可能不同；支持报价的接口可按实际请求获取报价。


## OpenAPI

````yaml openapi-public/zh/aisa-social.json POST /apis/v1/social/posts
openapi: 3.1.0
info:
  description: ''
  title: AIsa Social
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    aisa-social:
      description: ''
      title: AIsa Social
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: a9fc740fdb38cdb7982f6d8dc6cbf7dfab0140606ff4352f1e0528987fb4971a
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths: []
  x-aisa-document:
    composer_version: '31'
    facts_hash: a9fc740fdb38cdb7982f6d8dc6cbf7dfab0140606ff4352f1e0528987fb4971a
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    public_projection:
      version: '4'
      source_document_hash: sha256:5a53b40960b111fd810cd9e1a5f8bc943b040d77f6e3530f5e60d4fdd9eba38c
    document_hash: sha256:dda9cbba7e76b07aaa4eaec99fb573c530c1340544b873d38cd2ef68572b52e5
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: aisa-social
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/social/posts:
    post:
      summary: Create a post
      description: >-
        Creates a draft, a scheduled post, or publishes now. Drafts stay in AIsa
        until scheduled or published (201). With publishNow the post is saved
        and answered at once with 202 and status publishing; AIsa then publishes
        it in the background. The outcome arrives as the post.published,
        post.partial or post.failed webhook, or read GET /posts/{postId} until
        status leaves publishing (usually within seconds; video can take a
        minute or two). A failed post keeps its id with status failed and can be
        edited and published again. To wait for the platform instead, send
        wait=true or the header Prefer: wait: the answer is then 201 with the
        platform post ids, 207 when some platforms failed, 202 if the outcome is
        still unknown after about 100 seconds, or the error. A scheduled post
        returns 201, 207 when some platforms failed, or 202 while the outcome is
        pending. A replay of an idempotent request returns 200 with the original
        post (202 while it is still publishing). Each X (twitter or x) target
        supports a single X post, including scheduling with scheduledFor and
        timezone. X threads (threadItems), articles and link cards are not
        supported, including in drafts. Plain text URLs, replies and quotes
        remain supported subject to their field constraints.
      operationId: post_aisa_social_apis_v1_social_posts
      parameters:
        - description: >-
            true waits for the platform before answering (also Prefer: wait).
            Only changes publishNow requests; the default answers 202 publishing
            at once.
          in: query
          name: wait
          required: false
          schema:
            type: boolean
        - description: >-
            Strongly recommended. Reusing a key within 24 hours returns the
            original result; a different body returns 409
            idempotency_key_reused. Without a key the server derives one from
            the body in 10-minute buckets and echoes it in the response header.
          in: header
          name: Idempotency-Key
          required: false
          schema:
            maxLength: 191
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            example:
              content: Our spring collection is live.
              mediaItems:
                - mediaId: med_5Tc8Hn2Wq7Lx3Bv9Kd4Fr6
                  type: video
              platforms:
                - accountId: acc_7Hq2Lm9Xc4Rt8Vw1Nb6Ks3
                  platform: tiktok
                  platformSpecificData:
                    privacyLevel: PUBLIC_TO_EVERYONE
              profileId: prf_2Bn8Wq5Td1Yh7Kc3Mz9Lp4
              scheduledFor: '2026-11-20T15:00:00Z'
              timezone: America/New_York
            schema:
              additionalProperties: false
              properties:
                content:
                  type:
                    - string
                    - 'null'
                isDraft:
                  type:
                    - boolean
                    - 'null'
                mediaItems:
                  items:
                    additionalProperties: false
                    properties:
                      altText:
                        type:
                          - string
                          - 'null'
                      mediaId:
                        description: >-
                          A media id from POST /media/presign after the upload
                          finished. Set url or mediaId, not both.
                        pattern: ^med_[0-9A-Za-z]{22}$
                        type:
                          - string
                          - 'null'
                      thumbnailUrl:
                        type:
                          - string
                          - 'null'
                      title:
                        type:
                          - string
                          - 'null'
                      type:
                        description: image, video, gif or document (PDF; LinkedIn only).
                        type:
                          - string
                          - 'null'
                      url:
                        description: >-
                          Public https URL of the media file itself (not a page
                          that shows it). Set url or mediaId, not both. AIsa
                          fetches the start of the file before scheduling or
                          publishing and refuses a URL that does not answer, is
                          not on the public internet, serves another type than
                          type (for example an HTML page), or is larger than 500
                          MB; the platform fetches the file when it publishes.
                          Agents without file upload use this.
                        type:
                          - string
                          - 'null'
                    type:
                      - object
                      - 'null'
                  type:
                    - array
                    - 'null'
                platforms:
                  items:
                    additionalProperties: false
                    allOf:
                      - if:
                          properties:
                            platform:
                              enum:
                                - tiktok
                          required:
                            - platform
                        then:
                          properties:
                            platformSpecificData:
                              anyOf:
                                - type: 'null'
                                - additionalProperties: false
                                  description: >-
                                    Required to schedule or publish:
                                    privacyLevel, allowComment. Also required
                                    for video: allowDuet, allowStitch. Must be
                                    true, from the user:
                                    contentPreviewConfirmed,
                                    expressConsentGiven.
                                  properties:
                                    allowComment:
                                      description: >-
                                        Allow comments. Must be false when
                                        creator-info reports commentDisabled.
                                      type: boolean
                                    allowDuet:
                                      description: >-
                                        Allow duets; required for video. Must be
                                        false when creator-info reports
                                        duetDisabled.
                                      type: boolean
                                    allowStitch:
                                      description: >-
                                        Allow stitches; required for video. Must
                                        be false when creator-info reports
                                        stitchDisabled.
                                      type: boolean
                                    brandPartnerPromote:
                                      description: >-
                                        Also disclose a paid partnership; only
                                        alongside commercialContentType
                                        brand_organic.
                                      type: boolean
                                    commercialContentType:
                                      description: >-
                                        Commercial content disclosure; one of
                                        commercialContentTypes from
                                        creator-info. brand_content cannot be
                                        SELF_ONLY.
                                      enum:
                                        - none
                                        - brand_organic
                                        - brand_content
                                      type: string
                                    contentPreviewConfirmed:
                                      description: >-
                                        The user previewed exactly this content.
                                        Must be true and must come from the
                                        user.
                                      type: boolean
                                    description:
                                      description: Long caption for photo posts.
                                      maxLength: 4000
                                      minLength: 1
                                      type: string
                                    expressConsentGiven:
                                      description: >-
                                        The user consented to posting. Must be
                                        true and must come from the user.
                                      type: boolean
                                    isBrandOrganicPost:
                                      description: >-
                                        Also disclose the creator's own brand;
                                        only alongside commercialContentType
                                        brand_content.
                                      type: boolean
                                    mediaType:
                                      description: >-
                                        Overrides the media type derived from
                                        the media items.
                                      enum:
                                        - video
                                        - photo
                                      type: string
                                    privacyLevel:
                                      description: >-
                                        One of privacyLevelOptions from GET
                                        /accounts/{accountId}/tiktok/creator-info
                                        for this mediaType.
                                      maxLength: 64
                                      minLength: 1
                                      type: string
                                    videoMadeWithAi:
                                      description: Label the post as AI-generated.
                                      type: boolean
                                  type: object
                      - if:
                          properties:
                            platform:
                              enum:
                                - instagram
                          required:
                            - platform
                        then:
                          properties:
                            platformSpecificData:
                              anyOf:
                                - type: 'null'
                                - additionalProperties: false
                                  description: ''
                                  properties:
                                    collaborators:
                                      description: >-
                                        Up to 3 usernames to invite as
                                        collaborators (feed and Reels).
                                      items:
                                        maxLength: 64
                                        minLength: 1
                                        type: string
                                      maxItems: 3
                                      type: array
                                    contentType:
                                      description: story publishes a Story.
                                      enum:
                                        - story
                                      type: string
                                    firstComment:
                                      description: >-
                                        First comment added after publishing
                                        (not on Stories).
                                      maxLength: 2200
                                      minLength: 1
                                      type: string
                                    isAiGenerated:
                                      description: >-
                                        Label the post as containing
                                        AI-generated media.
                                      type: boolean
                                    shareToFeed:
                                      description: >-
                                        Reels only: also show the Reel on the
                                        main feed (default true).
                                      type: boolean
                                  type: object
                      - if:
                          properties:
                            platform:
                              enum:
                                - twitter
                                - x
                          required:
                            - platform
                        then:
                          properties:
                            platformSpecificData:
                              anyOf:
                                - type: 'null'
                                - additionalProperties: false
                                  description: >-
                                    Each X (twitter or x) target supports a
                                    single X post, including scheduling with
                                    scheduledFor and timezone. X threads
                                    (threadItems), articles and link cards are
                                    not supported, including in drafts. Plain
                                    text URLs, replies and quotes remain
                                    supported subject to their field
                                    constraints.
                                  properties:
                                    madeWithAi:
                                      description: >-
                                        Label the post as containing
                                        AI-generated media.
                                      type: boolean
                                    poll:
                                      additionalProperties: false
                                      description: A poll; cannot be combined with media.
                                      properties:
                                        duration_minutes:
                                          maximum: 10080
                                          minimum: 5
                                          type: integer
                                        options:
                                          items:
                                            maxLength: 25
                                            minLength: 1
                                            type: string
                                          maxItems: 4
                                          minItems: 2
                                          type: array
                                      required:
                                        - options
                                        - duration_minutes
                                      type: object
                                    quoteTweetId:
                                      description: >-
                                        Existing X post ID or full status URL to
                                        quote. Cannot be combined with media or
                                        poll. X restricts which posts this
                                        account may quote.
                                      maxLength: 2048
                                      minLength: 1
                                      type: string
                                    replySettings:
                                      description: >-
                                        Who can reply. Cannot be combined with
                                        replyToTweetId.
                                      enum:
                                        - following
                                        - mentionedUsers
                                        - subscribers
                                        - verified
                                      type: string
                                    replyToTweetId:
                                      description: >-
                                        Existing X post to reply to. Cannot be
                                        combined with replySettings. X restricts
                                        which posts this account may reply to.
                                      maxLength: 2048
                                      minLength: 1
                                      type: string
                                  type: object
                      - if:
                          properties:
                            platform:
                              enum:
                                - youtube
                          required:
                            - platform
                        then:
                          properties:
                            platformSpecificData:
                              anyOf:
                                - type: 'null'
                                - additionalProperties: false
                                  description: >-
                                    Required to schedule or publish:
                                    madeForKids.
                                  properties:
                                    containsSyntheticMedia:
                                      description: >-
                                        Label the video as containing synthetic
                                        (AI-generated) content.
                                      type: boolean
                                    firstComment:
                                      description: First comment posted after upload.
                                      maxLength: 10000
                                      minLength: 1
                                      type: string
                                    madeForKids:
                                      description: >-
                                        COPPA: whether the video is made for
                                        kids. Required, and must be the user's
                                        explicit choice.
                                      type: boolean
                                    title:
                                      description: Video title.
                                      maxLength: 100
                                      minLength: 1
                                      type: string
                                    visibility:
                                      description: Video visibility.
                                      enum:
                                        - public
                                        - private
                                        - unlisted
                                      type: string
                                  type: object
                      - if:
                          properties:
                            platform:
                              enum:
                                - facebook
                          required:
                            - platform
                        then:
                          properties:
                            platformSpecificData:
                              anyOf:
                                - type: 'null'
                                - additionalProperties: false
                                  description: ''
                                  properties:
                                    contentType:
                                      description: story or reel; omitted is a feed post.
                                      enum:
                                        - story
                                        - reel
                                      type: string
                                    firstComment:
                                      description: >-
                                        First comment added after publishing
                                        (not on stories).
                                      maxLength: 8000
                                      minLength: 1
                                      type: string
                                    pageId:
                                      description: >-
                                        Page to post to when the account manages
                                        several.
                                      maxLength: 64
                                      minLength: 1
                                      type: string
                                  type: object
                      - if:
                          properties:
                            platform:
                              enum:
                                - linkedin
                          required:
                            - platform
                        then:
                          properties:
                            platformSpecificData:
                              anyOf:
                                - type: 'null'
                                - additionalProperties: false
                                  description: >-
                                    linkedin accepts no platformSpecificData
                                    yet.
                                  properties: {}
                                  type: object
                      - if:
                          properties:
                            platform:
                              enum:
                                - pinterest
                          required:
                            - platform
                        then:
                          properties:
                            platformSpecificData:
                              anyOf:
                                - type: 'null'
                                - additionalProperties: false
                                  description: ''
                                  properties:
                                    isAiGenerated:
                                      description: Label the Pin as AI modified.
                                      type: boolean
                                  type: object
                      - if:
                          properties:
                            platform:
                              enum:
                                - threads
                          required:
                            - platform
                        then:
                          properties:
                            platformSpecificData:
                              anyOf:
                                - type: 'null'
                                - additionalProperties: false
                                  description: threads accepts no platformSpecificData yet.
                                  properties: {}
                                  type: object
                      - if:
                          properties:
                            platform:
                              enum:
                                - reddit
                          required:
                            - platform
                        then:
                          properties:
                            platformSpecificData:
                              anyOf:
                                - type: 'null'
                                - additionalProperties: false
                                  description: reddit accepts no platformSpecificData yet.
                                  properties: {}
                                  type: object
                    properties:
                      accountId:
                        pattern: ^acc_[0-9A-Za-z]{22}$
                        type:
                          - string
                          - 'null'
                      customContent:
                        type:
                          - string
                          - 'null'
                      customMedia:
                        items:
                          additionalProperties: false
                          properties:
                            altText:
                              type:
                                - string
                                - 'null'
                            mediaId:
                              description: >-
                                A media id from POST /media/presign after the
                                upload finished. Set url or mediaId, not both.
                              pattern: ^med_[0-9A-Za-z]{22}$
                              type:
                                - string
                                - 'null'
                            thumbnailUrl:
                              type:
                                - string
                                - 'null'
                            title:
                              type:
                                - string
                                - 'null'
                            type:
                              description: >-
                                image, video, gif or document (PDF; LinkedIn
                                only).
                              type:
                                - string
                                - 'null'
                            url:
                              description: >-
                                Public https URL of the media file itself (not a
                                page that shows it). Set url or mediaId, not
                                both. AIsa fetches the start of the file before
                                scheduling or publishing and refuses a URL that
                                does not answer, is not on the public internet,
                                serves another type than type (for example an
                                HTML page), or is larger than 500 MB; the
                                platform fetches the file when it publishes.
                                Agents without file upload use this.
                              type:
                                - string
                                - 'null'
                          type:
                            - object
                            - 'null'
                        type:
                          - array
                          - 'null'
                      platform:
                        enum:
                          - tiktok
                          - instagram
                          - twitter
                          - youtube
                          - facebook
                          - linkedin
                          - pinterest
                          - threads
                          - reddit
                          - x
                          - null
                        type:
                          - string
                          - 'null'
                      platformSpecificData:
                        additionalProperties: {}
                        description: >-
                          Platform options, checked against the platform
                          registry: unknown fields are rejected with
                          unknown_field. The accepted fields depend on platform;
                          fields required to schedule or publish are named in
                          each description.
                        type:
                          - object
                          - 'null'
                      scheduledFor:
                        format: date-time
                        type:
                          - string
                          - 'null'
                    type:
                      - object
                      - 'null'
                  type:
                    - array
                    - 'null'
                profileId:
                  pattern: ^prf_[0-9A-Za-z]{22}$
                  type:
                    - string
                    - 'null'
                publishNow:
                  type:
                    - boolean
                    - 'null'
                scheduledFor:
                  format: date-time
                  type:
                    - string
                    - 'null'
                timezone:
                  type:
                    - string
                    - 'null'
                title:
                  type:
                    - string
                    - 'null'
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  content:
                    type:
                      - string
                      - 'null'
                  createdAt:
                    format: date-time
                    type:
                      - string
                      - 'null'
                  id:
                    type:
                      - string
                      - 'null'
                  mediaItems:
                    items:
                      properties:
                        altText:
                          type:
                            - string
                            - 'null'
                        mediaId:
                          pattern: ^med_[0-9A-Za-z]{22}$
                          type:
                            - string
                            - 'null'
                        thumbnailUrl:
                          type:
                            - string
                            - 'null'
                        title:
                          type:
                            - string
                            - 'null'
                        type:
                          type:
                            - string
                            - 'null'
                        url:
                          type:
                            - string
                            - 'null'
                      type:
                        - object
                        - 'null'
                    type:
                      - array
                      - 'null'
                  notice:
                    type:
                      - string
                      - 'null'
                  platforms:
                    items:
                      properties:
                        accountId:
                          pattern: ^acc_[0-9A-Za-z]{22}$
                          type:
                            - string
                            - 'null'
                        customContent:
                          type:
                            - string
                            - 'null'
                        customMedia:
                          items:
                            properties:
                              altText:
                                type:
                                  - string
                                  - 'null'
                              mediaId:
                                pattern: ^med_[0-9A-Za-z]{22}$
                                type:
                                  - string
                                  - 'null'
                              thumbnailUrl:
                                type:
                                  - string
                                  - 'null'
                              title:
                                type:
                                  - string
                                  - 'null'
                              type:
                                type:
                                  - string
                                  - 'null'
                              url:
                                type:
                                  - string
                                  - 'null'
                            type:
                              - object
                              - 'null'
                          type:
                            - array
                            - 'null'
                        error:
                          properties:
                            category:
                              enum:
                                - platform_rate_limit
                                - platform_error
                                - system_error
                                - unknown
                                - auth_expired
                                - account_issue
                                - user_content
                                - user_abuse
                                - platform_rejected
                                - quota_exhausted
                                - insufficient_balance
                                - null
                              type:
                                - string
                                - 'null'
                            message:
                              type:
                                - string
                                - 'null'
                            platformError:
                              additionalProperties: {}
                              type:
                                - object
                                - 'null'
                            retryHint:
                              enum:
                                - never
                                - after_delay
                                - after_reconnect
                                - reconcile_first
                                - null
                              type:
                                - string
                                - 'null'
                            retryable:
                              type:
                                - boolean
                                - 'null'
                            source:
                              type:
                                - string
                                - 'null'
                          type:
                            - object
                            - 'null'
                        platform:
                          enum:
                            - tiktok
                            - instagram
                            - twitter
                            - youtube
                            - facebook
                            - linkedin
                            - pinterest
                            - threads
                            - reddit
                            - googlebusiness
                            - googleanalytics
                            - bluesky
                            - telegram
                            - slack
                            - snapchat
                            - hubspot
                            - microsoft
                            - null
                          type:
                            - string
                            - 'null'
                        platformPostId:
                          type:
                            - string
                            - 'null'
                        platformPostUrl:
                          type:
                            - string
                            - 'null'
                        platformSpecificData:
                          additionalProperties: {}
                          type:
                            - object
                            - 'null'
                        publishedAt:
                          format: date-time
                          type:
                            - string
                            - 'null'
                        removedAt:
                          format: date-time
                          type:
                            - string
                            - 'null'
                        scheduledFor:
                          format: date-time
                          type:
                            - string
                            - 'null'
                        status:
                          type:
                            - string
                            - 'null'
                      type:
                        - object
                        - 'null'
                    type:
                      - array
                      - 'null'
                  profileId:
                    pattern: ^prf_[0-9A-Za-z]{22}$
                    type:
                      - string
                      - 'null'
                  scheduledFor:
                    format: date-time
                    type:
                      - string
                      - 'null'
                  status:
                    type:
                      - string
                      - 'null'
                  timezone:
                    type:
                      - string
                      - 'null'
                  title:
                    type:
                      - string
                      - 'null'
                  updatedAt:
                    format: date-time
                    type:
                      - string
                      - 'null'
                type: object
          description: Success
        '201':
          content:
            application/json:
              schema:
                properties:
                  content:
                    type:
                      - string
                      - 'null'
                  createdAt:
                    format: date-time
                    type:
                      - string
                      - 'null'
                  id:
                    type:
                      - string
                      - 'null'
                  mediaItems:
                    items:
                      properties:
                        altText:
                          type:
                            - string
                            - 'null'
                        mediaId:
                          pattern: ^med_[0-9A-Za-z]{22}$
                          type:
                            - string
                            - 'null'
                        thumbnailUrl:
                          type:
                            - string
                            - 'null'
                        title:
                          type:
                            - string
                            - 'null'
                        type:
                          type:
                            - string
                            - 'null'
                        url:
                          type:
                            - string
                            - 'null'
                      type:
                        - object
                        - 'null'
                    type:
                      - array
                      - 'null'
                  notice:
                    type:
                      - string
                      - 'null'
                  platforms:
                    items:
                      properties:
                        accountId:
                          pattern: ^acc_[0-9A-Za-z]{22}$
                          type:
                            - string
                            - 'null'
                        customContent:
                          type:
                            - string
                            - 'null'
                        customMedia:
                          items:
                            properties:
                              altText:
                                type:
                                  - string
                                  - 'null'
                              mediaId:
                                pattern: ^med_[0-9A-Za-z]{22}$
                                type:
                                  - string
                                  - 'null'
                              thumbnailUrl:
                                type:
                                  - string
                                  - 'null'
                              title:
                                type:
                                  - string
                                  - 'null'
                              type:
                                type:
                                  - string
                                  - 'null'
                              url:
                                type:
                                  - string
                                  - 'null'
                            type:
                              - object
                              - 'null'
                          type:
                            - array
                            - 'null'
                        error:
                          properties:
                            category:
                              enum:
                                - platform_rate_limit
                                - platform_error
                                - system_error
                                - unknown
                                - auth_expired
                                - account_issue
                                - user_content
                                - user_abuse
                                - platform_rejected
                                - quota_exhausted
                                - insufficient_balance
                                - null
                              type:
                                - string
                                - 'null'
                            message:
                              type:
                                - string
                                - 'null'
                            platformError:
                              additionalProperties: {}
                              type:
                                - object
                                - 'null'
                            retryHint:
                              enum:
                                - never
                                - after_delay
                                - after_reconnect
                                - reconcile_first
                                - null
                              type:
                                - string
                                - 'null'
                            retryable:
                              type:
                                - boolean
                                - 'null'
                            source:
                              type:
                                - string
                                - 'null'
                          type:
                            - object
                            - 'null'
                        platform:
                          enum:
                            - tiktok
                            - instagram
                            - twitter
                            - youtube
                            - facebook
                            - linkedin
                            - pinterest
                            - threads
                            - reddit
                            - googlebusiness
                            - googleanalytics
                            - bluesky
                            - telegram
                            - slack
                            - snapchat
                            - hubspot
                            - microsoft
                            - null
                          type:
                            - string
                            - 'null'
                        platformPostId:
                          type:
                            - string
                            - 'null'
                        platformPostUrl:
                          type:
                            - string
                            - 'null'
                        platformSpecificData:
                          additionalProperties: {}
                          type:
                            - object
                            - 'null'
                        publishedAt:
                          format: date-time
                          type:
                            - string
                            - 'null'
                        removedAt:
                          format: date-time
                          type:
                            - string
                            - 'null'
                        scheduledFor:
                          format: date-time
                          type:
                            - string
                            - 'null'
                        status:
                          type:
                            - string
                            - 'null'
                      type:
                        - object
                        - 'null'
                    type:
                      - array
                      - 'null'
                  profileId:
                    pattern: ^prf_[0-9A-Za-z]{22}$
                    type:
                      - string
                      - 'null'
                  scheduledFor:
                    format: date-time
                    type:
                      - string
                      - 'null'
                  status:
                    type:
                      - string
                      - 'null'
                  timezone:
                    type:
                      - string
                      - 'null'
                  title:
                    type:
                      - string
                      - 'null'
                  updatedAt:
                    format: date-time
                    type:
                      - string
                      - 'null'
                type: object
          description: Success
        '202':
          content:
            application/json:
              schema:
                properties:
                  content:
                    type:
                      - string
                      - 'null'
                  createdAt:
                    format: date-time
                    type:
                      - string
                      - 'null'
                  id:
                    type:
                      - string
                      - 'null'
                  mediaItems:
                    items:
                      properties:
                        altText:
                          type:
                            - string
                            - 'null'
                        mediaId:
                          pattern: ^med_[0-9A-Za-z]{22}$
                          type:
                            - string
                            - 'null'
                        thumbnailUrl:
                          type:
                            - string
                            - 'null'
                        title:
                          type:
                            - string
                            - 'null'
                        type:
                          type:
                            - string
                            - 'null'
                        url:
                          type:
                            - string
                            - 'null'
                      type:
                        - object
                        - 'null'
                    type:
                      - array
                      - 'null'
                  notice:
                    type:
                      - string
                      - 'null'
                  platforms:
                    items:
                      properties:
                        accountId:
                          pattern: ^acc_[0-9A-Za-z]{22}$
                          type:
                            - string
                            - 'null'
                        customContent:
                          type:
                            - string
                            - 'null'
                        customMedia:
                          items:
                            properties:
                              altText:
                                type:
                                  - string
                                  - 'null'
                              mediaId:
                                pattern: ^med_[0-9A-Za-z]{22}$
                                type:
                                  - string
                                  - 'null'
                              thumbnailUrl:
                                type:
                                  - string
                                  - 'null'
                              title:
                                type:
                                  - string
                                  - 'null'
                              type:
                                type:
                                  - string
                                  - 'null'
                              url:
                                type:
                                  - string
                                  - 'null'
                            type:
                              - object
                              - 'null'
                          type:
                            - array
                            - 'null'
                        error:
                          properties:
                            category:
                              enum:
                                - platform_rate_limit
                                - platform_error
                                - system_error
                                - unknown
                                - auth_expired
                                - account_issue
                                - user_content
                                - user_abuse
                                - platform_rejected
                                - quota_exhausted
                                - insufficient_balance
                                - null
                              type:
                                - string
                                - 'null'
                            message:
                              type:
                                - string
                                - 'null'
                            platformError:
                              additionalProperties: {}
                              type:
                                - object
                                - 'null'
                            retryHint:
                              enum:
                                - never
                                - after_delay
                                - after_reconnect
                                - reconcile_first
                                - null
                              type:
                                - string
                                - 'null'
                            retryable:
                              type:
                                - boolean
                                - 'null'
                            source:
                              type:
                                - string
                                - 'null'
                          type:
                            - object
                            - 'null'
                        platform:
                          enum:
                            - tiktok
                            - instagram
                            - twitter
                            - youtube
                            - facebook
                            - linkedin
                            - pinterest
                            - threads
                            - reddit
                            - googlebusiness
                            - googleanalytics
                            - bluesky
                            - telegram
                            - slack
                            - snapchat
                            - hubspot
                            - microsoft
                            - null
                          type:
                            - string
                            - 'null'
                        platformPostId:
                          type:
                            - string
                            - 'null'
                        platformPostUrl:
                          type:
                            - string
                            - 'null'
                        platformSpecificData:
                          additionalProperties: {}
                          type:
                            - object
                            - 'null'
                        publishedAt:
                          format: date-time
                          type:
                            - string
                            - 'null'
                        removedAt:
                          format: date-time
                          type:
                            - string
                            - 'null'
                        scheduledFor:
                          format: date-time
                          type:
                            - string
                            - 'null'
                        status:
                          type:
                            - string
                            - 'null'
                      type:
                        - object
                        - 'null'
                    type:
                      - array
                      - 'null'
                  profileId:
                    pattern: ^prf_[0-9A-Za-z]{22}$
                    type:
                      - string
                      - 'null'
                  scheduledFor:
                    format: date-time
                    type:
                      - string
                      - 'null'
                  status:
                    type:
                      - string
                      - 'null'
                  timezone:
                    type:
                      - string
                      - 'null'
                  title:
                    type:
                      - string
                      - 'null'
                  updatedAt:
                    format: date-time
                    type:
                      - string
                      - 'null'
                type: object
          description: Accepted; the outcome is pending and arrives by webhook
        '207':
          content:
            application/json:
              schema:
                properties:
                  content:
                    type:
                      - string
                      - 'null'
                  createdAt:
                    format: date-time
                    type:
                      - string
                      - 'null'
                  id:
                    type:
                      - string
                      - 'null'
                  mediaItems:
                    items:
                      properties:
                        altText:
                          type:
                            - string
                            - 'null'
                        mediaId:
                          pattern: ^med_[0-9A-Za-z]{22}$
                          type:
                            - string
                            - 'null'
                        thumbnailUrl:
                          type:
                            - string
                            - 'null'
                        title:
                          type:
                            - string
                            - 'null'
                        type:
                          type:
                            - string
                            - 'null'
                        url:
                          type:
                            - string
                            - 'null'
                      type:
                        - object
                        - 'null'
                    type:
                      - array
                      - 'null'
                  notice:
                    type:
                      - string
                      - 'null'
                  platforms:
                    items:
                      properties:
                        accountId:
                          pattern: ^acc_[0-9A-Za-z]{22}$
                          type:
                            - string
                            - 'null'
                        customContent:
                          type:
                            - string
                            - 'null'
                        customMedia:
                          items:
                            properties:
                              altText:
                                type:
                                  - string
                                  - 'null'
                              mediaId:
                                pattern: ^med_[0-9A-Za-z]{22}$
                                type:
                                  - string
                                  - 'null'
                              thumbnailUrl:
                                type:
                                  - string
                                  - 'null'
                              title:
                                type:
                                  - string
                                  - 'null'
                              type:
                                type:
                                  - string
                                  - 'null'
                              url:
                                type:
                                  - string
                                  - 'null'
                            type:
                              - object
                              - 'null'
                          type:
                            - array
                            - 'null'
                        error:
                          properties:
                            category:
                              enum:
                                - platform_rate_limit
                                - platform_error
                                - system_error
                                - unknown
                                - auth_expired
                                - account_issue
                                - user_content
                                - user_abuse
                                - platform_rejected
                                - quota_exhausted
                                - insufficient_balance
                                - null
                              type:
                                - string
                                - 'null'
                            message:
                              type:
                                - string
                                - 'null'
                            platformError:
                              additionalProperties: {}
                              type:
                                - object
                                - 'null'
                            retryHint:
                              enum:
                                - never
                                - after_delay
                                - after_reconnect
                                - reconcile_first
                                - null
                              type:
                                - string
                                - 'null'
                            retryable:
                              type:
                                - boolean
                                - 'null'
                            source:
                              type:
                                - string
                                - 'null'
                          type:
                            - object
                            - 'null'
                        platform:
                          enum:
                            - tiktok
                            - instagram
                            - twitter
                            - youtube
                            - facebook
                            - linkedin
                            - pinterest
                            - threads
                            - reddit
                            - googlebusiness
                            - googleanalytics
                            - bluesky
                            - telegram
                            - slack
                            - snapchat
                            - hubspot
                            - microsoft
                            - null
                          type:
                            - string
                            - 'null'
                        platformPostId:
                          type:
                            - string
                            - 'null'
                        platformPostUrl:
                          type:
                            - string
                            - 'null'
                        platformSpecificData:
                          additionalProperties: {}
                          type:
                            - object
                            - 'null'
                        publishedAt:
                          format: date-time
                          type:
                            - string
                            - 'null'
                        removedAt:
                          format: date-time
                          type:
                            - string
                            - 'null'
                        scheduledFor:
                          format: date-time
                          type:
                            - string
                            - 'null'
                        status:
                          type:
                            - string
                            - 'null'
                      type:
                        - object
                        - 'null'
                    type:
                      - array
                      - 'null'
                  profileId:
                    pattern: ^prf_[0-9A-Za-z]{22}$
                    type:
                      - string
                      - 'null'
                  scheduledFor:
                    format: date-time
                    type:
                      - string
                      - 'null'
                  status:
                    type:
                      - string
                      - 'null'
                  timezone:
                    type:
                      - string
                      - 'null'
                  title:
                    type:
                      - string
                      - 'null'
                  updatedAt:
                    format: date-time
                    type:
                      - string
                      - 'null'
                type: object
          description: Some platforms failed; see each platform's status and error
        default:
          content:
            application/json:
              schema:
                properties:
                  error:
                    properties:
                      code:
                        type:
                          - string
                          - 'null'
                      details:
                        additionalProperties: {}
                        type:
                          - object
                          - 'null'
                      message:
                        type:
                          - string
                          - 'null'
                      param:
                        type:
                          - string
                          - 'null'
                      retryHint:
                        enum:
                          - never
                          - after_delay
                          - after_reconnect
                          - reconcile_first
                          - null
                        type:
                          - string
                          - 'null'
                      retryable:
                        type:
                          - boolean
                          - 'null'
                      type:
                        type:
                          - string
                          - 'null'
                    type:
                      - object
                      - 'null'
                type: object
          description: Error. The code field is stable; see the error catalog.
      x-codeSamples:
        - label: Reference example
          lang: text
          source: >-
            # Fixed reference example. Playground inputs do not update this
            sample.

            curl --request POST \
              --url https://api.aisa.one/apis/v1/social/posts \
              --header 'Authorization: Bearer <token>' \
              --header 'Content-Type: application/json' \
              --data '{
              "content": "Our spring collection is live.",
              "mediaItems": [
                {
                  "mediaId": "med_5Tc8Hn2Wq7Lx3Bv9Kd4Fr6",
                  "type": "video"
                }
              ],
              "platforms": [
                {
                  "accountId": "acc_7Hq2Lm9Xc4Rt8Vw1Nb6Ks3",
                  "platform": "tiktok",
                  "platformSpecificData": {
                    "privacyLevel": "PUBLIC_TO_EVERYONE"
                  }
                }
              ],
              "profileId": "prf_2Bn8Wq5Td1Yh7Kc3Mz9Lp4",
              "scheduledFor": "2026-11-20T15:00:00Z",
              "timezone": "America/New_York"
            }'
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.