curl --request POST \ --url https://api.buttercms.com/v2/posts/ \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "title": "This is a blog post", "slug": "this-is-a-blog-post", "status": "published", "author": { "email": "your@author.com" }, "categories": [ "Recipes", "Meals" ], "tags": [ "Butter", "Sushi", "Really Good Recipes" ], "featured_image": "https://farm1.staticflickr.com/836/42903355654_8faa21171a_m_d.jpg", "featured_image_alt": "Featured image alt text example.", "body": "<h1>Butter</h1><p>I am so hungry!</p>", "summary": "This is a blog post summary.", "seo_title": "This is a blog post", "meta_description": "This is a blog post to test the API.", "upload_images_to_media_library": false}'
{ "status": "pending"}
Blog posts
Create Blog Post via Write API
Create a new blog post via the Write API with support for draft status, author assignment, category tagging, and media integration.
POST
/
posts
/
curl --request POST \ --url https://api.buttercms.com/v2/posts/ \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "title": "This is a blog post", "slug": "this-is-a-blog-post", "status": "published", "author": { "email": "your@author.com" }, "categories": [ "Recipes", "Meals" ], "tags": [ "Butter", "Sushi", "Really Good Recipes" ], "featured_image": "https://farm1.staticflickr.com/836/42903355654_8faa21171a_m_d.jpg", "featured_image_alt": "Featured image alt text example.", "body": "<h1>Butter</h1><p>I am so hungry!</p>", "summary": "This is a blog post summary.", "seo_title": "This is a blog post", "meta_description": "This is a blog post to test the API.", "upload_images_to_media_library": false}'
{ "status": "pending"}
Create a new blog post using the Write API with support for rich media, categorization, and automatic author assignment. This endpoint enables programmatic content creation for blogs, news sites, and content management workflows.Required Fields: Every blog post must include a title. slug is optional; if omitted, it is automatically generated from the title. The slug must be unique across all posts in your organization and will become part of the post’s permanent URL.Author Management: If specified, the author (by email address or slug) must already exist as a team member in your ButterCMS account. The Write API cannot invite new authors. If no author is specified, the post will be automatically assigned to your organization owner.Dynamic Categorization: Categories and tags can be provided as string arrays in your request. If you specify categories or tags that don’t exist yet, they will be automatically created in your account, making it easy to expand your content taxonomy organically.Media Integration: Featured images are always uploaded to your ButterCMS media library for reliable hosting. For images within the post body content, set upload_images_to_media_library=true to automatically download and host external images through ButterCMS’s CDN infrastructure.Localization: Use the locale query parameter to assign a locale to the post (e.g. ?locale=es). When omitted, the post is created in your organization’s default locale. To create a translated version of an existing post, use the Update endpoint with the desired locale instead.Publication & Scheduling: Blog posts default to draft unless status=published is provided. Scheduling future publication is not supported via the Write API; scheduling-related fields will result in validation errors.Asynchronous Processing: This endpoint returns 202 Accepted immediately to ensure fast response times for your application. The actual post creation, including media processing, category creation, and webhook notifications, happens in the background processing queue.
Authorizations
Authorization
string
header
required
Write-enabled API token required for creating content.
The API token you use for reading from the ButterCMS API will not allow you to create content in the API. For this you will need to use a different write-enabled token. Write API access is a paid add-on for Advanced and Professional plans, enabled from the Billing page of your account. It isn't offered on Basic plans.
Set the Authorization header to Token your_write_api_token. The ?auth_token= query parameter also works for write requests, but a header is safer because URLs are more likely to be logged.
Example: Authorization: Token abc123def456
Your write-enabled token should never be used anywhere it would be exposed, e.g. in client-side JavaScript.
Query Parameters
locale
string
Assign a locale to the new post (e.g. en, es). When omitted, the post is created in your organization's default locale.
Maximum string length: 10
Body
application/json
Request schema for creating a new blog post
title
string
required
The title of the blog post
Maximum string length: 200
Example:
"This is a blog post"
slug
string
The slug of the blog post (must be unique).
Auto-Generation: If not provided, the slug will be automatically generated from the title using unicode slugification. You can provide a custom slug or let the API generate one for you.
Maximum string length: 100
Example:
"this-is-a-blog-post"
status
enum<string>
default:draft
The status of the post. Defaults to 'draft'. Cannot be 'scheduled'.
Available options:
draft,
published
Example:
"published"
author
object
Author reference for blog posts. Author must exist in your account prior to POST.
You can specify the author either by email or by slug. If no author is specified, defaults to the organization owner. Prefer slug: it is always present in read responses, while email is null when author emails are hidden in your account settings (lookup by email still works either way).
Option 1
Option 2
Show child attributes
categories
string[]
Array of category names. Categories will be created if they don't exist.
Example:
["Recipes", "Meals"]
tags
string[]
Array of tag names. Tags will be created if they don't exist.
Example:
["Butter", "Sushi", "Really Good Recipes"]
featured_image
string<uri>
Can be a remote URL to an image.
The image will always be uploaded to the media library (the value of upload_images_to_media_library is ignored for featured images).
In case it contains any remote URLs to images, the upload_images_to_media_library flag controls the behavior.
Example:
"<h1>Butter</h1><p>I am so hungry!</p>"
summary
string
Plain-text summary of the blog post
Maximum string length: 2000
Example:
"This is a blog post summary."
seo_title
string
SEO title for HTML title tag
Maximum string length: 100
Example:
"This is a blog post"
meta_description
string
Meta description for SEO and social sharing
Example:
"This is a blog post to test the API."
upload_images_to_media_library
boolean
default:false
Defaults to false.
If set to true, any image URLs in the body property will be uploaded to the Butter Media Library and the original URL will be replaced with the media library URL.
Note: Featured images are always uploaded regardless of this setting.
Example:
false
Response
Accepted - Post Creation Initiated
A validated POST request will return a response with HTTP status code 202. Full post creation occurs asynchronously, meaning a successfully created post may not show immediately.
Posts are validated prior to returning the API response but it is also possible that post creation may fail after returning a 202 response. If this happens please contact support.
Media failures are silent: an unsupported featured_image file type, a video URL on a plan without video support, or an SVG containing <script> cannot be rejected synchronously, because the 202 has already been sent by the time the image is downloaded. If one of these checks fails during background processing, featured_image is set to a broken-image placeholder URL instead of raising an error.
Success response for blog post creation (202 Accepted)
status
enum<string>
Indicates that the blog post creation is being processed asynchronously
Available options:
pending
Example:
"pending"
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ButterCMS Docs","colors":{"primary":"#0505e5","light":"#5050ff","dark":"#0000a0"},"logo":{"light":"https://cdn.buttercms.com/nDD3LeMXQxiR9aJRpRLE","dark":"https://cdn.buttercms.com/nDD3LeMXQxiR9aJRpRLE","href":"https://buttercms.com"},"favicon":"https://mintcdn.com/buttercms/ADHjuou5Js2KRBnv/favicon.svg?fit=max\u0026auto=format\u0026n=ADHjuou5Js2KRBnv\u0026q=85\u0026s=719e07eca4e3b3446e3ba6621a6095f0","navbar":{"links":[{"href":"https://buttercms.com/sales/","label":"Request a Demo"}],"primary":{"type":"button","label":"Start for Free","href":"https://app.buttercms.com/join/"}},"seo":{"metatags":{"canonical":"https://buttercms.com/docs","robots":"noindex, nofollow"}},"integrations":{"gtm":{"tagId":"GTM-W7DPCL97"}},"interaction":{"drilldown":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"buttercms","hasAudioNarration":false,"actualSubdomain":"buttercms","customDomains":["buttercms.com"],"gitSource":{"type":"github","owner":"buttercms","repo":"buttercms","deployBranch":"master","contentDirectory":"unified-docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6afd6c61c83bd67fa977217d","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"Frameworks","count":79},{"language":"default","tag":"Build your app","count":74},{"language":"default","tag":"Create content","count":74},{"language":"default","tag":"API Reference","count":63},{"language":"default","tag":"Creating and editing content","count":24},{"language":"default","tag":"Core concepts","count":23},{"language":"default","tag":"Starter projects","count":21},{"language":"default","tag":"All starter projects","count":20},{"language":"default","tag":"Webhooks API","count":19},{"language":"default","tag":"How-to recipes","count":18}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".mermaid .node rect,.mermaid .node circle,.mermaid .node ellipse,.mermaid .node polygon{fill:#f0f4ff!important;stroke:#0505e5!important;stroke-width:2px!important}.mermaid .node .label,.mermaid .node text,.mermaid .nodeLabel{font-family:'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif!important;fill:#000022!important;font-size:14px!important;font-weight:500!important}.mermaid .cluster rect{fill:#f8fafc!important;stroke:#5050ff!important;stroke-width:2px!important;rx:8px!important;ry:8px!important}.mermaid .cluster text,.mermaid .cluster .nodeLabel{fill:#0505e5!important;font-weight:600!important;font-size:15px!important}.mermaid .edgePath .path,.mermaid .flowchart-link{stroke:#5050ff!important;stroke-width:2px!important}.mermaid .arrowheadPath,.mermaid marker path{fill:#5050ff!important;stroke:#5050ff!important}.mermaid .edgeLabel,.mermaid .edgeLabel rect{background-color:#ffffff!important;fill:#ffffff!important}.mermaid .edgeLabel p,.mermaid .edgeLabel>p,.mermaid .edgeLabel div,.mermaid .edgeLabel>div{background:#f8fafc!important}.mermaid .edgeLabel text,.mermaid .edgeLabel .label{fill:#000022!important;font-size:12px!important}.mermaid .actor{fill:#f0f4ff!important;stroke:#0505e5!important;stroke-width:2px!important}.mermaid .actor-line{stroke:#5050ff!important;stroke-width:1px!important}.mermaid text.actor{fill:#000022!important;font-weight:600!important}.mermaid .messageText{fill:#000022!important;font-size:13px!important}.mermaid .messageLine0,.mermaid .messageLine1{stroke:#5050ff!important;stroke-width:1.5px!important}.mermaid .note{fill:#fbe700!important;stroke:#c4b800!important}.mermaid .noteText{fill:#000022!important}.mermaid .statediagram-state rect{fill:#f0f4ff!important;stroke:#0505e5!important;stroke-width:2px!important;rx:6px!important}.mermaid .state-start,.mermaid .state-end{fill:#0505e5!important}.mermaid .pieTitleText{fill:#0505e5!important;font-weight:600!important;font-size:16px!important}.mermaid .classGroup rect{fill:#f0f4ff!important;stroke:#0505e5!important}.mermaid .classGroup text{fill:#000022!important}.mermaid .er.entityBox{fill:#f0f4ff!important;stroke:#0505e5!important}.mermaid .section{fill:#f0f4ff!important}.mermaid .task{fill:#5050ff!important;stroke:#0505e5!important}.mermaid .taskText{fill:#ffffff!important}.mermaid,pre:has(.mermaid),div:has(>.mermaid){max-width:100%!important;min-width:100%!important;padding:1.5rem!important}.mermaid svg{width:100%!important;max-width:100%!important;height:auto!important;min-height:200px!important;max-height:800px!important}.dark .mermaid .edgeLabel p,.dark .mermaid .edgeLabel>p,.dark .mermaid .edgeLabel div,.dark .mermaid .edgeLabel>div{background:#1a1a2e!important}.dark .mermaid{background:#1a1a2e!important}.dark .mermaid .node rect,.dark .mermaid .node circle,.dark .mermaid .node ellipse{fill:#2a2a4a!important;stroke:#5050ff!important}.dark .mermaid .node text,.dark .mermaid .nodeLabel{fill:#e0e0e0!important}.dark .mermaid .cluster rect{fill:#1e1e3a!important;stroke:#5050ff!important}.dark .mermaid .cluster text{fill:#8080ff!important}.dark .mermaid .edgePath .path,.dark .mermaid .flowchart-link{stroke:#7070ff!important}.dark .mermaid .arrowheadPath{fill:#7070ff!important}.dark .mermaid .edgeLabel rect{fill:#1a1a2e!important}.dark .mermaid .edgeLabel text{fill:#e0e0e0!important}.diagram-modal-toggle{display:none}.diagram-container{position:relative}.diagram-preview{position:relative;display:block;cursor:zoom-in;transition:opacity 0.2s ease}.diagram-preview:hover{opacity:0.95}.diagram-expand-hint{position:absolute;top:12px;right:12px;background:rgba(255, 255, 255, 0.95);color:#0505e5;padding:6px 12px;border-radius:6px;font-size:12px;font-weight:500;opacity:0;transition:opacity 0.2s ease;pointer-events:none;box-shadow:0 2px 8px rgba(0, 0, 0, 0.15);z-index:10}.diagram-preview:hover .diagram-expand-hint{opacity:1}.dark .diagram-expand-hint{background:rgba(30, 30, 46, 0.95);color:#8080ff}.diagram-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.9);display:none;align-items:center;justify-content:center;z-index:9999;padding:2rem;cursor:zoom-out}.diagram-modal-toggle:checked~.diagram-modal-overlay{display:flex;animation:fadeIn 0.2s ease}.diagram-modal-content{max-width:90vw;max-height:90vh;background:#ffffff;border-radius:12px;padding:2rem;box-shadow:0 20px 60px rgba(0, 0, 0, 0.5);cursor:default;overflow:auto}.dark .diagram-modal-content{background:#1a1a2e}.diagram-modal-toggle:checked~*{overflow:hidden}.mermaid-lightbox-wrapper{position:relative;cursor:zoom-in;transition:all 0.2s ease}.mermaid-lightbox-wrapper:hover{opacity:0.95}.mermaid-expand-icon{position:absolute;top:12px;right:12px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:rgba(255, 255, 255, 0.95);border-radius:6px;box-shadow:0 2px 8px rgba(0, 0, 0, 0.15);opacity:0;transition:opacity 0.2s ease, transform 0.2s ease;pointer-events:none;z-index:10}.mermaid-lightbox-wrapper:hover .mermaid-expand-icon{opacity:1;transform:scale(1.05)}.mermaid-expand-icon svg{width:18px;height:18px;color:#0505e5}.dark .mermaid-expand-icon{background:rgba(30, 30, 46, 0.95)}.dark .mermaid-expand-icon svg{color:#8080ff}.mermaid-lightbox-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.9);display:flex;align-items:center;justify-content:center;z-index:9999;padding:2rem;animation:fadeIn 0.2s ease;cursor:zoom-out}@keyframes fadeIn{from{opacity:0}to{opacity:1}}.mermaid-lightbox-content{max-width:90vw;max-height:90vh;background:#ffffff;border-radius:12px;padding:2rem;box-shadow:0 20px 60px rgba(0, 0, 0, 0.5);cursor:default;overflow:auto}.dark .mermaid-lightbox-content{background:#1a1a2e}.mermaid-lightbox-content .mermaid{padding:0!important}.mermaid-lightbox-content .mermaid svg{max-height:85vh!important;width:auto!important;max-width:85vw!important}.mermaid-lightbox-close{position:fixed;top:1.5rem;right:1.5rem;width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:rgba(255, 255, 255, 0.95);border:none;border-radius:50%;cursor:pointer;box-shadow:0 4px 12px rgba(0, 0, 0, 0.3);transition:all 0.2s ease;z-index:10000}.mermaid-lightbox-close:hover{transform:scale(1.1);background:#ffffff}.mermaid-lightbox-close svg{width:24px;height:24px;color:#000022}.dark .mermaid-lightbox-close{background:rgba(30, 30, 46, 0.95)}.dark .mermaid-lightbox-close:hover{background:#1e1e3a}.dark .mermaid-lightbox-close svg{color:#e0e0e0}.mermaid-scroll-zoom{overflow:auto;max-height:500px;border:1px solid #e5e7eb;border-radius:12px;background:#ffffff;margin:1rem 0;cursor:grab;position:relative}.mermaid-scroll-zoom:active{cursor:grabbing}.dark .mermaid-scroll-zoom{border-color:#374151;background:#1a1a2e}.mermaid-scroll-zoom .mermaid{padding:1.5rem!important;min-width:100%;width:max-content}.mermaid-scroll-zoom .mermaid svg{min-width:120%;max-width:none!important;max-height:none!important;height:auto!important;transform-origin:top left}.mermaid-zoom-hint{text-align:center;font-size:12px;color:#6b7280;margin:0.5rem 0 1rem 0;font-style:italic}.dark .mermaid-zoom-hint{color:#9ca3af}.mermaid-scroll-zoom::-webkit-scrollbar{width:8px;height:8px}.mermaid-scroll-zoom::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.mermaid-scroll-zoom::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.mermaid-scroll-zoom::-webkit-scrollbar-thumb:hover{background:#a1a1a1}.dark .mermaid-scroll-zoom::-webkit-scrollbar-track{background:#2a2a4a}.dark .mermaid-scroll-zoom::-webkit-scrollbar-thumb{background:#4a4a6a}.dark .mermaid-scroll-zoom::-webkit-scrollbar-thumb:hover{background:#5a5a7a}@media (max-width: 768px){.mermaid-lightbox-overlay{padding:1rem}.mermaid-lightbox-content{max-width:95vw;max-height:95vh;padding:1rem}.mermaid-lightbox-content .mermaid svg{max-height:90vh!important;max-width:90vw!important}.mermaid-lightbox-close{width:40px;height:40px;top:1rem;right:1rem}.mermaid-lightbox-close svg{width:20px;height:20px}.mermaid-expand-icon{opacity:0.8}}"}]}
{"page":{"pagePath":"api-reference/blog-posts/create-blog-post-via-write-api","slug":"/api-reference/blog-posts/create-blog-post-via-write-api","pageMetadata":{"title":"Create Blog Post via Write API","description":"Create a new blog post via the Write API with support for draft status, author assignment, category tagging, and media integration.","deprecated":null,"version":null,"openapi":"/api/openapi/write_api.yaml post /posts/","href":"/api-reference/blog-posts/create-blog-post-via-write-api","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a new blog post via the Write API with support for draft status, author assignment, category tagging, and media integration.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components};return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Create a new blog post using the Write API with support for rich media, categorization, and automatic author assignment. This endpoint enables programmatic content creation for blogs, news sites, and content management workflows.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Required Fields`}),`: Every blog post must include a `,_jsx(_components.code,{children:`title`}),`. `,_jsx(_components.code,{children:`slug`}),` is optional; if omitted, it is automatically generated from the title. The slug must be unique across all posts in your organization and will become part of the post’s permanent URL.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Author Management`}),`: If specified, the author (by email address or slug) must already exist as a team member in your ButterCMS account. The Write API cannot invite new authors. If no author is specified, the post will be automatically assigned to your organization owner.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Dynamic Categorization`}),`: Categories and tags can be provided as string arrays in your request. If you specify categories or tags that don’t exist yet, they will be automatically created in your account, making it easy to expand your content taxonomy organically.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Media Integration`}),`: Featured images are always uploaded to your ButterCMS media library for reliable hosting. For images within the post body content, set `,_jsx(_components.code,{children:`upload_images_to_media_library=true`}),` to automatically download and host external images through ButterCMS’s CDN infrastructure.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Localization`}),`: Use the `,_jsx(_components.code,{children:`locale`}),` query parameter to assign a locale to the post (e.g. `,_jsx(_components.code,{children:`?locale=es`}),`). When omitted, the post is created in your organization’s default locale. To create a translated version of an existing post, use the Update endpoint with the desired locale instead.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Publication \u0026 Scheduling`}),`: Blog posts default to `,_jsx(_components.code,{children:`draft`}),` unless `,_jsx(_components.code,{children:`status=published`}),` is provided. Scheduling future publication is not supported via the Write API; scheduling-related fields will result in validation errors.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Asynchronous Processing`}),`: This endpoint returns `,_jsx(_components.code,{children:`202 Accepted`}),` immediately to ensure fast response times for your application. The actual post creation, including media processing, category creation, and webhook notifications, happens in the background processing queue.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Blog Post via Write API","description":"Create a new blog post via the Write API with support for draft status, author assignment, category tagging, and media integration.","deprecated":null,"version":null,"openapi":"/api/openapi/write_api.yaml post /posts/","href":"/api-reference/blog-posts/create-blog-post-via-write-api","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Blog posts"],"summary":"Create Blog Post via Write API","description":"Create a new blog post via the Write API with support for draft status, author assignment, category tagging, and media integration.","x-mint":{"metadata":{"description":"Create a new blog post via the Write API with support for draft status, author assignment, category tagging, and media integration."},"content":"Create a new blog post using the Write API with support for rich media, categorization, and automatic author assignment. This endpoint enables programmatic content creation for blogs, news sites, and content management workflows.\n\n**Required Fields**: Every blog post must include a `title`. `slug` is optional; if omitted, it is automatically generated from the title. The slug must be unique across all posts in your organization and will become part of the post's permanent URL.\n\n**Author Management**: If specified, the author (by email address or slug) must already exist as a team member in your ButterCMS account. The Write API cannot invite new authors. If no author is specified, the post will be automatically assigned to your organization owner.\n\n**Dynamic Categorization**: Categories and tags can be provided as string arrays in your request. If you specify categories or tags that don't exist yet, they will be automatically created in your account, making it easy to expand your content taxonomy organically.\n\n**Media Integration**: Featured images are always uploaded to your ButterCMS media library for reliable hosting. For images within the post body content, set `upload_images_to_media_library=true` to automatically download and host external images through ButterCMS's CDN infrastructure.\n\n**Localization**: Use the `locale` query parameter to assign a locale to the post (e.g. `?locale=es`). When omitted, the post is created in your organization's default locale. To create a translated version of an existing post, use the Update endpoint with the desired locale instead.\n\n**Publication \u0026 Scheduling**: Blog posts default to `draft` unless `status=published` is provided. Scheduling future publication is not supported via the Write API; scheduling-related fields will result in validation errors.\n\n**Asynchronous Processing**: This endpoint returns `202 Accepted` immediately to ensure fast response times for your application. The actual post creation, including media processing, category creation, and webhook notifications, happens in the background processing queue.\n"},"operationId":"createBlogPost","security":["caabafee-7bd9-428b-b226-8627f9fde331"],"parameters":["301fab63-72ef-4378-a7da-e28703666da0"],"requestBody":"521cb28e-37c9-4745-b9ef-ba13aa4dbfd9","responses":{"202":"5aedbba5-a1f4-4694-80b9-9188ae0c209b","400":"564d9294-53c2-486b-8ce6-faf653fe0d9e","401":"9d5abb7f-f1b9-41f1-86b1-ddcfc4dd6d41","403":"2e0dff2d-e7e4-4fed-9599-bcda51a3e967","404":"cbf526f1-ac41-4822-a3b6-adcbd26e33ae"},"method":"post","type":"path","servers":["c921ebcd-b676-4237-be34-0dc3bbeee33d"],"path":"/posts/","baseUrlOptions":["https://api.buttercms.com/v2"],"title":"Create Blog Post via Write API","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"301fab63-72ef-4378-a7da-e28703666da0":{"name":"locale","in":"query","description":"Assign a locale to the new post (e.g. `en`, `es`). When omitted, the post is created in your organization's default locale.\n","required":false,"schema":{"type":"string","maxLength":10,"isRequired":false,"description":"Assign a locale to the new post (e.g. `en`, `es`). When omitted, the post is created in your organization's default locale.\n","uniqueKey":"","typeLabel":"string"},"example":"es"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Request schema for creating a new blog post","required":["title"],"properties":{"title":{"type":"string","description":"The title of the blog post","maxLength":200,"example":"This is a blog post","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"slug":{"type":"string","description":"The slug of the blog post (must be unique).\n\n**Auto-Generation**: If not provided, the slug will be automatically generated from the title using unicode slugification. You can provide a custom slug or let the API generate one for you.\n","maxLength":100,"example":"this-is-a-blog-post","uniqueKey":"slug","typeLabel":"string"},"status":{"type":"string","description":"The status of the post. Defaults to 'draft'. Cannot be 'scheduled'.","enum":["draft","published"],"default":"draft","example":"published","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"author":{"oneOf":[{"type":"object","description":"Author reference for blog posts. Author must exist in your account prior to POST.\n\nYou can specify the author either by email or by slug. If no author is specified, defaults to the organization owner. Prefer `slug`: it is always present in read responses, while `email` is `null` when author emails are hidden in your account settings (lookup by email still works either way).\n","required":["email"],"properties":{"email":{"type":"string","format":"email","description":"Email address of the existing author","example":"your@author.com","isRequired":true,"uniqueKey":"author.oneOf.0.email","typeLabel":"string\u003cemail>"}},"uniqueKey":"author.oneOf.0","typeLabel":"object"},{"type":"object","description":"Author reference for blog posts. Author must exist in your account prior to POST.\n\nYou can specify the author either by email or by slug. If no author is specified, defaults to the organization owner. Prefer `slug`: it is always present in read responses, while `email` is `null` when author emails are hidden in your account settings (lookup by email still works either way).\n","required":["slug"],"properties":{"slug":{"type":"string","description":"Slug of the existing author","example":"firstname-lastname","isRequired":true,"uniqueKey":"author.oneOf.1.slug","typeLabel":"string"}},"uniqueKey":"author.oneOf.1","typeLabel":"object"}],"uniqueKey":"author","typeLabel":"object"},"categories":{"type":"array","description":"Array of category names. Categories will be created if they don't exist.","items":{"type":"string","uniqueKey":"categories.items.[INDEX]","typeLabel":"string"},"example":["Recipes","Meals"],"uniqueKey":"categories","typeLabel":"string[]"},"tags":{"type":"array","description":"Array of tag names. Tags will be created if they don't exist.","items":{"type":"string","uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"example":["Butter","Sushi","Really Good Recipes"],"uniqueKey":"tags","typeLabel":"string[]"},"featured_image":{"type":"string","format":"uri","description":"Can be a remote URL to an image.\n\nThe image will always be uploaded to the media library (the value of `upload_images_to_media_library` is ignored for featured images).\n","example":"https://farm1.staticflickr.com/836/42903355654_8faa21171a_m_d.jpg","uniqueKey":"featured_image","typeLabel":"string\u003curi>"},"featured_image_alt":{"type":"string","description":"Alt text for the featured image","maxLength":250,"example":"Featured image alt text example.","uniqueKey":"featured_image_alt","typeLabel":"string"},"body":{"type":"string","description":"Should be a string of escaped HTML.\n\nIn case it contains any remote URLs to images, the `upload_images_to_media_library` flag controls the behavior.\n","example":"\u003ch1>Butter\u003c/h1>\u003cp>I am so hungry!\u003c/p>","uniqueKey":"body","typeLabel":"string"},"summary":{"type":"string","description":"Plain-text summary of the blog post","maxLength":2000,"example":"This is a blog post summary.","uniqueKey":"summary","typeLabel":"string"},"seo_title":{"type":"string","description":"SEO title for HTML title tag","maxLength":100,"example":"This is a blog post","uniqueKey":"seo_title","typeLabel":"string"},"meta_description":{"type":"string","description":"Meta description for SEO and social sharing","example":"This is a blog post to test the API.","uniqueKey":"meta_description","typeLabel":"string"},"upload_images_to_media_library":{"type":"boolean","description":"Defaults to `false`.\n\nIf set to `true`, any image URLs in the `body` property will be uploaded to the Butter Media Library and the original URL will be replaced with the media library URL.\n\n**Note**: Featured images are always uploaded regardless of this setting.\n","default":false,"example":false,"uniqueKey":"upload_images_to_media_library","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"complete_blog_post":{"title":"complete_blog_post","summary":"Complete blog post with all fields","description":"Replace `your@author.com` with the email of an existing team member. The Write API returns a validation error for an author that doesn't exist; it cannot create one. Omit `author` entirely to default to the organization owner.","value":{"title":"This is a blog post","slug":"this-is-a-blog-post","status":"published","author":{"email":"your@author.com"},"categories":["Recipes","Meals"],"tags":["Butter","Sushi","Really Good Recipes"],"featured_image":"https://farm1.staticflickr.com/836/42903355654_8faa21171a_m_d.jpg","featured_image_alt":"Featured image alt text example.","body":"\u003ch1>Butter\u003c/h1>\u003cp>I am so hungry!\u003c/p>","summary":"This is a blog post summary.","seo_title":"This is a blog post","meta_description":"This is a blog post to test the API.","upload_images_to_media_library":false}},"minimal_blog_post":{"title":"minimal_blog_post","summary":"Minimal blog post with required fields only","value":{"title":"My First Blog Post","slug":"my-first-blog-post"}},"draft_with_author_slug":{"title":"draft_with_author_slug","summary":"Draft post with author specified by slug","value":{"title":"Draft Post Example","slug":"draft-post-example","author":{"slug":"firstname-lastname"},"body":"\u003cp>This is a draft post.\u003c/p>","summary":"A draft post example."}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"5aedbba5-a1f4-4694-80b9-9188ae0c209b":{"description":"**Accepted - Post Creation Initiated**\n\nA validated POST request will return a response with HTTP status code 202. Full post creation occurs asynchronously, meaning a successfully created post may not show immediately.\n\nPosts are validated prior to returning the API response but it is also possible that post creation may fail after returning a 202 response. If this happens please contact support.\n\n**Media failures are silent**: an unsupported `featured_image` file type, a video URL on a plan without video support, or an SVG containing `\u003cscript>` cannot be rejected synchronously, because the `202` has already been sent by the time the image is downloaded. If one of these checks fails during background processing, `featured_image` is set to a broken-image placeholder URL instead of raising an error.\n","content":{"application/json":{"schema":{"type":"object","description":"Success response for blog post creation (202 Accepted)","properties":{"status":{"type":"string","enum":["pending"],"description":"Indicates that the blog post creation is being processed asynchronously","example":"pending","uniqueKey":"status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"pending"},"examples":{"Example":{"title":"Example","value":{"status":"pending"}}},"exampleType":"examples"}},"exampleType":"examples"},"564d9294-53c2-486b-8ce6-faf653fe0d9e":{"description":"**Bad Request - Validation Error**\n\nThe API will return HTTP status code 400 if your data does not pass the initial validation stage. This may happen if:\n\n- You are missing the required `title` field\n- The slug is already in use\n- The remote URL for a media field returns a 404\n- You attempt to schedule a blog post (not supported)\n- Invalid author email or slug provided\n\nError explanations will be returned in a single JSON array.\n","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"Response for validation errors (400 Bad Request). The shape varies by endpoint and check: a field-keyed object whose values are arrays of messages or single message strings, a bare array of messages, or a general `error` message.","example":{"title":["This field is required."],"slug":"You must specify a page slug."},"additionalProperties":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"oneOf.0.additionalProperties.oneOf.0.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.0.additionalProperties.oneOf.0","typeLabel":"string[]"},{"type":"string","uniqueKey":"oneOf.0.additionalProperties.oneOf.1","typeLabel":"string"}],"uniqueKey":"oneOf.0.additionalProperties","typeLabel":"string[] | string"},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"Response for validation errors (400 Bad Request). The shape varies by endpoint and check: a field-keyed object whose values are arrays of messages or single message strings, a bare array of messages, or a general `error` message.","example":["'field1_key' is required"],"uniqueKey":"oneOf.1","typeLabel":"string[]"},{"type":"object","description":"Response for validation errors (400 Bad Request). The shape varies by endpoint and check: a field-keyed object whose values are arrays of messages or single message strings, a bare array of messages, or a general `error` message.","example":{"error":"Cannot create a new Collection Item. Collection Item Limit Reached."},"properties":{"error":{"type":"string","description":"Error message","uniqueKey":"oneOf.2.error","typeLabel":"string"}},"uniqueKey":"oneOf.2","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object · string[] · object"},"examples":{"missing_title":{"title":"missing_title","summary":"Missing required title field","value":{"title":["This field is required."]}},"duplicate_slug":{"title":"duplicate_slug","summary":"Slug already exists","value":{"slug":["The slug 'my-post' is not unique!"]}},"scheduling_not_supported":{"title":"scheduling_not_supported","summary":"Scheduling attempt during creation","value":{"scheduled":"Scheduling a blog post during creation is not supported by the write API at this time."}},"scheduling_status_not_supported":{"title":"scheduling_status_not_supported","summary":"Scheduled status not supported","value":{"status field":"Scheduling a blog post during creation is not supported by the write API at this time."}},"invalid_featured_image":{"title":"invalid_featured_image","summary":"Invalid featured image URL","value":{"featured_image":["The resource 'https://example.com/missing.jpg' could not be reached."]}},"invalid_author_email":{"title":"invalid_author_email","summary":"Author with email not found","value":{"author":["nonexistent@email.com author does not exist. Please invite them to your account https://buttercms.com/team/people/"]}},"invalid_author_slug":{"title":"invalid_author_slug","summary":"Author with slug not found","value":{"author":["nonexistent-author author does not exist. Please invite them to your account https://buttercms.com/team/people/"]}}},"exampleType":"examples"}},"exampleType":"examples"},"9d5abb7f-f1b9-41f1-86b1-ddcfc4dd6d41":{"description":"**Unauthorized - Missing or Invalid API Token**\n\nNo token was sent, or the token isn't valid. A valid Read API token on a write request returns `403` with `Your API token does not allow writes.` instead.\n","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","description":"Error message describing what went wrong","example":"Authentication credentials were not provided.","uniqueKey":"detail","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"missing_token":{"title":"missing_token","summary":"Missing API token","value":{"detail":"Authentication credentials were not provided."}},"invalid_token":{"title":"invalid_token","summary":"Invalid API token","value":{"detail":"Invalid token."}}},"exampleType":"examples"}},"exampleType":"examples"},"2e0dff2d-e7e4-4fed-9599-bcda51a3e967":{"description":"**Forbidden - Blog Post Limit Exceeded or Insufficient Permissions**\n\nThis can happen when:\n- Your organization has reached the blog post limit for your plan\n- Your API token does not have write permissions\n","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"detail":{"type":"string","description":"Error message describing what went wrong","example":"Authentication credentials were not provided.","uniqueKey":"oneOf.0.detail","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","properties":{"error":{"type":"string","description":"Error message when subscription plan limits are exceeded","example":"Page creation limit is over","uniqueKey":"oneOf.1.error","typeLabel":"string"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"blog_post_limit":{"title":"blog_post_limit","summary":"Blog post limit exceeded","value":{"error":"Blog post limit is over"}},"write_permission_denied":{"title":"write_permission_denied","summary":"API token lacks write permissions","value":{"detail":"Your API token does not allow writes."}}},"exampleType":"examples"}},"exampleType":"examples"},"cbf526f1-ac41-4822-a3b6-adcbd26e33ae":{"description":"**Not Found - Organization Blog Missing or Invalid Pagination**\n\n- Could not find this organization's blog. This is a rare error that typically indicates a configuration issue.\n- Invalid pagination parameters (page number out of range).\n","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","description":"Error message describing what went wrong","example":"Authentication credentials were not provided.","uniqueKey":"detail","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"blog_missing":{"title":"blog_missing","summary":"Organization blog missing","value":{"detail":"Could not find this organization's blog"}},"invalid_pagination":{"title":"invalid_pagination","summary":"Invalid pagination","value":{"detail":"Invalid Page."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"caabafee-7bd9-428b-b226-8627f9fde331":{"writeTokenAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Write-enabled API token required for creating content.\n\nThe API token you use for reading from the ButterCMS API will not allow you to create content in the API. For this you will need to use a different write-enabled token. Write API access is a paid add-on for Advanced and Professional plans, enabled from the Billing page of your account. It isn't offered on Basic plans.\n\nSet the `Authorization` header to `Token your_write_api_token`. The `?auth_token=` query parameter also works for write requests, but a header is safer because URLs are more likely to be logged.\n\nExample: `Authorization: Token abc123def456`\n\nYour write-enabled token should never be used anywhere it would be exposed, e.g. in client-side JavaScript.\n","scopes":[],"schemeName":"writeTokenAuth"}}},"servers":{"c921ebcd-b676-4237-be34-0dc3bbeee33d":{"url":"https://api.buttercms.com/v2","description":"ButterCMS API v2"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","description":"Write-enabled API token required for creating content.\n\nThe API token you use for reading from the ButterCMS API will not allow you to create content in the API. For this you will need to use a different write-enabled token. Write API access is a paid add-on for Advanced and Professional plans, enabled from the Billing page of your account. It isn't offered on Basic plans.\n\nSet the `Authorization` header to `Token your_write_api_token`. The `?auth_token=` query parameter also works for write requests, but a header is safer because URLs are more likely to be logged.\n\nExample: `Authorization: Token abc123def456`\n\nYour write-enabled token should never be used anywhere it would be exposed, e.g. in client-side JavaScript.\n","scopes":[],"schemeName":"writeTokenAuth"},"schema":{"title":"Authorization","type":"string","description":"Write-enabled API token required for creating content.\n\nThe API token you use for reading from the ButterCMS API will not allow you to create content in the API. For this you will need to use a different write-enabled token. Write API access is a paid add-on for Advanced and Professional plans, enabled from the Billing page of your account. It isn't offered on Basic plans.\n\nSet the `Authorization` header to `Token your_write_api_token`. The `?auth_token=` query parameter also works for write requests, but a header is safer because URLs are more likely to be logged.\n\nExample: `Authorization: Token abc123def456`\n\nYour write-enabled token should never be used anywhere it would be exposed, e.g. in client-side JavaScript.\n","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"writeTokenAuth","name":"Authorization"}],"title":"writeTokenAuth"}]},"originalFileLocation":"api/openapi/write_api.yaml"},"subdomain":"buttercms","siteName":"ButterCMS Docs","title":"Create Blog Post via Write API - ButterCMS Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T14:31:27.346Z","originalFileLocation":"api-reference/blog-posts/create-blog-post-via-write-api.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a new blog post via the Write API with support for draft status, author assignment, category tagging, and media integration.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ButterCMS Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex, nofollow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/buttercms/r9p2A1fiqo_BuZws/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/buttercms/r9p2A1fiqo_BuZws/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/buttercms/r9p2A1fiqo_BuZws/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/buttercms/r9p2A1fiqo_BuZws/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/buttercms/r9p2A1fiqo_BuZws/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/buttercms/r9p2A1fiqo_BuZws/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/buttercms/r9p2A1fiqo_BuZws/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/buttercms/r9p2A1fiqo_BuZws/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/buttercms/r9p2A1fiqo_BuZws/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Blog Post via Write API - ButterCMS Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a new blog post via the Write API with support for draft status, author assignment, category tagging, and media integration.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ButterCMS Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://buttercms.com/docs/api-reference/blog-posts/create-blog-post-via-write-api\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://buttercms.mintlify.site/docs/_mintlify/api/og/v2?division=Blog+posts\u0026amp;title=Create+Blog+Post+via+Write+API\u0026amp;description=Create+a+new+blog+post+via+the+Write+API+with+support+for+draft+status%2C+author+assignment%2C+category+tagging%2C+and+media+integration.\u0026amp;theme=5b7441fa906780c0ab866249\u0026amp;signature=9c70355f2f6788f4bebf02d50b67d747d1f49b83850c0d639eeacde1dd31426f\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create Blog Post via Write API - ButterCMS Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a new blog post via the Write API with support for draft status, author assignment, category tagging, and media integration.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://buttercms.mintlify.site/docs/_mintlify/api/og/v2?division=Blog+posts\u0026amp;title=Create+Blog+Post+via+Write+API\u0026amp;description=Create+a+new+blog+post+via+the+Write+API+with+support+for+draft+status%2C+author+assignment%2C+category+tagging%2C+and+media+integration.\u0026amp;theme=5b7441fa906780c0ab866249\u0026amp;signature=9c70355f2f6788f4bebf02d50b67d747d1f49b83850c0d639eeacde1dd31426f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/buttercms/r9p2A1fiqo_BuZws/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ButterCMS Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0505e5\">\u003clink data-mint-head rel=\"canonical\" href=\"https://buttercms.com/docs/api-reference/blog-posts/create-blog-post-via-write-api\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/blog-posts/create-blog-post-via-write-api.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://buttercms.com/#organization\",\"name\":\"ButterCMS Docs\",\"url\":\"https://buttercms.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://cdn.buttercms.com/nDD3LeMXQxiR9aJRpRLE\"}},{\"@type\":\"WebSite\",\"@id\":\"https://buttercms.com/docs#website\",\"name\":\"ButterCMS Docs\",\"url\":\"https://buttercms.com/docs\",\"publisher\":{\"@id\":\"https://buttercms.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://buttercms.com/docs/api-reference/blog-posts/create-blog-post-via-write-api#webpage\",\"url\":\"https://buttercms.com/docs/api-reference/blog-posts/create-blog-post-via-write-api\",\"name\":\"Create Blog Post via Write API\",\"description\":\"Create a new blog post via the Write API with support for draft status, author assignment, category tagging, and media integration.\",\"dateModified\":\"2026-11-06T14:31:27.346Z\",\"isPartOf\":{\"@id\":\"https://buttercms.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://buttercms.com/docs/api-reference/blog-posts/create-blog-post-via-write-api#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://buttercms.com/docs/api-reference/blog-posts/create-blog-post-via-write-api#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Write API\",\"item\":\"https://buttercms.com/docs/api-reference/pages/create-page-via-write-api\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Blog Post via Write API\",\"item\":\"https://buttercms.com/docs/api-reference/blog-posts/create-blog-post-via-write-api\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://buttercms.com/docs/api-reference/blog-posts/create-blog-post-via-write-api#apireference\",\"headline\":\"Create Blog Post via Write API\",\"name\":\"Create Blog Post via Write API\",\"description\":\"Create a new blog post via the Write API with support for draft status, author assignment, category tagging, and media integration.\",\"url\":\"https://buttercms.com/docs/api-reference/blog-posts/create-blog-post-via-write-api\",\"mainEntityOfPage\":{\"@id\":\"https://buttercms.com/docs/api-reference/blog-posts/create-blog-post-via-write-api#webpage\"},\"dateModified\":\"2026-11-06T14:31:27.346Z\",\"publisher\":{\"@id\":\"https://buttercms.com/#organization\"},\"isPartOf\":{\"@id\":\"https://buttercms.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ButterCMS Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ButterCMS Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/blog-posts/create-blog-post-via-write-api.md","siteName":"ButterCMS Docs","nav":{"global":null,"tabs":[{"tab":"Quickstart","pages":[{"title":"Quickstart","href":""}]},{"tab":"Core concepts","pages":[{"title":"Core concepts","href":"/core-concepts/content-types/overview"}]},{"tab":"Create content","pages":[{"title":"Create content","href":"/create-content/overview"}]},{"tab":"Build your app","pages":[{"title":"Build your app","href":"/build-your-app/overview"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API overview","icon":"code","href":"/api/overview"},{"title":"API architecture \u0026 principles","icon":"sitemap","href":"/api/concepts/api-architecture-principles"},{"title":"Authentication \u0026 API tokens","icon":"key","href":"/api/concepts/authentication-api-tokens"},{"title":"Request/response format","icon":"code","href":"/api/concepts/request-response-format"},{"title":"REST endpoints \u0026 URLs","icon":"route","href":"/api/concepts/rest-endpoints-urls"},{"title":"HTTP status codes \u0026 errors","icon":"triangle-exclamation","href":"/api/concepts/http-status-codes-errors"},{"title":"Rate limits \u0026 throttling","icon":"gauge-high","href":"/api/concepts/rate-limits-throttling"},{"title":"Bulk Operations","icon":"layer-group","href":"/api/concepts/bulk-operations"},{"title":"Pages: key concepts","icon":"file","href":"/api/concepts/pages-key-concepts"},{"title":"Components: key concepts","icon":"layer-group","href":"/api/concepts/pages-components"},{"title":"Collections: key concepts","icon":"table","href":"/api/concepts/collections-key-concepts"},{"title":"Blog Posts: key concepts","icon":"newspaper","href":"/api/concepts/blog-posts-key-concepts"},{"title":"Webhooks: key concepts","icon":"bell","href":"/api/concepts/webhooks-overview"}]},{"group":"Read API","expanded":true,"pages":[{"group":"Pages","pages":[{"title":"Get multiple Pages","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /pages/{page_type}/","href":"/api-reference/pages/get-multiple-pages"},{"title":"Get a single Page","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /pages/{page_type}/{page_slug}/","href":"/api-reference/pages/get-a-single-page"},{"title":"Search Pages","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /pages/search/","href":"/api-reference/pages/search-pages"}]},{"group":"Collections","pages":[{"title":"Retrieve Multiple Collections by Key","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /content/","href":"/api-reference/collections/retrieve-multiple-collections-by-key"},{"title":"Retrieve Collection","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /content/{collection_key}/","href":"/api-reference/collections/retrieve-collection"},{"title":"Retrieve Collection Item","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /content/{collection_key}/{item_id}/","href":"/api-reference/collections/retrieve-collection-item"}]},{"group":"Blog posts","pages":[{"title":"List All Posts","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /posts/","href":"/api-reference/blog-posts/list-all-posts"},{"title":"Retrieve Single Post","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /posts/{slug}/","href":"/api-reference/blog-posts/retrieve-single-post"},{"title":"Search Posts","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /posts/search/","href":"/api-reference/blog-posts/search-posts"}]},{"group":"Blog metadata","pages":[{"title":"List All Authors","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /authors/","href":"/api-reference/blog-metadata/list-all-authors"},{"title":"Retrieve Author","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /authors/{slug}/","href":"/api-reference/blog-metadata/retrieve-author"},{"title":"List All Categories","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /categories/","href":"/api-reference/blog-metadata/list-all-categories"},{"title":"Retrieve Category","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /categories/{slug}/","href":"/api-reference/blog-metadata/retrieve-category"},{"title":"List All Tags","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /tags/","href":"/api-reference/blog-metadata/list-all-tags"},{"title":"Retrieve Tag","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /tags/{slug}/","href":"/api-reference/blog-metadata/retrieve-tag"}]},{"group":"Feeds and utilities","pages":[{"title":"RSS Feed","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /feeds/rss/","href":"/api-reference/feeds-and-utilities/rss-feed"},{"title":"Atom Feed","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /feeds/atom/","href":"/api-reference/feeds-and-utilities/atom-feed"},{"title":"Sitemap","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /feeds/sitemap/","href":"/api-reference/feeds-and-utilities/sitemap"}]}]},{"group":"Write API","expanded":true,"pages":[{"group":"Pages","pages":[{"title":"Create Page via Write API","deprecated":null,"version":null,"openapi":"/api/openapi/write_api.yaml post /pages/","href":"/api-reference/pages/create-page-via-write-api"},{"title":"Update Page via Write API (PUT)","deprecated":null,"version":null,"openapi":"/api/openapi/write_api.yaml put /pages/{page_type}/{page_slug}/","href":"/api-reference/pages/update-page-via-write-api-put"},{"title":"Update Page via Write API","deprecated":null,"version":null,"openapi":"/api/openapi/write_api.yaml patch /pages/{page_type}/{page_slug}/","href":"/api-reference/pages/update-page-via-write-api"}]},{"group":"Collections","pages":[{"title":"Create Collection Item","deprecated":null,"version":null,"openapi":"/api/openapi/write_api.yaml post /content/","href":"/api-reference/collections/create-collection-item"},{"title":"Update Collection Item (Full)","deprecated":null,"version":null,"openapi":"/api/openapi/write_api.yaml put /content/{collection_key}/{item_id}/","href":"/api-reference/collections/update-collection-item-full"},{"title":"Delete Collection Item","deprecated":null,"version":null,"openapi":"/api/openapi/write_api.yaml delete /content/{collection_key}/{item_id}/","href":"/api-reference/collections/delete-collection-item"},{"title":"Update Collection Item (Partial)","description":"Partially update an existing Collection item via PATCH request, modifying only the specified fields.","deprecated":null,"version":null,"openapi":"/api/openapi/write_api.yaml patch /content/{collection_key}/{item_id}/","href":"/api-reference/collections/update-collection-item-partial"}]},{"group":"Blog posts","pages":[{"title":"Create Blog Post via Write API","deprecated":null,"version":null,"openapi":"/api/openapi/write_api.yaml post /posts/","href":"/api-reference/blog-posts/create-blog-post-via-write-api"},{"title":"Delete Blog Post via Write API","description":"Soft-delete an existing blog post via the Write API. The post is hidden from public endpoints and its slug is reassigned to a generated value; other data is kept.","deprecated":null,"version":null,"openapi":"/api/openapi/write_api.yaml delete /posts/{slug}/","href":"/api-reference/blog-posts/delete-blog-post-via-write-api"},{"title":"Update Blog Post via Write API","deprecated":null,"version":null,"openapi":"/api/openapi/write_api.yaml patch /posts/{slug}/","href":"/api-reference/blog-posts/update-blog-post-via-write-api"}]}]},{"group":"Webhooks API","expanded":true,"pages":[{"group":"Page events","pages":[{"title":"Page published","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook page-published","href":"/api-reference/page-events/page-published"},{"title":"Page draft saved","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook page-draft-saved","href":"/api-reference/page-events/page-draft-saved"},{"title":"Page unpublished","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook page-unpublished","href":"/api-reference/page-events/page-unpublished"},{"title":"Page deleted","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook page-deleted","href":"/api-reference/page-events/page-deleted"},{"title":"Page any activity","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook page-any-activity","href":"/api-reference/page-events/page-any-activity"}]},{"group":"Post events","pages":[{"title":"Blog post published","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook blog-post-published","href":"/api-reference/post-events/blog-post-published"},{"title":"Blog post draft saved","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook blog-post-draft-saved","href":"/api-reference/post-events/blog-post-draft-saved"},{"title":"Blog post deleted","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook blog-post-deleted","href":"/api-reference/post-events/blog-post-deleted"},{"title":"Blog post any activity","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook blog-post-any-activity","href":"/api-reference/post-events/blog-post-any-activity"},{"title":"Localized blog post published","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook blog-post-locale-published","href":"/api-reference/post-events/localized-blog-post-published"},{"title":"Localized blog post draft saved","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook blog-post-locale-draft-saved","href":"/api-reference/post-events/localized-blog-post-draft-saved"},{"title":"Localized blog post deleted","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook blog-post-locale-deleted","href":"/api-reference/post-events/localized-blog-post-deleted"}]},{"group":"Collection events","pages":[{"title":"Collection item published","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook collection-item-published","href":"/api-reference/collection-events/collection-item-published"},{"title":"Collection item draft saved","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook collection-item-draft-saved","href":"/api-reference/collection-events/collection-item-draft-saved"},{"title":"Collection item unpublished","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook collection-item-unpublished","href":"/api-reference/collection-events/collection-item-unpublished"},{"title":"Collection item deleted","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook collection-item-deleted","href":"/api-reference/collection-events/collection-item-deleted"},{"title":"Collection item any activity","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook collection-item-any-activity","href":"/api-reference/collection-events/collection-item-any-activity"}]},{"group":"Media events","pages":[{"title":"Media video uploaded","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook media-video-uploaded","href":"/api-reference/media-events/media-video-uploaded"},{"title":"Media updated","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook media-updated","href":"/api-reference/media-events/media-updated"}]}]},{"group":"Image API","pages":[{"title":"Image transformations","icon":"wand-magic-sparkles","href":"/api/image-api/image-transformations"},{"title":"Responsive images","icon":"mobile","href":"/api/image-api/responsive-images"},{"title":"Security \u0026 authentication","icon":"shield","href":"/api/image-api/security-authentication"}]}]},{"tab":"Frameworks","pages":[{"title":"Frameworks","href":"/frameworks/tab-overview"}]},{"tab":"Support","pages":[{"title":"Support","href":"/support/account-management/account-settings"}]}]},"basePath":"","title":"Create Blog Post via Write API - ButterCMS Docs","deploymentId":"dpl_B1qJC7o4Nbc1BrDLB8Y5TDHq3c2t","buildId":"dpl_B1qJC7o4Nbc1BrDLB8Y5TDHq3c2t","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CUHhyXy2.js","snippetPresets-CLZ6zHrE.js","utils-YgZO0660.js","style-to-object-BY3JEAdk.js","utils-BfGpunL-.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-nXeJG4mW.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CfiGwWS2.js","_Uint8Array-DMwpGz7v.js","isObject-FP1Yky1u.js","ApiExamples-ClwIRLsI.js","usePlaygroundInputsStore-D3zE52Kn.js","shallow-D4RQzCAp.js","isEqual-Ba6nq9eA.js","CodeSnippets-DK9iv102.js","CodeSnippet-CD0M-PIN.js","getApiPlaygroundDisplay-MZpK72mj.js","Page-wRPqmnTs.js","DynamicMarkdown-B4E-vXj3.js","SectionHeading-Cd1Hebqh.js","icon-CopWpdT0.js","MethodPill-DHN7T7vW.js","getPastedJson-BuLRhr5B.js","Check2Icon-DTvkZOnk.js","axios-CsQoIw0U.js","Markdown-BZDfk3ee.js","AssistantPageLink-CXXpl6Pb.js","dist-D0qiytnz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}