Create a post template visible only to the caller (`private`) or to the caller's organization (`internal`).
create_post_templateCreate a Buffer post template visible privately or to your organization, with a title, body, and optional emoji for reuse.
Instructions
Create a post template visible only to the caller (private) or to
the caller's organization (internal).. Current Buffer GraphQL createPostTemplate. Requires explicit confirmation. Use upstream fields to bound data; provider errors are failures even with HTTP 200.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | The main content body of the template, may contain {{placeholders}}. | |
| emoji | No | The emoji associated with the template. | |
| title | No | The title of the template. | |
| 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. | |
| 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. | |
| visibility | No | Defaults to `private` if omitted. `public` is rejected — it is only available to official Buffer clients. | |
| description | No | A short user-facing description of the template. Nullable for backwards-compat at the GraphQL boundary — the resolver rejects null/empty values with a clear input error so the underlying storage contract (non-empty string) is still honored. | |
| 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 the template belongs to. The caller must be a member of this organization. For `internal` visibility this is the team scope; for `private` it's recorded on the template but does not affect visibility. |