{
"statusCode": 400,
"message": "Scheduled date and time must be in the future",
"errors": [
{
"message": "Scheduled date and time must be in the future",
"path": [
"posts",
0,
"scheduledAt"
],
"cause": "custom"
}
],
"timestamp": "2030-01-10T12:00:00.000Z",
"route": "/public/v1/posts"
}
{
"statusCode": 409,
"message": "This post is being published right now",
"errors": null,
"timestamp": "2030-01-15T09:00:01.000Z",
"route": "/public/v1/posts/3f6c2a1b-9d8e-4f7a-b6c5-d4e3f2a1b0c9"
}
{
"statusCode": 400,
"message": "Scheduled date and time must be in the future",
"errors": [
{
"message": "Scheduled date and time must be in the future",
"path": [
"posts",
0,
"scheduledAt"
],
"cause": "custom"
}
],
"timestamp": "2030-01-10T12:00:00.000Z",
"route": "/public/v1/posts"
}
{
"statusCode": 409,
"message": "This post is being published right now",
"errors": null,
"timestamp": "2030-01-15T09:00:01.000Z",
"route": "/public/v1/posts/3f6c2a1b-9d8e-4f7a-b6c5-d4e3f2a1b0c9"
}
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Postploy","description":"Connect your AI to Postploy, and schedule social posts from your own code with the REST API and webhooks.","colors":{"primary":"#eb5a3c","light":"#f07a60","dark":"#18181b"},"logo":{"light":"https://mintcdn.com/postploy/3hizR7ySKP64P-_w/logo/postploy.png?fit=max\u0026auto=format\u0026n=3hizR7ySKP64P-_w\u0026q=85\u0026s=9af20fc85970bb336b2c1a02cecc7964","dark":"https://mintcdn.com/postploy/3hizR7ySKP64P-_w/logo/postploy.png?fit=max\u0026auto=format\u0026n=3hizR7ySKP64P-_w\u0026q=85\u0026s=9af20fc85970bb336b2c1a02cecc7964","href":"https://postploy.com"},"favicon":"https://mintcdn.com/postploy/3hizR7ySKP64P-_w/favicon.png?fit=max\u0026auto=format\u0026n=3hizR7ySKP64P-_w\u0026q=85\u0026s=2c6135119c4fe394bcb152588dde066e","api":{"playground":{"display":"interactive"},"examples":{"defaults":"all","languages":["curl","javascript","python"],"prefill":true}},"appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"mailto:support@postploy.com","label":"Support"}],"primary":{"type":"button","label":"Open Postploy","href":"https://postploy.com/home"}},"footer":{"links":[{"header":"Postploy","items":[{"label":"Home","href":"https://postploy.com"},{"label":"Agents","href":"https://postploy.com/agents"},{"label":"Pricing","href":"https://postploy.com/pricing"}]},{"header":"Company","items":[{"label":"Contact","href":"https://postploy.com/contact"},{"label":"Privacy","href":"https://postploy.com/privacy"},{"label":"Terms","href":"https://postploy.com/terms"}]}]},"seo":{"metatags":{"canonical":"https://docs.postploy.com"}},"fonts":{"family":"Inter"},"icons":{"library":"lucide"},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"markdown":{"instructions":"Postploy's MCP server for posting is https://api.postploy.com/mcp and signs in with OAuth. The REST API base URL is https://api.postploy.com/public/v1 and takes an API key as a Bearer token. The API calls channels accounts."},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"postploy","hasAudioNarration":false,"actualSubdomain":"postploy","customDomains":["docs.postploy.com"],"gitSource":{"type":"github","owner":"thatjsprof","repo":"postsched-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6af58857a8c01d11ac123ee4"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b0883b20edb7abd36e4ef46","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"default","tag":"API reference","count":34},{"language":"default","tag":"Guides","count":17},{"language":"default","tag":"Webhooks","count":11},{"language":"default","tag":"Connect your AI","count":8},{"language":"default","tag":"Posts","count":8},{"language":"default","tag":"Webhook events","count":5},{"language":"default","tag":"Approvals","count":5},{"language":"default","tag":"REST API","count":4},{"language":"default","tag":"Trash","count":4},{"language":"default","tag":"Get started","count":3}]},"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":"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":"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":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/posts/update-a-post","slug":"/api-reference/posts/update-a-post","pageMetadata":{"title":"Update a post","description":"Changes a post that hasn't been published. Fields you leave out keep their values. The changed post is checked against its platform before it's saved.","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /posts/{id}","href":"/api-reference/posts/update-a-post","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: \"Changes a post that hasn’t been published. Fields you leave out keep their values. The changed post is checked against its platform before it’s saved.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}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":"Update a post","description":"Changes a post that hasn't been published. Fields you leave out keep their values. The changed post is checked against its platform before it's saved.","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /posts/{id}","href":"/api-reference/posts/update-a-post","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Posts"],"operationId":"updatePost","summary":"Update a post","description":"Changes a post that hasn't been published. Fields you leave out keep their values. The changed post is checked against its platform before it's saved.","requestBody":"963fe769-b77d-426d-b856-27171bee0573","responses":{"200":"f35eb36b-c6d2-4e84-86a4-71ccb5659cf4","400":"970c8327-36e4-4f14-abec-1a6ef024cd38","401":"5da065ad-4038-4c15-a8b0-add80e8a8478","403":"d434954b-5151-407e-b3ff-386084650559","404":"bc07bd52-8c13-4698-acbb-c397fab96002","409":"9fbda8e8-3cd9-4241-afc6-d0427c6da2aa","429":"d16ec9c7-7fab-4547-97d5-f3e051306140"},"method":"patch","type":"path","servers":["c7b0d5b4-45c4-433c-b2b0-3db963b4b5b4"],"security":["eb49b752-6b1a-4621-bae9-b28dc7deb0d5"],"path":"/posts/{id}","baseUrlOptions":["https://api.postploy.com/public/v1"],"title":"Update a post","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.text":"Our spring blend is here. Bright, citrusy and on the shelves now.","body.scheduledAt":"2030-01-16T09:00:00Z"}]},"dependencies":{"parameters":{"9f49889d-6ad6-4bdd-a5e8-20a7c362839c":{"name":"id","in":"path","required":true,"description":"The post's id.","schema":{"type":"string","format":"uuid","isRequired":true,"description":"The post's id.","uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"socialAccountId":{"type":"string","format":"uuid","description":"Move the post to another channel.","uniqueKey":"socialAccountId","typeLabel":"string\u003cuuid>"},"text":{"type":"string","uniqueKey":"text","typeLabel":"string"},"title":{"type":"string","uniqueKey":"title","typeLabel":"string"},"mediaIds":{"type":"array","maxItems":35,"description":"Replaces the post's media.","items":{"type":"string","format":"uuid","uniqueKey":"mediaIds.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"mediaIds","typeLabel":"string\u003cuuid>[]"},"scheduledAt":{"type":"string","format":"date-time","description":"A new time, ISO 8601 with an offset. Must be in the future unless `status` is `draft`.","uniqueKey":"scheduledAt","typeLabel":"string\u003cdate-time>"},"timezone":{"type":"string","uniqueKey":"timezone","typeLabel":"string"},"status":{"type":"string","description":"`scheduled` publishes at `scheduledAt`. `draft` saves it without going out. `pending_approval` keeps its time but waits for someone to approve it.","enum":["scheduled","draft","pending_approval"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"thread":{"type":"array","maxItems":25,"description":"X only. Replaces the follow-up posts. `[]` makes it a single post again.","items":{"type":"string","uniqueKey":"thread.items.[INDEX]","typeLabel":"string"},"uniqueKey":"thread","typeLabel":"string[]"},"platformFields":{"type":"object","description":"Options for the post's platform, under the platform's name. See [Platform options](/api/platform-options).","properties":{"linkedin":{"type":"object","additionalProperties":false,"properties":{"visibility":{"type":"string","enum":["PUBLIC","CONNECTIONS"],"uniqueKey":"platformFields.linkedin.visibility","typeLabel":"enum\u003cstring>"},"firstComment":{"type":"string","description":"Posted as the first comment.","uniqueKey":"platformFields.linkedin.firstComment","typeLabel":"string"},"link":{"type":"string","description":"Added to the end of the post.","uniqueKey":"platformFields.linkedin.link","typeLabel":"string"}},"uniqueKey":"platformFields.linkedin","typeLabel":"object"},"twitter":{"type":"object","properties":{"replyRule":{"type":"string","enum":["everyone","follow","mention"],"default":"everyone","description":"Who can reply. `follow` is people you follow; `mention` is people you mention.","uniqueKey":"platformFields.twitter.replyRule","typeLabel":"enum\u003cstring>"},"retweetConfig":{"type":"object","description":"Repost the post this long after it goes out.","required":["value","frequency"],"properties":{"value":{"type":"integer","minimum":1,"isRequired":true,"uniqueKey":"platformFields.twitter.retweetConfig.value","typeLabel":"integer"},"frequency":{"type":"string","enum":["hour","day"],"isRequired":true,"uniqueKey":"platformFields.twitter.retweetConfig.frequency","typeLabel":"enum\u003cstring>"}},"uniqueKey":"platformFields.twitter.retweetConfig","typeLabel":"object"}},"uniqueKey":"platformFields.twitter","typeLabel":"object"},"instagram":{"type":"object","additionalProperties":false,"properties":{"postType":{"type":"string","enum":["post","reel","story"],"default":"post","uniqueKey":"platformFields.instagram.postType","typeLabel":"enum\u003cstring>"},"reelGrid":{"type":"string","enum":["reel_only","reel_and_main"],"default":"reel_only","description":"`reel_and_main` also shows a reel in your main feed.","uniqueKey":"platformFields.instagram.reelGrid","typeLabel":"enum\u003cstring>"},"firstComment":{"type":"string","description":"Posted as the first comment. Not on stories.","uniqueKey":"platformFields.instagram.firstComment","typeLabel":"string"},"collaborators":{"type":"array","maxItems":3,"description":"Instagram usernames to invite as collaborators.","items":{"type":"string","uniqueKey":"platformFields.instagram.collaborators.items.[INDEX]","typeLabel":"string"},"uniqueKey":"platformFields.instagram.collaborators","typeLabel":"string[]"}},"uniqueKey":"platformFields.instagram","typeLabel":"object"},"tiktok":{"type":"object","required":["visibility","discloseContent","allowMusic","promotion","allowUsersTo"],"additionalProperties":false,"properties":{"visibility":{"type":"string","enum":["public","friends","followers","private"],"isRequired":true,"uniqueKey":"platformFields.tiktok.visibility","typeLabel":"enum\u003cstring>"},"discloseContent":{"type":"boolean","description":"Whether the post promotes a brand, product or service.","isRequired":true,"uniqueKey":"platformFields.tiktok.discloseContent","typeLabel":"boolean"},"allowMusic":{"type":"boolean","description":"Let TikTok add music to photo posts.","isRequired":true,"uniqueKey":"platformFields.tiktok.allowMusic","typeLabel":"boolean"},"promotion":{"type":"array","description":"Whose promotion it is, when `discloseContent` is true (it's ignored otherwise): `brand` is your own, `branded_content` is a paid partnership. Pick at least one. Branded content can't be private.","items":{"type":"string","enum":["brand","branded_content"],"uniqueKey":"platformFields.tiktok.promotion.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"platformFields.tiktok.promotion","typeLabel":"enum\u003cstring>[]"},"allowUsersTo":{"type":"array","description":"What viewers may do.","items":{"type":"string","enum":["comment","duet","stitch"],"uniqueKey":"platformFields.tiktok.allowUsersTo.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"platformFields.tiktok.allowUsersTo","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"platformFields.tiktok","typeLabel":"object"},"youtube":{"type":"object","required":["visibility","forKids"],"additionalProperties":false,"properties":{"visibility":{"type":"string","enum":["public","unlisted","private"],"isRequired":true,"uniqueKey":"platformFields.youtube.visibility","typeLabel":"enum\u003cstring>"},"forKids":{"type":"boolean","description":"Whether the video is made for kids.","isRequired":true,"uniqueKey":"platformFields.youtube.forKids","typeLabel":"boolean"}},"uniqueKey":"platformFields.youtube","typeLabel":"object"}},"uniqueKey":"platformFields","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"text":"Our spring blend is here. Bright, citrusy and on the shelves now.","scheduledAt":"2030-01-16T09:00:00Z"},"examples":{"Example":{"title":"Example","value":{"text":"Our spring blend is here. Bright, citrusy and on the shelves now.","scheduledAt":"2030-01-16T09:00:00Z"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"f35eb36b-c6d2-4e84-86a4-71ccb5659cf4":{"description":"The post after your changes.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["actions","id","status","statusGroup","blockedReason","socialAccountId","platform","title","text","thread","scheduledAt","timezone","acceptedAt","publishedAt","deletedAt","link","failureReason","failureKind","sentBack","review","attempts","mediaIds","media","platformFields","conversationId","seriesId","createdAt"],"properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.id","typeLabel":"string\u003cuuid>"},"status":{"type":"string","description":"Where the post is. See [Statuses](/concepts#statuses).","enum":["draft","pending_approval","scheduled","queued","publishing","published","failed","cancelled"],"isRequired":true,"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"statusGroup":{"type":"string","enum":["draft","approval","scheduled","published","failed"],"isRequired":true,"uniqueKey":"data.statusGroup","typeLabel":"enum\u003cstring>"},"blockedReason":{"oneOf":[{"type":"string","enum":["account_disconnected",null],"description":"`account_disconnected` when the post can't go out until its channel is reconnected.","isRequired":true,"uniqueKey":"data.blockedReason.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["account_disconnected",null],"description":"`account_disconnected` when the post can't go out until its channel is reconnected.","isRequired":true,"uniqueKey":"data.blockedReason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.blockedReason","typeLabel":"enum\u003cstring> | null"},"socialAccountId":{"oneOf":[{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.socialAccountId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","isRequired":true,"uniqueKey":"data.socialAccountId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.socialAccountId","typeLabel":"string\u003cuuid> | null"},"platform":{"oneOf":[{"type":"string","description":"`twitter` is X.","enum":["linkedin","twitter","instagram","facebook","tiktok","youtube"],"isRequired":true,"uniqueKey":"data.platform.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","isRequired":true,"uniqueKey":"data.platform.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.platform","typeLabel":"enum\u003cstring> | null"},"title":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.title.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.title.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.title","typeLabel":"string | null"},"text":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.text.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.text.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.text","typeLabel":"string | null"},"thread":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"data.thread.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"An X post's follow-up posts, in order. `[]` when it isn't a thread, `null` on other platforms.","isRequired":true,"uniqueKey":"data.thread.oneOf.0","typeLabel":"string[]"},{"type":"null","items":{"type":"string"},"description":"An X post's follow-up posts, in order. `[]` when it isn't a thread, `null` on other platforms.","isRequired":true,"uniqueKey":"data.thread.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.thread","typeLabel":"string[] | null"},"scheduledAt":{"type":"string","format":"date-time","description":"When it publishes, in UTC.","isRequired":true,"uniqueKey":"data.scheduledAt","typeLabel":"string\u003cdate-time>"},"timezone":{"type":"string","description":"The time zone the app shows the post in.","isRequired":true,"uniqueKey":"data.timezone","typeLabel":"string"},"acceptedAt":{"oneOf":[{"type":"string","format":"date-time","description":"When the network took the post while publishing. Some networks, like TikTok, still process it for a few minutes before it shows on the profile.","isRequired":true,"uniqueKey":"data.acceptedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the network took the post while publishing. Some networks, like TikTok, still process it for a few minutes before it shows on the profile.","isRequired":true,"uniqueKey":"data.acceptedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.acceptedAt","typeLabel":"string\u003cdate-time> | null"},"publishedAt":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.publishedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","isRequired":true,"uniqueKey":"data.publishedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.publishedAt","typeLabel":"string\u003cdate-time> | null"},"deletedAt":{"oneOf":[{"type":"string","format":"date-time","description":"Set while the post is in the trash.","isRequired":true,"uniqueKey":"data.deletedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Set while the post is in the trash.","isRequired":true,"uniqueKey":"data.deletedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.deletedAt","typeLabel":"string\u003cdate-time> | null"},"link":{"oneOf":[{"type":"string","format":"uri","description":"The live post, once it's published.","isRequired":true,"uniqueKey":"data.link.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","description":"The live post, once it's published.","isRequired":true,"uniqueKey":"data.link.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.link","typeLabel":"string\u003curi> | null"},"failureReason":{"oneOf":[{"type":"string","description":"Why the post failed, in plain words.","isRequired":true,"uniqueKey":"data.failureReason.oneOf.0","typeLabel":"string"},{"type":"null","description":"Why the post failed, in plain words.","isRequired":true,"uniqueKey":"data.failureReason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.failureReason","typeLabel":"string | null"},"failureKind":{"oneOf":[{"type":"string","enum":["transient","permanent","account",null],"description":"`transient`: retrying may work. `permanent`: the platform rejected it, so change it first. `account`: reconnect the channel.","isRequired":true,"uniqueKey":"data.failureKind.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["transient","permanent","account",null],"description":"`transient`: retrying may work. `permanent`: the platform rejected it, so change it first. `account`: reconnect the channel.","isRequired":true,"uniqueKey":"data.failureKind.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.failureKind","typeLabel":"enum\u003cstring> | null"},"sentBack":{"oneOf":[{"type":"object","description":"Why a reviewer sent the post back to drafts.","required":["reason","note","by","at"],"properties":{"reason":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.sentBack.oneOf.0.reason.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.sentBack.oneOf.0.reason.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.sentBack.oneOf.0.reason","typeLabel":"string | null"},"note":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.sentBack.oneOf.0.note.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.sentBack.oneOf.0.note.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.sentBack.oneOf.0.note","typeLabel":"string | null"},"by":{"type":"object","required":["id","name","kind"],"properties":{"id":{"type":"string","format":"uuid","description":"The teammate's user id, or the reviewer's id when `kind` is `reviewer`.","isRequired":true,"uniqueKey":"data.sentBack.oneOf.0.by.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","isRequired":true,"uniqueKey":"data.sentBack.oneOf.0.by.name","typeLabel":"string"},"kind":{"type":"string","enum":["member","reviewer"],"description":"`member`: someone on your team. `reviewer`: someone outside it, from their review link.","isRequired":true,"uniqueKey":"data.sentBack.oneOf.0.by.kind","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"data.sentBack.oneOf.0.by","typeLabel":"object"},"at":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.sentBack.oneOf.0.at","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"data.sentBack.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"data.sentBack.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.sentBack","typeLabel":"object | null"},"review":{"oneOf":[{"type":"object","description":"The reviewer outside your team that the post is waiting on.","required":["reviewer","sentAt"],"properties":{"reviewer":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.review.oneOf.0.reviewer.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","isRequired":true,"uniqueKey":"data.review.oneOf.0.reviewer.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.review.oneOf.0.reviewer","typeLabel":"object"},"sentAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.review.oneOf.0.sentAt","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"data.review.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"data.review.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.review","typeLabel":"object | null"},"attempts":{"type":"integer","description":"How many times Postploy tried to publish it.","isRequired":true,"uniqueKey":"data.attempts","typeLabel":"integer"},"mediaIds":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"data.mediaIds.items.[INDEX]","typeLabel":"string\u003cuuid>"},"isRequired":true,"uniqueKey":"data.mediaIds","typeLabel":"string\u003cuuid>[]"},"media":{"type":"array","items":{"type":"object","description":"An image or video in your team's media library.","required":["id","type","fileName","url","thumbnailUrl","mimeType","duration","altText"],"properties":{"id":{"type":"string","format":"uuid","description":"Put this in a post's `mediaIds`.","isRequired":true,"uniqueKey":"data.media.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"type":{"type":"string","enum":["image","video"],"isRequired":true,"uniqueKey":"data.media.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"fileName":{"type":"string","isRequired":true,"uniqueKey":"data.media.items.[INDEX].fileName","typeLabel":"string"},"url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"data.media.items.[INDEX].url","typeLabel":"string\u003curi>"},"thumbnailUrl":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"data.media.items.[INDEX].thumbnailUrl","typeLabel":"string\u003curi>"},"mimeType":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.media.items.[INDEX].mimeType.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.media.items.[INDEX].mimeType.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.media.items.[INDEX].mimeType","typeLabel":"string | null"},"duration":{"oneOf":[{"type":"number","description":"A video's length in seconds.","isRequired":true,"uniqueKey":"data.media.items.[INDEX].duration.oneOf.0","typeLabel":"number"},{"type":"null","description":"A video's length in seconds.","isRequired":true,"uniqueKey":"data.media.items.[INDEX].duration.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.media.items.[INDEX].duration","typeLabel":"number | null"},"altText":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"data.media.items.[INDEX].altText.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"data.media.items.[INDEX].altText.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.media.items.[INDEX].altText","typeLabel":"string | null"}},"uniqueKey":"data.media.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.media","typeLabel":"object[]"},"platformFields":{"oneOf":[{"type":"object","description":"Options for the post's platform, under the platform's name. See [Platform options](/api/platform-options).","properties":{"linkedin":{"type":"object","additionalProperties":false,"properties":{"visibility":{"type":"string","enum":["PUBLIC","CONNECTIONS"],"uniqueKey":"data.platformFields.oneOf.0.linkedin.visibility","typeLabel":"enum\u003cstring>"},"firstComment":{"type":"string","description":"Posted as the first comment.","uniqueKey":"data.platformFields.oneOf.0.linkedin.firstComment","typeLabel":"string"},"link":{"type":"string","description":"Added to the end of the post.","uniqueKey":"data.platformFields.oneOf.0.linkedin.link","typeLabel":"string"}},"uniqueKey":"data.platformFields.oneOf.0.linkedin","typeLabel":"object"},"twitter":{"type":"object","properties":{"replyRule":{"type":"string","enum":["everyone","follow","mention"],"default":"everyone","description":"Who can reply. `follow` is people you follow; `mention` is people you mention.","uniqueKey":"data.platformFields.oneOf.0.twitter.replyRule","typeLabel":"enum\u003cstring>"},"retweetConfig":{"type":"object","description":"Repost the post this long after it goes out.","required":["value","frequency"],"properties":{"value":{"type":"integer","minimum":1,"isRequired":true,"uniqueKey":"data.platformFields.oneOf.0.twitter.retweetConfig.value","typeLabel":"integer"},"frequency":{"type":"string","enum":["hour","day"],"isRequired":true,"uniqueKey":"data.platformFields.oneOf.0.twitter.retweetConfig.frequency","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.platformFields.oneOf.0.twitter.retweetConfig","typeLabel":"object"}},"uniqueKey":"data.platformFields.oneOf.0.twitter","typeLabel":"object"},"instagram":{"type":"object","additionalProperties":false,"properties":{"postType":{"type":"string","enum":["post","reel","story"],"default":"post","uniqueKey":"data.platformFields.oneOf.0.instagram.postType","typeLabel":"enum\u003cstring>"},"reelGrid":{"type":"string","enum":["reel_only","reel_and_main"],"default":"reel_only","description":"`reel_and_main` also shows a reel in your main feed.","uniqueKey":"data.platformFields.oneOf.0.instagram.reelGrid","typeLabel":"enum\u003cstring>"},"firstComment":{"type":"string","description":"Posted as the first comment. Not on stories.","uniqueKey":"data.platformFields.oneOf.0.instagram.firstComment","typeLabel":"string"},"collaborators":{"type":"array","maxItems":3,"description":"Instagram usernames to invite as collaborators.","items":{"type":"string","uniqueKey":"data.platformFields.oneOf.0.instagram.collaborators.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.platformFields.oneOf.0.instagram.collaborators","typeLabel":"string[]"}},"uniqueKey":"data.platformFields.oneOf.0.instagram","typeLabel":"object"},"tiktok":{"type":"object","required":["visibility","discloseContent","allowMusic","promotion","allowUsersTo"],"additionalProperties":false,"properties":{"visibility":{"type":"string","enum":["public","friends","followers","private"],"isRequired":true,"uniqueKey":"data.platformFields.oneOf.0.tiktok.visibility","typeLabel":"enum\u003cstring>"},"discloseContent":{"type":"boolean","description":"Whether the post promotes a brand, product or service.","isRequired":true,"uniqueKey":"data.platformFields.oneOf.0.tiktok.discloseContent","typeLabel":"boolean"},"allowMusic":{"type":"boolean","description":"Let TikTok add music to photo posts.","isRequired":true,"uniqueKey":"data.platformFields.oneOf.0.tiktok.allowMusic","typeLabel":"boolean"},"promotion":{"type":"array","description":"Whose promotion it is, when `discloseContent` is true (it's ignored otherwise): `brand` is your own, `branded_content` is a paid partnership. Pick at least one. Branded content can't be private.","items":{"type":"string","enum":["brand","branded_content"],"uniqueKey":"data.platformFields.oneOf.0.tiktok.promotion.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"data.platformFields.oneOf.0.tiktok.promotion","typeLabel":"enum\u003cstring>[]"},"allowUsersTo":{"type":"array","description":"What viewers may do.","items":{"type":"string","enum":["comment","duet","stitch"],"uniqueKey":"data.platformFields.oneOf.0.tiktok.allowUsersTo.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"data.platformFields.oneOf.0.tiktok.allowUsersTo","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"data.platformFields.oneOf.0.tiktok","typeLabel":"object"},"youtube":{"type":"object","required":["visibility","forKids"],"additionalProperties":false,"properties":{"visibility":{"type":"string","enum":["public","unlisted","private"],"isRequired":true,"uniqueKey":"data.platformFields.oneOf.0.youtube.visibility","typeLabel":"enum\u003cstring>"},"forKids":{"type":"boolean","description":"Whether the video is made for kids.","isRequired":true,"uniqueKey":"data.platformFields.oneOf.0.youtube.forKids","typeLabel":"boolean"}},"uniqueKey":"data.platformFields.oneOf.0.youtube","typeLabel":"object"}},"isRequired":true,"uniqueKey":"data.platformFields.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"data.platformFields.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.platformFields","typeLabel":"object | null"},"conversationId":{"oneOf":[{"type":"string","description":"The Postploy assistant chat that made the post, if one did.","isRequired":true,"uniqueKey":"data.conversationId.oneOf.0","typeLabel":"string"},{"type":"null","description":"The Postploy assistant chat that made the post, if one did.","isRequired":true,"uniqueKey":"data.conversationId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.conversationId","typeLabel":"string | null"},"seriesId":{"oneOf":[{"type":"string","description":"Set when the post is one of a repeating series.","isRequired":true,"uniqueKey":"data.seriesId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Set when the post is one of a repeating series.","isRequired":true,"uniqueKey":"data.seriesId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.seriesId","typeLabel":"string | null"},"createdAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time>"},"actions":{"type":"object","description":"What you can do with the post right now.","required":["edit","approve","reject","review","retry","delete"],"properties":{"edit":{"type":"boolean","isRequired":true,"uniqueKey":"data.actions.edit","typeLabel":"boolean"},"approve":{"type":"boolean","isRequired":true,"uniqueKey":"data.actions.approve","typeLabel":"boolean"},"reject":{"type":"boolean","isRequired":true,"uniqueKey":"data.actions.reject","typeLabel":"boolean"},"review":{"type":"boolean","description":"Whether you can send it to an outside reviewer.","isRequired":true,"uniqueKey":"data.actions.review","typeLabel":"boolean"},"retry":{"type":"boolean","isRequired":true,"uniqueKey":"data.actions.retry","typeLabel":"boolean"},"delete":{"type":"boolean","isRequired":true,"uniqueKey":"data.actions.delete","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"data.actions","typeLabel":"object"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"data":{"id":"3f6c2a1b-9d8e-4f7a-b6c5-d4e3f2a1b0c9","status":"scheduled","statusGroup":"scheduled","blockedReason":null,"socialAccountId":"5b0f4c3e-8a2d-4c51-9e7a-1d2f3a4b5c6d","platform":"linkedin","title":null,"text":"Our spring blend is here. Bright, citrusy and roasted this week.","thread":null,"scheduledAt":"2030-01-15T09:00:00.000Z","timezone":"Europe/London","acceptedAt":null,"publishedAt":null,"deletedAt":null,"link":null,"failureReason":null,"failureKind":null,"sentBack":null,"review":null,"attempts":0,"mediaIds":[],"media":[],"platformFields":null,"conversationId":null,"seriesId":null,"createdAt":"2030-01-10T12:00:00.000Z","actions":{"edit":true,"approve":false,"reject":false,"retry":false,"delete":true}}},"examples":{"Example":{"title":"Example","value":{"data":{"id":"3f6c2a1b-9d8e-4f7a-b6c5-d4e3f2a1b0c9","status":"scheduled","statusGroup":"scheduled","blockedReason":null,"socialAccountId":"5b0f4c3e-8a2d-4c51-9e7a-1d2f3a4b5c6d","platform":"linkedin","title":null,"text":"Our spring blend is here. Bright, citrusy and roasted this week.","thread":null,"scheduledAt":"2030-01-15T09:00:00.000Z","timezone":"Europe/London","acceptedAt":null,"publishedAt":null,"deletedAt":null,"link":null,"failureReason":null,"failureKind":null,"sentBack":null,"review":null,"attempts":0,"mediaIds":[],"media":[],"platformFields":null,"conversationId":null,"seriesId":null,"createdAt":"2030-01-10T12:00:00.000Z","actions":{"edit":true,"approve":false,"reject":false,"retry":false,"delete":true}}}}},"exampleType":"examples"}},"exampleType":"examples"},"970c8327-36e4-4f14-abec-1a6ef024cd38":{"description":"The request is invalid, or a post breaks its platform's rules. `message` gives the first problem, and `errors` lists every one with its `path`.","content":{"application/json":{"schema":{"type":"object","required":["statusCode","message","errors","timestamp","route"],"properties":{"statusCode":{"type":"integer","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"message":{"type":"string","description":"What went wrong, in plain words. Safe to show to people.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","description":"Every problem, when there's more than one place to look.","items":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].message","typeLabel":"string"},"path":{"type":"array","description":"Where the problem is, such as `[\"posts\", 0, \"scheduledAt\"]`.","items":{"oneOf":[{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"errors.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | integer"},"uniqueKey":"errors.oneOf.0.items.[INDEX].path","typeLabel":"(string | integer)[]"},"cause":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].cause","typeLabel":"string"},"code":{"type":"string","description":"On plan limits, `PLATFORM_LIMIT_REACHED` or `TOTAL_LIMIT_REACHED`.","uniqueKey":"errors.oneOf.0.items.[INDEX].code","typeLabel":"string"},"platform":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].platform","typeLabel":"string"}},"uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"errors.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Every problem, when there's more than one place to look.","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","description":"Where the problem is, such as `[\"posts\", 0, \"scheduledAt\"]`.","items":{"oneOf":[{"type":"string"},{"type":"integer"}]}},"cause":{"type":"string"},"code":{"type":"string","description":"On plan limits, `PLATFORM_LIMIT_REACHED` or `TOTAL_LIMIT_REACHED`."},"platform":{"type":"string"}}},"isRequired":true,"uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"errors","typeLabel":"object[] | null"},"timestamp":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"route":{"type":"string","isRequired":true,"uniqueKey":"route","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"statusCode":400,"message":"Scheduled date and time must be in the future","errors":[{"message":"Scheduled date and time must be in the future","path":["posts",0,"scheduledAt"],"cause":"custom"}],"timestamp":"2030-01-10T12:00:00.000Z","route":"/public/v1/posts"},"examples":{"Example":{"title":"Example","value":{"statusCode":400,"message":"Scheduled date and time must be in the future","errors":[{"message":"Scheduled date and time must be in the future","path":["posts",0,"scheduledAt"],"cause":"custom"}],"timestamp":"2030-01-10T12:00:00.000Z","route":"/public/v1/posts"}}},"exampleType":"examples"}},"exampleType":"examples"},"5da065ad-4038-4c15-a8b0-add80e8a8478":{"description":"The API key is missing, unknown or revoked.","content":{"application/json":{"schema":{"type":"object","required":["statusCode","message","errors","timestamp","route"],"properties":{"statusCode":{"type":"integer","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"message":{"type":"string","description":"What went wrong, in plain words. Safe to show to people.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","description":"Every problem, when there's more than one place to look.","items":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].message","typeLabel":"string"},"path":{"type":"array","description":"Where the problem is, such as `[\"posts\", 0, \"scheduledAt\"]`.","items":{"oneOf":[{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"errors.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | integer"},"uniqueKey":"errors.oneOf.0.items.[INDEX].path","typeLabel":"(string | integer)[]"},"cause":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].cause","typeLabel":"string"},"code":{"type":"string","description":"On plan limits, `PLATFORM_LIMIT_REACHED` or `TOTAL_LIMIT_REACHED`.","uniqueKey":"errors.oneOf.0.items.[INDEX].code","typeLabel":"string"},"platform":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].platform","typeLabel":"string"}},"uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"errors.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Every problem, when there's more than one place to look.","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","description":"Where the problem is, such as `[\"posts\", 0, \"scheduledAt\"]`.","items":{"oneOf":[{"type":"string"},{"type":"integer"}]}},"cause":{"type":"string"},"code":{"type":"string","description":"On plan limits, `PLATFORM_LIMIT_REACHED` or `TOTAL_LIMIT_REACHED`."},"platform":{"type":"string"}}},"isRequired":true,"uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"errors","typeLabel":"object[] | null"},"timestamp":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"route":{"type":"string","isRequired":true,"uniqueKey":"route","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"statusCode":401,"message":"Invalid API key","errors":null,"timestamp":"2030-01-10T12:00:00.000Z","route":"/public/v1/accounts"},"examples":{"Example":{"title":"Example","value":{"statusCode":401,"message":"Invalid API key","errors":null,"timestamp":"2030-01-10T12:00:00.000Z","route":"/public/v1/accounts"}}},"exampleType":"examples"}},"exampleType":"examples"},"d434954b-5151-407e-b3ff-386084650559":{"description":"Your role doesn't allow this, your team doesn't have a plan, or the posts would go over your plan's monthly limit. Plan limits list each limit in `errors` with a `code` of `PLATFORM_LIMIT_REACHED` or `TOTAL_LIMIT_REACHED`.","content":{"application/json":{"schema":{"type":"object","required":["statusCode","message","errors","timestamp","route"],"properties":{"statusCode":{"type":"integer","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"message":{"type":"string","description":"What went wrong, in plain words. Safe to show to people.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","description":"Every problem, when there's more than one place to look.","items":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].message","typeLabel":"string"},"path":{"type":"array","description":"Where the problem is, such as `[\"posts\", 0, \"scheduledAt\"]`.","items":{"oneOf":[{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"errors.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | integer"},"uniqueKey":"errors.oneOf.0.items.[INDEX].path","typeLabel":"(string | integer)[]"},"cause":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].cause","typeLabel":"string"},"code":{"type":"string","description":"On plan limits, `PLATFORM_LIMIT_REACHED` or `TOTAL_LIMIT_REACHED`.","uniqueKey":"errors.oneOf.0.items.[INDEX].code","typeLabel":"string"},"platform":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].platform","typeLabel":"string"}},"uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"errors.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Every problem, when there's more than one place to look.","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","description":"Where the problem is, such as `[\"posts\", 0, \"scheduledAt\"]`.","items":{"oneOf":[{"type":"string"},{"type":"integer"}]}},"cause":{"type":"string"},"code":{"type":"string","description":"On plan limits, `PLATFORM_LIMIT_REACHED` or `TOTAL_LIMIT_REACHED`."},"platform":{"type":"string"}}},"isRequired":true,"uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"errors","typeLabel":"object[] | null"},"timestamp":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"route":{"type":"string","isRequired":true,"uniqueKey":"route","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"message":"\u003cstring>","errors":[{"message":"\u003cstring>","path":["\u003cstring>"],"cause":"\u003cstring>","code":"\u003cstring>","platform":"\u003cstring>"}],"timestamp":"2023-11-07T05:31:56Z","route":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"bc07bd52-8c13-4698-acbb-c397fab96002":{"description":"It doesn't exist, or you can't see it.","content":{"application/json":{"schema":{"type":"object","required":["statusCode","message","errors","timestamp","route"],"properties":{"statusCode":{"type":"integer","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"message":{"type":"string","description":"What went wrong, in plain words. Safe to show to people.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","description":"Every problem, when there's more than one place to look.","items":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].message","typeLabel":"string"},"path":{"type":"array","description":"Where the problem is, such as `[\"posts\", 0, \"scheduledAt\"]`.","items":{"oneOf":[{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"errors.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | integer"},"uniqueKey":"errors.oneOf.0.items.[INDEX].path","typeLabel":"(string | integer)[]"},"cause":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].cause","typeLabel":"string"},"code":{"type":"string","description":"On plan limits, `PLATFORM_LIMIT_REACHED` or `TOTAL_LIMIT_REACHED`.","uniqueKey":"errors.oneOf.0.items.[INDEX].code","typeLabel":"string"},"platform":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].platform","typeLabel":"string"}},"uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"errors.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Every problem, when there's more than one place to look.","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","description":"Where the problem is, such as `[\"posts\", 0, \"scheduledAt\"]`.","items":{"oneOf":[{"type":"string"},{"type":"integer"}]}},"cause":{"type":"string"},"code":{"type":"string","description":"On plan limits, `PLATFORM_LIMIT_REACHED` or `TOTAL_LIMIT_REACHED`."},"platform":{"type":"string"}}},"isRequired":true,"uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"errors","typeLabel":"object[] | null"},"timestamp":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"route":{"type":"string","isRequired":true,"uniqueKey":"route","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"message":"\u003cstring>","errors":[{"message":"\u003cstring>","path":["\u003cstring>"],"cause":"\u003cstring>","code":"\u003cstring>","platform":"\u003cstring>"}],"timestamp":"2023-11-07T05:31:56Z","route":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"9fbda8e8-3cd9-4241-afc6-d0427c6da2aa":{"description":"The post can't change right now, for example while it's being published, or it isn't waiting for approval.","content":{"application/json":{"schema":{"type":"object","required":["statusCode","message","errors","timestamp","route"],"properties":{"statusCode":{"type":"integer","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"message":{"type":"string","description":"What went wrong, in plain words. Safe to show to people.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","description":"Every problem, when there's more than one place to look.","items":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].message","typeLabel":"string"},"path":{"type":"array","description":"Where the problem is, such as `[\"posts\", 0, \"scheduledAt\"]`.","items":{"oneOf":[{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"errors.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | integer"},"uniqueKey":"errors.oneOf.0.items.[INDEX].path","typeLabel":"(string | integer)[]"},"cause":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].cause","typeLabel":"string"},"code":{"type":"string","description":"On plan limits, `PLATFORM_LIMIT_REACHED` or `TOTAL_LIMIT_REACHED`.","uniqueKey":"errors.oneOf.0.items.[INDEX].code","typeLabel":"string"},"platform":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].platform","typeLabel":"string"}},"uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"errors.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Every problem, when there's more than one place to look.","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","description":"Where the problem is, such as `[\"posts\", 0, \"scheduledAt\"]`.","items":{"oneOf":[{"type":"string"},{"type":"integer"}]}},"cause":{"type":"string"},"code":{"type":"string","description":"On plan limits, `PLATFORM_LIMIT_REACHED` or `TOTAL_LIMIT_REACHED`."},"platform":{"type":"string"}}},"isRequired":true,"uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"errors","typeLabel":"object[] | null"},"timestamp":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"route":{"type":"string","isRequired":true,"uniqueKey":"route","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"statusCode":409,"message":"This post is being published right now","errors":null,"timestamp":"2030-01-15T09:00:01.000Z","route":"/public/v1/posts/3f6c2a1b-9d8e-4f7a-b6c5-d4e3f2a1b0c9"},"examples":{"Example":{"title":"Example","value":{"statusCode":409,"message":"This post is being published right now","errors":null,"timestamp":"2030-01-15T09:00:01.000Z","route":"/public/v1/posts/3f6c2a1b-9d8e-4f7a-b6c5-d4e3f2a1b0c9"}}},"exampleType":"examples"}},"exampleType":"examples"},"d16ec9c7-7fab-4547-97d5-f3e051306140":{"description":"More than 120 requests a minute to this endpoint. All of a person's keys count together. Wait the number of seconds in `Retry-After-caller`, then try again.","headers":{"Retry-After-caller":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["statusCode","message","errors","timestamp","route"],"properties":{"statusCode":{"type":"integer","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"message":{"type":"string","description":"What went wrong, in plain words. Safe to show to people.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","description":"Every problem, when there's more than one place to look.","items":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].message","typeLabel":"string"},"path":{"type":"array","description":"Where the problem is, such as `[\"posts\", 0, \"scheduledAt\"]`.","items":{"oneOf":[{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"errors.oneOf.0.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"errors.oneOf.0.items.[INDEX].path.items.[INDEX]","typeLabel":"string | integer"},"uniqueKey":"errors.oneOf.0.items.[INDEX].path","typeLabel":"(string | integer)[]"},"cause":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].cause","typeLabel":"string"},"code":{"type":"string","description":"On plan limits, `PLATFORM_LIMIT_REACHED` or `TOTAL_LIMIT_REACHED`.","uniqueKey":"errors.oneOf.0.items.[INDEX].code","typeLabel":"string"},"platform":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX].platform","typeLabel":"string"}},"uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"errors.oneOf.0","typeLabel":"object[]"},{"type":"null","description":"Every problem, when there's more than one place to look.","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","description":"Where the problem is, such as `[\"posts\", 0, \"scheduledAt\"]`.","items":{"oneOf":[{"type":"string"},{"type":"integer"}]}},"cause":{"type":"string"},"code":{"type":"string","description":"On plan limits, `PLATFORM_LIMIT_REACHED` or `TOTAL_LIMIT_REACHED`."},"platform":{"type":"string"}}},"isRequired":true,"uniqueKey":"errors.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"errors","typeLabel":"object[] | null"},"timestamp":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"route":{"type":"string","isRequired":true,"uniqueKey":"route","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"message":"\u003cstring>","errors":[{"message":"\u003cstring>","path":["\u003cstring>"],"cause":"\u003cstring>","code":"\u003cstring>","platform":"\u003cstring>"}],"timestamp":"2023-11-07T05:31:56Z","route":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"eb49b752-6b1a-4621-bae9-b28dc7deb0d5":{"apiKey":{"type":"http","scheme":"bearer","description":"An API key from **Settings › AI apps \u0026 API** in Postploy. Keys start with `ppk_`.","scopes":[],"schemeName":"apiKey"}}},"servers":{"c7b0d5b4-45c4-433c-b2b0-3db963b4b5b4":{"url":"https://api.postploy.com/public/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"An API key from **Settings › AI apps \u0026 API** in Postploy. Keys start with `ppk_`.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An API key from **Settings › AI apps \u0026 API** in Postploy. Keys start with `ppk_`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"postploy","siteName":"Postploy","title":"Update a post - Postploy","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-15T15:21:59.211Z","originalFileLocation":"api-reference/posts/update-a-post.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"light\"}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=\"Changes a post that hasn\u0026#x27;t been published. Fields you leave out keep their values. The changed post is checked against its platform before it\u0026#x27;s saved.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Postploy\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/postploy/Bs9Oszu46XuLIi1u/_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/postploy/Bs9Oszu46XuLIi1u/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/postploy/Bs9Oszu46XuLIi1u/_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/postploy/Bs9Oszu46XuLIi1u/_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/postploy/Bs9Oszu46XuLIi1u/_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/postploy/Bs9Oszu46XuLIi1u/_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/postploy/Bs9Oszu46XuLIi1u/_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/postploy/Bs9Oszu46XuLIi1u/_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/postploy/Bs9Oszu46XuLIi1u/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update a post - Postploy\">\u003cmeta data-mint-head property=\"og:description\" content=\"Changes a post that hasn\u0026#x27;t been published. Fields you leave out keep their values. The changed post is checked against its platform before it\u0026#x27;s saved.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Postploy\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.postploy.com/api-reference/posts/update-a-post\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://postploy.mintlify.site/_mintlify/api/og/v2?division=Posts\u0026amp;title=Update+a+post\u0026amp;description=Changes+a+post+that+hasn%27t+been+published.+Fields+you+leave+out+keep+their+values.+The+changed+post+is+checked+against+its+platform+before+it%27s+saved.\u0026amp;theme=219ca000a847486f93742e93\u0026amp;signature=3b709b3d136455190a6618c920ed1b9392817cf01512d59b2076c76ad3555122\">\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 a post - Postploy\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Changes a post that hasn\u0026#x27;t been published. Fields you leave out keep their values. The changed post is checked against its platform before it\u0026#x27;s saved.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://postploy.mintlify.site/_mintlify/api/og/v2?division=Posts\u0026amp;title=Update+a+post\u0026amp;description=Changes+a+post+that+hasn%27t+been+published.+Fields+you+leave+out+keep+their+values.+The+changed+post+is+checked+against+its+platform+before+it%27s+saved.\u0026amp;theme=219ca000a847486f93742e93\u0026amp;signature=3b709b3d136455190a6618c920ed1b9392817cf01512d59b2076c76ad3555122\">\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/postploy/Bs9Oszu46XuLIi1u/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Postploy\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#eb5a3c\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.postploy.com/api-reference/posts/update-a-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/posts/update-a-post.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.postploy.com/#organization\",\"name\":\"Postploy\",\"url\":\"https://docs.postploy.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/postploy/3hizR7ySKP64P-_w/logo/postploy.png?fit=max\u0026auto=format\u0026n=3hizR7ySKP64P-_w\u0026q=85\u0026s=9af20fc85970bb336b2c1a02cecc7964\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.postploy.com#website\",\"name\":\"Postploy\",\"url\":\"https://docs.postploy.com\",\"publisher\":{\"@id\":\"https://docs.postploy.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.postploy.com/api-reference/posts/update-a-post#webpage\",\"url\":\"https://docs.postploy.com/api-reference/posts/update-a-post\",\"name\":\"Update a post\",\"description\":\"Changes a post that hasn't been published. Fields you leave out keep their values. The changed post is checked against its platform before it's saved.\",\"dateModified\":\"2026-11-15T15:21:59.211Z\",\"isPartOf\":{\"@id\":\"https://docs.postploy.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.postploy.com/api-reference/posts/update-a-post#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.postploy.com/api-reference/posts/update-a-post#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Posts\",\"item\":\"https://docs.postploy.com/api-reference/posts/create-posts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update a post\",\"item\":\"https://docs.postploy.com/api-reference/posts/update-a-post\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.postploy.com/api-reference/posts/update-a-post#apireference\",\"headline\":\"Update a post\",\"name\":\"Update a post\",\"description\":\"Changes a post that hasn't been published. Fields you leave out keep their values. The changed post is checked against its platform before it's saved.\",\"url\":\"https://docs.postploy.com/api-reference/posts/update-a-post\",\"mainEntityOfPage\":{\"@id\":\"https://docs.postploy.com/api-reference/posts/update-a-post#webpage\"},\"dateModified\":\"2026-11-15T15:21:59.211Z\",\"publisher\":{\"@id\":\"https://docs.postploy.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.postploy.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Postploy\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Postploy\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/posts/update-a-post.md","siteName":"Postploy","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API reference","groups":[{"group":"Channels","pages":[{"title":"List channels","deprecated":null,"version":null,"openapi":"/openapi.yaml get /accounts","href":"/api-reference/channels/list-channels"},{"title":"Get platform rules","deprecated":null,"version":null,"openapi":"/openapi.yaml get /capabilities","href":"/api-reference/channels/get-platform-rules"}]},{"group":"Posts","pages":[{"title":"Create posts","deprecated":null,"version":null,"openapi":"/openapi.yaml post /posts","href":"/api-reference/posts/create-posts"},{"title":"List posts","deprecated":null,"version":null,"openapi":"/openapi.yaml get /posts","href":"/api-reference/posts/list-posts"},{"title":"Get a post","description":"One post, with its status, time, text, media and, once it's published, its link.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /posts/{id}","href":"/api-reference/posts/get-a-post"},{"title":"Update a post","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /posts/{id}","href":"/api-reference/posts/update-a-post"},{"title":"Delete a post","description":"Deletes a post. A post whose time is still ahead is deleted for good. A post whose time has passed, such as a published or failed one, moves to the [trash](/api-reference/trash/list-trash), where you can restore it.\n\nDeleting never removes a post from the social platform.\n","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /posts/{id}","href":"/api-reference/posts/delete-a-post"},{"title":"Check posts","deprecated":null,"version":null,"openapi":"/openapi.yaml post /posts/validate","href":"/api-reference/posts/check-posts"},{"title":"Count posts","deprecated":null,"version":null,"openapi":"/openapi.yaml get /posts/counts","href":"/api-reference/posts/count-posts"},{"title":"Retry a failed post","deprecated":null,"version":null,"openapi":"/openapi.yaml post /posts/{id}/retry","href":"/api-reference/posts/retry-a-failed-post"}]},{"group":"Approvals","pages":[{"title":"Approve posts","deprecated":null,"version":null,"openapi":"/openapi.yaml post /posts/approve","href":"/api-reference/approvals/approve-posts"},{"title":"Send a post back","deprecated":null,"version":null,"openapi":"/openapi.yaml post /posts/{id}/reject","href":"/api-reference/approvals/send-a-post-back"},{"title":"Suggest reasons to send back","deprecated":null,"version":null,"openapi":"/openapi.yaml get /posts/{id}/reject-reasons","href":"/api-reference/approvals/suggest-reasons-to-send-back"},{"title":"Send posts for review","deprecated":null,"version":null,"openapi":"/openapi.yaml post /reviews","href":"/api-reference/approvals/send-posts-for-review"},{"title":"List reviewers","deprecated":null,"version":null,"openapi":"/openapi.yaml get /reviewers","href":"/api-reference/approvals/list-reviewers"}]},{"group":"Media","pages":[{"title":"Import media","deprecated":null,"version":null,"openapi":"/openapi.yaml post /media","href":"/api-reference/media/import-media"}]},{"group":"Trash","pages":[{"title":"List trash","deprecated":null,"version":null,"openapi":"/openapi.yaml get /trash","href":"/api-reference/trash/list-trash"},{"title":"Restore posts","deprecated":null,"version":null,"openapi":"/openapi.yaml post /trash/restore","href":"/api-reference/trash/restore-posts"},{"title":"Delete posts for good","deprecated":null,"version":null,"openapi":"/openapi.yaml post /trash/delete","href":"/api-reference/trash/delete-posts-for-good"},{"title":"Empty trash","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /trash","href":"/api-reference/trash/empty-trash"}]},{"group":"Webhooks","pages":[{"title":"Add an endpoint","deprecated":null,"version":null,"openapi":"/openapi.yaml post /webhooks","href":"/api-reference/webhooks/add-an-endpoint"},{"title":"List endpoints","deprecated":null,"version":null,"openapi":"/openapi.yaml get /webhooks","href":"/api-reference/webhooks/list-endpoints"},{"title":"Update an endpoint","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /webhooks/{id}","href":"/api-reference/webhooks/update-an-endpoint"},{"title":"Remove an endpoint","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /webhooks/{id}","href":"/api-reference/webhooks/remove-an-endpoint"},{"title":"Send a test event","deprecated":null,"version":null,"openapi":"/openapi.yaml post /webhooks/{id}/test","href":"/api-reference/webhooks/send-a-test-event"},{"title":"Roll the secret","deprecated":null,"version":null,"openapi":"/openapi.yaml post /webhooks/{id}/roll-secret","href":"/api-reference/webhooks/roll-the-secret"},{"title":"List deliveries","deprecated":null,"version":null,"openapi":"/openapi.yaml get /webhooks/{id}/deliveries","href":"/api-reference/webhooks/list-deliveries"},{"title":"Retry a delivery","deprecated":null,"version":null,"openapi":"/openapi.yaml post /webhooks/{id}/deliveries/{deliveryId}/retry","href":"/api-reference/webhooks/retry-a-delivery"},{"title":"List events","deprecated":null,"version":null,"openapi":"/openapi.yaml get /webhooks/events","href":"/api-reference/webhooks/list-events"}]},{"group":"Webhook events","pages":[{"title":"post.published","openapi":"openapi.yaml webhook post.published","href":"/webhooks/events/post-published"},{"title":"post.failed","openapi":"openapi.yaml webhook post.failed","href":"/webhooks/events/post-failed"},{"title":"post.scheduled","openapi":"openapi.yaml webhook post.scheduled","href":"/webhooks/events/post-scheduled"},{"title":"post.pending_approval","openapi":"openapi.yaml webhook post.pending_approval","href":"/webhooks/events/post-pending-approval"},{"title":"account.needs_reconnect","openapi":"openapi.yaml webhook account.needs_reconnect","href":"/webhooks/events/account-needs-reconnect"}]}]}]},"basePath":"","title":"Update a post - Postploy","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CaRkHcld.js","snippetPresets-CbOVSLWB.js","utils-cjri0g4r.js","style-to-object-BY3JEAdk.js","utils-DINdUa17.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-B6z-PJGf.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BldndzCM.js","_Uint8Array-BFUkDgJK.js","isObject-FP1Yky1u.js","Page-DuvGhd6e.js","api-description-markdown-ja0XM5Ae.js","DynamicMarkdown-DgKZ4_wp.js","CodeSnippet-BtGQRZnK.js","use-playground-group-access-98JyaSW7.js","SectionHeading-S4Jc_qPe.js","ApiExamples-gah5G0c1.js","usePlaygroundInputsStore-DMbftGRK.js","shallow-BPuQ-dV8.js","isEqual-Du6c450V.js","CodeSnippets-BSVM0Ibi.js","MethodPill-HIsDH_bI.js","getPastedJson-BKEmMYEO.js","Check2Icon-CRFAnWm9.js","axios-CsQoIw0U.js","Markdown-CexXCNoj.js","AssistantPageLink-C2AZnMAs.js","dist-CjxLTLs9.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}