An array of platform entries to enable. Any platform NOT listed here will be disabled. Pass an empty array to disable all.
Show child attributes
string
required
The post_platform entry ID (from GET /posts/{id} or GET /posts).
string
Override the content_type for this platform (e.g. linkedin_carousel instead of the default linkedin_post). Use GET /content-types to discover valid values. Cross-validated against the platform of the underlying social account.
object
Per-platform metadata override. Examples:
Pinterest (pinterest_pin, pinterest_video_pin, pinterest_carousel) — meta.board_id is required to publish. If you don’t pass it per-post and the social account doesn’t have a default_board_id set, the publish job fails with Pinterest board_id is required. Fetch board IDs from Pinterest’s /v5/boards endpoint or pick one in the dashboard’s Accounts page.
TikTok (videos) — meta.privacy_level (PUBLIC_TO_EVERYONE, MUTUAL_FOLLOW_FRIENDS, FOLLOWER_OF_CREATOR, SELF_ONLY), meta.disable_comment, meta.disable_duet, meta.disable_stitch, meta.brand_content_toggle, meta.brand_organic_toggle. For tiktok_photo, only privacy_level and disable_comment apply.
The REST endpoint does not strictly validate meta keys — unknown keys are stored and ignored at publish time. The web app validates meta.board_id upfront for Pinterest content types; REST callers must enforce it themselves.
string
ISO 8601 datetime. Required when status=scheduled.
array
An array of label UUIDs to assign to the post. Replaces existing labels.
Response
Returns the updated post. Returns 422 with { "message": "Cannot edit a published post." } if the post has already been published.
To publish an existing draft, send only { "status": "publishing" } — content/platforms already saved are kept.
To schedule, send { "status": "scheduled", "scheduled_at": "2025-12-31T15:30:00Z" }.
To toggle which platforms are active without changing content, send only the platforms[] array.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Kavio Docs","colors":{"primary":"#2563eb","light":"#3b82f6","dark":"#1d4ed8"},"logo":{"light":"https://mintcdn.com/kavio/v0bkouT8mVjjx8DU/logo/light.png?fit=max\u0026auto=format\u0026n=v0bkouT8mVjjx8DU\u0026q=85\u0026s=309ef015bbf172f60d4949bba63f6493","dark":"https://mintcdn.com/kavio/v0bkouT8mVjjx8DU/logo/dark.png?fit=max\u0026auto=format\u0026n=v0bkouT8mVjjx8DU\u0026q=85\u0026s=f6f1d419ba23a4acc53fe3759ae31e65"},"favicon":"https://mintcdn.com/kavio/v0bkouT8mVjjx8DU/favicon.png?fit=max\u0026auto=format\u0026n=v0bkouT8mVjjx8DU\u0026q=85\u0026s=4b0b33f41d60e14761793ff204a87866","api":{"mdx":{"auth":{"method":"bearer"},"server":"https://app.getkavio.app/api"}},"background":{"color":{"light":"#f8fafc","dark":"#0f172a"}},"navbar":{"links":[{"href":"https://getkavio.app","label":"Home"}],"primary":{"type":"button","label":"Get started free","href":"https://app.getkavio.app/register"}},"footer":{"socials":{"x":"https://x.com/getkavio","youtube":"https://www.youtube.com/@getkavio"}},"integrations":{"posthog":{"apiKey":"phc_qZKcjfjndNDmU4k5KSfhsiSCjS9yGuVuFLYfqri0YG1","apiHost":"https://dt.getkavio.app"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","href":"knowledge-base/introduction"},{"language":"vi","default":true,"href":"vi/knowledge-base/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"kavio","hasAudioNarration":false,"actualSubdomain":"kavio","customDomains":["docs.getkavio.app"],"gitSource":{"type":"gitlab","owner":"kavio1","repo":"kavio_site","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"projectId":82502039,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a992755b8d2f9ee7b619988","clientVersion":"0.0.4336","searchFilterCounts":[{"language":"en","tag":"Kavio Ecommerce","count":84},{"language":"vi","tag":"Kavio Ecommerce","count":84},{"language":"en","tag":"Kavio Content","count":55},{"language":"vi","tag":"Kavio Content","count":55},{"language":"en","tag":"API Reference","count":26},{"language":"vi","tag":"Tài liệu API","count":26},{"language":"en","tag":"Knowledge Base","count":17},{"language":"vi","tag":"Hướng dẫn sử dụng","count":17},{"language":"en","tag":"Build with AI","count":12},{"language":"en","tag":"Advanced and technical settings","count":12},{"language":"en","tag":"Essential store settings","count":12},{"language":"vi","tag":"Xây dựng với AI","count":12},{"language":"vi","tag":"Cài đặt nâng cao và kỹ thuật","count":12},{"language":"vi","tag":"Cài đặt cửa hàng thiết yếu","count":12},{"language":"en","tag":"Setup Guides","count":10},{"language":"en","tag":"Posts","count":10},{"language":"vi","tag":"Hướng dẫn thiết lập","count":10},{"language":"vi","tag":"Bài đăng","count":10},{"language":"en","tag":"Orders and fulfillment","count":9},{"language":"vi","tag":"Đơn hàng và giao hàng","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"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":"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":"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":"turbopuffer-dual-write","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":"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}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/endpoint/update-post","slug":"/api-reference/endpoint/update-post","pageMetadata":{"title":"Update post","api":"PUT /posts/{post}","description":"Update a post's content, schedule, enabled platforms, or labels — and trigger publishing.","href":"/api-reference/endpoint/update-post"},"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: \"Update a post’s content, schedule, enabled platforms, or labels — and trigger publishing.\"\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={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`request`,children:`Request`}),`\n`,_jsx(ParamField,{path:`post`,type:`string`,required:true,id:`param-post`,children:_jsx(_components.p,{children:`The post ID.`})}),`\n`,_jsxs(ParamField,{body:`status`,type:`string`,required:true,id:`param-status`,children:[_jsx(_components.p,{children:`The post status. One of:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`draft`}),` — keep as draft`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`scheduled`}),` — schedule for the time given in `,_jsx(_components.code,{children:`scheduled_at`}),` (must be in the future)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`publishing`}),` — `,_jsx(_components.strong,{children:`publish immediately`}),`: dispatches the publish job to all enabled platforms`]}),`\n`]}),_jsxs(_components.p,{children:[`Cross-validated: `,_jsx(_components.code,{children:`scheduled`}),` requires a `,_jsx(_components.code,{children:`scheduled_at`}),` in the future.`]})]}),`\n`,_jsx(ParamField,{body:`content`,type:`string`,id:`param-content`,children:_jsx(_components.p,{children:`The post caption/text body.`})}),`\n`,_jsx(ParamField,{body:`media`,type:`array`,id:`param-media`,children:_jsxs(_components.p,{children:[`Media items to associate with the post. Most callers upload first via `,_jsx(_components.a,{href:`/api-reference/endpoint/upload-media`,children:_jsx(_components.code,{children:`POST /posts/{post}/media`})}),` (file) or `,_jsx(_components.a,{href:`/api-reference/endpoint/attach-media-from-url`,children:_jsx(_components.code,{children:`POST /posts/{post} /media/from-url`})}),` (URL) and let those endpoints\nappend to `,_jsx(_components.code,{children:`media[]`}),` directly.`]})}),`\n`,_jsxs(ParamField,{body:`platforms`,type:`array`,id:`param-platforms`,children:[_jsxs(_components.p,{children:[`An array of platform entries to enable. Any platform NOT listed here will be `,_jsx(_components.strong,{children:`disabled`}),`. Pass an empty array to disable all.`]}),_jsxs(Expandable,{children:[_jsx(ParamField,{body:`id`,type:`string`,required:true,id:`param-id`,children:_jsxs(_components.p,{children:[`The post_platform entry ID (from `,_jsx(_components.code,{children:`GET /posts/{id}`}),` or `,_jsx(_components.code,{children:`GET /posts`}),`).`]})}),_jsx(ParamField,{body:`content_type`,type:`string`,id:`param-content-type`,children:_jsxs(_components.p,{children:[`Override the content_type for this platform (e.g. `,_jsx(_components.code,{children:`linkedin_carousel`}),` instead of the default `,_jsx(_components.code,{children:`linkedin_post`}),`). Use `,_jsx(_components.a,{href:`/api-reference/endpoint/list-content-types`,children:_jsx(_components.code,{children:`GET /content-types`})}),` to discover valid values. Cross-validated against the platform of the underlying social account.`]})}),_jsxs(ParamField,{body:`meta`,type:`object`,id:`param-meta`,children:[_jsx(_components.p,{children:`Per-platform metadata override. Examples:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Pinterest`}),` (`,_jsx(_components.code,{children:`pinterest_pin`}),`, `,_jsx(_components.code,{children:`pinterest_video_pin`}),`, `,_jsx(_components.code,{children:`pinterest_carousel`}),`) — `,_jsx(_components.code,{children:`meta.board_id`}),` is `,_jsx(_components.strong,{children:`required to publish`}),`. If you don’t pass it per-post and the social account doesn’t have a `,_jsx(_components.code,{children:`default_board_id`}),` set, the publish job fails with `,_jsx(_components.code,{children:`Pinterest board_id is required`}),`. Fetch board IDs from Pinterest’s `,_jsx(_components.code,{children:`/v5/boards`}),` endpoint or pick one in the dashboard’s Accounts page.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`TikTok`}),` (videos) — `,_jsx(_components.code,{children:`meta.privacy_level`}),` (`,_jsx(_components.code,{children:`PUBLIC_TO_EVERYONE`}),`, `,_jsx(_components.code,{children:`MUTUAL_FOLLOW_FRIENDS`}),`, `,_jsx(_components.code,{children:`FOLLOWER_OF_CREATOR`}),`, `,_jsx(_components.code,{children:`SELF_ONLY`}),`), `,_jsx(_components.code,{children:`meta.disable_comment`}),`, `,_jsx(_components.code,{children:`meta.disable_duet`}),`, `,_jsx(_components.code,{children:`meta.disable_stitch`}),`, `,_jsx(_components.code,{children:`meta.brand_content_toggle`}),`, `,_jsx(_components.code,{children:`meta.brand_organic_toggle`}),`. For `,_jsx(_components.code,{children:`tiktok_photo`}),`, only `,_jsx(_components.code,{children:`privacy_level`}),` and `,_jsx(_components.code,{children:`disable_comment`}),` apply.`]}),`\n`]}),_jsxs(_components.p,{children:[`The REST endpoint does not strictly validate `,_jsx(_components.code,{children:`meta`}),` keys — unknown keys are stored and ignored at publish time. The web app validates `,_jsx(_components.code,{children:`meta.board_id`}),` upfront for Pinterest content types; REST callers must enforce it themselves.`]})]})]})]}),`\n`,_jsx(ParamField,{body:`scheduled_at`,type:`string`,id:`param-scheduled-at`,children:_jsxs(_components.p,{children:[`ISO 8601 datetime. Required when `,_jsx(_components.code,{children:`status=scheduled`}),`.`]})}),`\n`,_jsx(ParamField,{body:`label_ids`,type:`array`,id:`param-label-ids`,children:_jsx(_components.p,{children:`An array of label UUIDs to assign to the post. Replaces existing labels.`})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`Returns the updated post. Returns `,_jsx(_components.code,{children:`422`}),` with `,_jsx(_components.code,{children:`{ \"message\": \"Cannot edit a published post.\" }`}),` if the post has already been published.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://app.getkavio.app/api/posts/9f1a2b3c-4d5e-6f7a-8b9c-0d1e2f3a4b5c`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"status\": \"publishing\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"content\": \"Launching now!\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"platforms\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` { \"id\": \"a1b2c3d4-e5f6-7a8b-9c0d-1e2f3a4b5c6d\", \"content_type\": \"linkedin_post\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"label_ids\": [\"c3d4e5f6-a7b8-9c0d-1e2f-3a4b5c6d7e8f\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`42`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`42`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"9f1a2b3c-4d5e-6f7a-8b9c-0d1e2f3a4b5c\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Launching now!\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"media\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"publishing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"scheduled_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-15 10:30:00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"published_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"platforms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"a1b2c3d4-e5f6-7a8b-9c0d-1e2f3a4b5c6d\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"platform\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"linkedin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"content_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"linkedin_post\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"publishing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"enabled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"platform_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"published_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error_message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"display_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"John Doe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"display_username\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"johndoe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"display_avatar\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://media.licdn.com/.../avatar.jpg\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"social_account\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"b2c3d4e5-f6a7-8b9c-0d1e-2f3a4b5c6d7e\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"platform\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"linkedin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"display_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"John Doe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"username\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"johndoe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_active\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"connected\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"labels\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"c3d4e5f6-a7b8-9c0d-1e2f-3a4b5c6d7e8f\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Product Launch\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"color\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"#4f46e5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-10 08:00:00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-10 08:00:00\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-14 09:00:00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-14 09:30:00\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`tips`,children:`Tips`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`To publish an existing draft, send only `,_jsx(_components.code,{children:`{ \"status\": \"publishing\" }`}),` — content/platforms already saved are kept.`]}),`\n`,_jsxs(_components.li,{children:[`To schedule, send `,_jsx(_components.code,{children:`{ \"status\": \"scheduled\", \"scheduled_at\": \"2025-12-31T15:30:00Z\" }`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`To toggle which platforms are active without changing content, send only the `,_jsx(_components.code,{children:`platforms[]`}),` array.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update post","api":"PUT /posts/{post}","description":"Update a post's content, schedule, enabled platforms, or labels — and trigger publishing.","href":"/api-reference/endpoint/update-post"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request","slug":"request","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Tips","slug":"tips","depth":2,"children":[]}],"codeExamples":{},"endpoint":{"title":"Update post","path":"/posts/{post}","servers":[{"url":"https://app.getkavio.app/api"}],"method":"put","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{"post":{"schema":[{"type":"string","description":"The post ID.","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"status":[{"type":"string","description":"The post status. One of: `draft` — keep as draft `scheduled` — schedule for the time given in `scheduled_at` (must be in the future) `publishing` — publish immediately : dispatches the publish job to all enabled platforms Cross-validated: `scheduled` requires a `scheduled_at` in the future.","required":true}],"content":[{"type":"string","description":"The post caption/text body."}],"media":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Media items to associate with the post. Most callers upload first via `POST /posts/{post}/media` (file) or `POST /posts/{post} /media/from-url` (URL) and let those endpoints append to `media[]` directly."}],"platforms":[{"type":"array","items":[{"type":"object","properties":{"id":[{"type":"string","description":"The post_platform entry ID (from `GET /posts/{id}` or `GET /posts` ).","required":true}],"content_type":[{"type":"string","description":"Override the content_type for this platform (e.g. `linkedin_carousel` instead of the default `linkedin_post` ). Use `GET /content-types` to discover valid values. Cross-validated against the platform of the underlying social account."}],"meta":[{"type":"object","properties":{},"description":"Per-platform metadata override. Examples: Pinterest ( `pinterest_pin` , `pinterest_video_pin` , `pinterest_carousel` ) — `meta.board_id` is required to publish . If you don’t pass it per-post and the social account doesn’t have a `default_board_id` set, the publish job fails with `Pinterest board_id is required` . Fetch board IDs from Pinterest’s `/v5/boards` endpoint or pick one in the dashboard’s Accounts page. TikTok (videos) — `meta.privacy_level` ( `PUBLIC_TO_EVERYONE` , `MUTUAL_FOLLOW_FRIENDS` , `FOLLOWER_OF_CREATOR` , `SELF_ONLY` ), `meta.disable_comment` , `meta.disable_duet` , `meta.disable_stitch` , `meta.brand_content_toggle` , `meta.brand_organic_toggle` . For `tiktok_photo` , only `privacy_level` and `disable_comment` apply. The REST endpoint does not strictly validate `meta` keys — unknown keys are stored and ignored at publish time. The web app validates `meta.board_id` upfront for Pinterest content types; REST callers must enforce it themselves."}]}}],"description":"An array of platform entries to enable. Any platform NOT listed here will be disabled . Pass an empty array to disable all."}],"scheduled_at":[{"type":"string","description":"ISO 8601 datetime. Required when `status=scheduled` ."}],"label_ids":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"An array of label UUIDs to assign to the post. Replaces existing labels."}]}}],"examples":{"example":{"value":{"status":"\u003cstring>","content":"\u003cstring>","media":[{}],"platforms":[{"id":"\u003cstring>","content_type":"\u003cstring>","meta":{}}],"scheduled_at":"\u003cstring>","label_ids":[{}]}}}}}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"kavio","siteName":"Kavio Docs","title":"Update post - Kavio Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/endpoint/update-post","matchLevel":0},"vi":{"href":"/vi/api-reference/endpoint/update-post","matchLevel":1}}},"lastModified":"2026-05-25T11:02:21.538Z","originalFileLocation":"api-reference/endpoint/update-post.mdx","locale":"en"},"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=\"Update a post\u0026#x27;s content, schedule, enabled platforms, or labels — and trigger publishing.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Kavio Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kavio/jh64YcGA6UMlmiWg/_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=\"/mintlify-assets/_mintlify/favicons/kavio/jh64YcGA6UMlmiWg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kavio/jh64YcGA6UMlmiWg/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/kavio/jh64YcGA6UMlmiWg/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/kavio/jh64YcGA6UMlmiWg/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kavio/jh64YcGA6UMlmiWg/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kavio/jh64YcGA6UMlmiWg/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/kavio/jh64YcGA6UMlmiWg/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/kavio/jh64YcGA6UMlmiWg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update post - Kavio Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update a post\u0026#x27;s content, schedule, enabled platforms, or labels — and trigger publishing.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Kavio Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.getkavio.app/api-reference/endpoint/update-post\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://kavio.mintlify.site/_mintlify/api/og/v2?division=Posts\u0026amp;title=Update+post\u0026amp;description=Update+a+post%27s+content%2C+schedule%2C+enabled+platforms%2C+or+labels+%E2%80%94+and+trigger+publishing.\u0026amp;theme=8c97d124a89922b21243dc87\u0026amp;signature=198b03a2e6cec1d227767a29647e9ffbf4f0b0354bc6e53a3bdcd6e5233400ec\">\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=\"Update post - Kavio Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update a post\u0026#x27;s content, schedule, enabled platforms, or labels — and trigger publishing.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://kavio.mintlify.site/_mintlify/api/og/v2?division=Posts\u0026amp;title=Update+post\u0026amp;description=Update+a+post%27s+content%2C+schedule%2C+enabled+platforms%2C+or+labels+%E2%80%94+and+trigger+publishing.\u0026amp;theme=8c97d124a89922b21243dc87\u0026amp;signature=198b03a2e6cec1d227767a29647e9ffbf4f0b0354bc6e53a3bdcd6e5233400ec\">\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=\"/mintlify-assets/_mintlify/favicons/kavio/jh64YcGA6UMlmiWg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Kavio Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563eb\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.getkavio.app/api-reference/endpoint/update-post\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/update-post.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.getkavio.app/api-reference/endpoint/update-post\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"vi\" href=\"https://docs.getkavio.app/vi/api-reference/endpoint/update-post\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.getkavio.app/vi/api-reference/endpoint/update-post\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.getkavio.app/#organization\",\"name\":\"Kavio Docs\",\"url\":\"https://docs.getkavio.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/kavio/v0bkouT8mVjjx8DU/logo/light.png?fit=max\u0026auto=format\u0026n=v0bkouT8mVjjx8DU\u0026q=85\u0026s=309ef015bbf172f60d4949bba63f6493\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.getkavio.app#website\",\"name\":\"Kavio Docs\",\"url\":\"https://docs.getkavio.app\",\"publisher\":{\"@id\":\"https://docs.getkavio.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.getkavio.app/api-reference/endpoint/update-post#webpage\",\"url\":\"https://docs.getkavio.app/api-reference/endpoint/update-post\",\"name\":\"Update post\",\"description\":\"Update a post's content, schedule, enabled platforms, or labels — and trigger publishing.\",\"dateModified\":\"2026-05-25T11:02:21.538Z\",\"isPartOf\":{\"@id\":\"https://docs.getkavio.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.getkavio.app/api-reference/endpoint/update-post#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.getkavio.app/api-reference/endpoint/update-post#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Posts\",\"item\":\"https://docs.getkavio.app/api-reference/endpoint/list-posts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update post\",\"item\":\"https://docs.getkavio.app/api-reference/endpoint/update-post\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.getkavio.app/api-reference/endpoint/update-post#apireference\",\"headline\":\"Update post\",\"name\":\"Update post\",\"description\":\"Update a post's content, schedule, enabled platforms, or labels — and trigger publishing.\",\"url\":\"https://docs.getkavio.app/api-reference/endpoint/update-post\",\"mainEntityOfPage\":{\"@id\":\"https://docs.getkavio.app/api-reference/endpoint/update-post#webpage\"},\"dateModified\":\"2026-05-25T11:02:21.538Z\",\"publisher\":{\"@id\":\"https://docs.getkavio.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.getkavio.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Kavio Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Kavio Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/update-post.md","siteName":"Kavio Docs","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"Kavio Content","icon":"pen-to-square","anchors":[{"anchor":"Knowledge Base","icon":"book","pages":[{"title":"Knowledge Base","href":"/knowledge-base/introduction"}]},{"anchor":"API Reference","icon":"code","groups":[{"group":"Overview","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Posts","pages":[{"title":"List posts","api":"GET /posts","href":"/api-reference/endpoint/list-posts"},{"title":"Get post","api":"GET /posts/{post}","href":"/api-reference/endpoint/get-post"},{"title":"Create post","api":"POST /posts","description":"Create a new draft post targeting one or more social accounts. Returns the created post with status 201.","href":"/api-reference/endpoint/create-post"},{"title":"Update post","api":"PUT /posts/{post}","href":"/api-reference/endpoint/update-post"},{"title":"Delete post","api":"DELETE /posts/{post}","description":"Delete a post by ID.","href":"/api-reference/endpoint/delete-post"},{"title":"Upload media file","api":"POST /posts/{post}/media","href":"/api-reference/endpoint/upload-media"},{"title":"Attach media from URLs","api":"POST /posts/{post}/media/from-url","href":"/api-reference/endpoint/attach-media-from-url"},{"title":"Upload media via signed URL","api":"POST /uploads/{token}","href":"/api-reference/endpoint/request-media-upload"},{"title":"Get post metrics","api":"GET /posts/{post}/metrics","href":"/api-reference/endpoint/get-post-metrics"},{"title":"Preview post per platform","api":"GET /posts/{post}/preview","href":"/api-reference/endpoint/get-post-preview"}]},{"group":"Platforms","pages":[{"title":"List content types","api":"GET /content-types","href":"/api-reference/endpoint/list-content-types"}]},{"group":"Workspace","pages":[{"title":"Get workspace","api":"GET /workspace","href":"/api-reference/endpoint/get-workspace"}]},{"group":"Signatures","pages":[{"title":"List signatures","api":"GET /signatures","href":"/api-reference/endpoint/list-signatures"},{"title":"Create signature","api":"POST /signatures","href":"/api-reference/endpoint/create-signature"},{"title":"Update signature","api":"PUT /signatures/{signature}","href":"/api-reference/endpoint/update-signature"},{"title":"Delete signature","api":"DELETE /signatures/{signature}","href":"/api-reference/endpoint/delete-signature"}]},{"group":"Labels","pages":[{"title":"List labels","api":"GET /labels","href":"/api-reference/endpoint/list-labels"},{"title":"Create label","api":"POST /labels","href":"/api-reference/endpoint/create-label"},{"title":"Update label","api":"PUT /labels/{label}","href":"/api-reference/endpoint/update-label"},{"title":"Delete label","api":"DELETE /labels/{label}","href":"/api-reference/endpoint/delete-label"}]},{"group":"Social Accounts","pages":[{"title":"List social accounts","api":"GET /social-accounts","href":"/api-reference/endpoint/list-social-accounts"},{"title":"Toggle social account","api":"PUT /social-accounts/{account}/toggle","href":"/api-reference/endpoint/toggle-social-account"}]},{"group":"API Keys","pages":[{"title":"List API keys","api":"GET /api-keys","href":"/api-reference/endpoint/list-api-keys"},{"title":"Create API key","api":"POST /api-keys","href":"/api-reference/endpoint/create-api-key"},{"title":"Delete API key","api":"DELETE /api-keys/{apiToken}","href":"/api-reference/endpoint/delete-api-key"}]}]},{"anchor":"Build with AI","icon":"microchip-ai","pages":[{"title":"Build with AI","href":"/ai/introduction"}]}]},{"tab":"Kavio Ecommerce","icon":"store","pages":[{"title":"Kavio Ecommerce","href":"/ecommerce/getting-started"}]}]},{"language":"vi","default":true,"pages":[{"title":"vi","href":"/vi/api-reference/endpoint/update-post"}]}]},"basePath":"","title":"Update post - Kavio Docs","deploymentId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","buildId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-D4yvBxwa.js","snippetPresets-CkhhQaIQ.js","utils-XnMGX2lF.js","style-to-object-BY3JEAdk.js","utils-CRXL1dwr.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-DvwRKZnA.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DYtgUc7n.js","_Uint8Array-D8z7zjjJ.js","isObject-FP1Yky1u.js","ApiExamples-RYQSJVS4.js","usePlaygroundInputsStore-k_R_BTDL.js","shallow-BwVhzryZ.js","isEqual-Cx5TQjMc.js","CodeSnippets-BDe2dS5N.js","CodeSnippet-C1QlaNYl.js","use-playground-group-access-DyQ_1IIe.js","Page-DQd9HN9r.js","api-description-markdown-BpDftTKT.js","DynamicMarkdown-CZT_WAnN.js","SectionHeading-K1iuDm9j.js","MethodPill-Dx3JIwHJ.js","getPastedJson-buPTdYs_.js","Check2Icon-DmMrzBYX.js","axios-CsQoIw0U.js"]}