Create a content item together with all of its channel-specific post variants in a single operation. Validation is all-or-nothing: if any variant fails validation, no content item and no variants are created. Variants that fail while being processed after creation are reported per channel in the failure payload; the content item and its variants are still created in that case. This API is an early preview and can change without a deprecation period.
create_content_itemCreate a content item together with its channel-specific post variants in one call, with all-or-nothing validation that blocks partial saves.
Instructions
Create a content item together with all of its channel-specific post variants in a single operation. Validation is all-or-nothing: if any variant fails validation, no content item and no variants are created. Variants that fail while being processed after creation are reported per channel in the failure payload; the content item and its variants are still created in that case.
This API is an early preview and can change without a deprecation period.. Current Buffer GraphQL createContentItem. Requires explicit confirmation. Use upstream fields to bound data; provider errors are failures even with HTTP 200.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| posts | No | The channel-specific post variants to create, one per channel. Provide at least one variant, and at most one variant per channel. | |
| title | No | Optional title describing what this piece of content is about. | |
| fields | No | Upstream field paths relative to the result, as in official CLI --fields. Default fields are bounded. Use items.id for connection nodes; pageInfo.endCursor for cursors. | |
| tagIds | No | Tags to apply to this content item. Omit to create it with no tags. | |
| account | No | Private account profile name. Selects credentials only; an organization default does not restrict provider token permissions. | |
| confirm | No | Must be true for this exact user-requested Buffer mutation. | |
| payload | No | Complete native input object instead of individual input fields. | |
| targetDate | No | Optional date indicating when this piece of content should go out. This is a planning aid only and does not schedule any posts. | |
| payload_file | No | Regular local JSON input file, no symlink, at most 1 MiB; cannot mix with payload or individual input fields. | |
| organizationId | No | Organization that owns the content item and all variants created in it. |