An Unsora API key (uns_…). A Clerk session token also works.
Path Parameters
id
string
required
Body
application/json
mainCaption
string
New caption. Must not be empty.
Minimum string length: 1
scheduledFor
string<date-time>integer
A date (ISO 8601 or Unix time in milliseconds) moves the post to SCHEDULED. null or an empty string clears the schedule; a SCHEDULED post returns to DRAFT.
timezone
string
IANA time zone name stored with the schedule. Read only when scheduledFor is a date. Clearing the schedule also clears the time zone.
accounts
object[]
Replaces the account list. Accounts that already published are kept unchanged. Listed accounts are updated or added, and unpublished accounts that are not listed are removed. Existing accounts keep their platform settings; added accounts have none.
Minimum array length: 1
Show child attributes
Response
Updated. message is "Post updated successfully".
success
boolean
required
data
object
required
Show child attributes
message
string
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Unsora","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/unsora/hBbS6huxfnFCRHUr/logo/light.png?fit=max\u0026auto=format\u0026n=hBbS6huxfnFCRHUr\u0026q=85\u0026s=e417d3deac3ddd54dfaa876f7098d1d1","dark":"https://mintcdn.com/unsora/hBbS6huxfnFCRHUr/logo/dark.png?fit=max\u0026auto=format\u0026n=hBbS6huxfnFCRHUr\u0026q=85\u0026s=13cdeeff877407b1cd78ddb3e7a1b249"},"favicon":"https://mintcdn.com/unsora/zm5r4_ky41axrVkp/favicon.png?fit=max\u0026auto=format\u0026n=zm5r4_ky41axrVkp\u0026q=85\u0026s=646223c2aae3884830bb5a22097c2560","navbar":{"links":[{"href":"mailto:hi@tryunsora.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.tryunsora.com"}},"footer":{"socials":{"x":"https://x.com/unsora_ai","github":"https://github.com/Shipped-Studio/docs.tryunsora.com"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"unsora","hasAudioNarration":false,"actualSubdomain":"unsora","customDomains":["tryunsora.com"],"gitSource":{"type":"github","owner":"shipped-studio","repo":"docs.tryunsora.com","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b01f509523136e81ea29edb","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"default","tag":"Posts","count":7},{"language":"default","tag":"Music generator","count":6},{"language":"default","tag":"Integrations","count":6},{"language":"default","tag":"Clipping","count":5},{"language":"default","tag":"Generation status","count":5},{"language":"default","tag":"Uploads","count":5},{"language":"default","tag":"Guides","count":5},{"language":"default","tag":"Image generator","count":4},{"language":"default","tag":"Thumbnail generator","count":4},{"language":"default","tag":"Voiceover","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/posts/update_post","slug":"/api-reference/posts/update_post","pageMetadata":{"title":"Update post","description":"Change a post's caption, schedule time, time zone or accounts before it publishes. Media and settings can't be changed. Returns the updated post.","openapi":"PUT /posts/{id}","href":"/api-reference/posts/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: \"Change a post’s caption, schedule time, time zone or accounts before it publishes. Media and settings can’t be changed. Returns the updated post.\"\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 post","description":"Change a post's caption, schedule time, time zone or accounts before it publishes. Media and settings can't be changed. Returns the updated post.","openapi":"PUT /posts/{id}","href":"/api-reference/posts/update_post"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Scheduler"],"summary":"Update a post","description":"Change a post's caption, schedule time, time zone or accounts before it publishes. Media and settings can't be changed. Returns the updated post.","security":["35030792-ef38-4e06-8f83-a24412ff0582"],"parameters":["2df38f6a-e6b3-49dd-9a59-db9627cce9ff"],"requestBody":"ad452cc7-0208-4712-8c67-6d9f671f6c2a","responses":{"200":"1432c5a7-c2a6-4f53-8590-e60a79c736a6","400":"0984a1d3-d4c6-434c-b4ea-4d8853026bd9","403":"1e75917b-df9f-4ffc-99e5-81a56f2f35c4","404":"780bc8bc-a90d-40a3-8ec7-c778584bfcc7","409":"bf89fec8-a8d8-4015-9e72-fed0afa1dc91"},"method":"put","type":"path","servers":["837411cf-08da-441f-a004-b81790348911","803c5154-ef26-4c7b-a9bf-eb9de5fb7151"],"path":"/posts/{id}","baseUrlOptions":["https://mvp.tryunsora.com/api/v1","/api/v1"],"title":"Update a post","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"2df38f6a-e6b3-49dd-9a59-db9627cce9ff":{"name":"id","in":"path","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mainCaption":{"type":"string","minLength":1,"description":"New caption. Must not be empty.","uniqueKey":"mainCaption","typeLabel":"string"},"scheduledFor":{"oneOf":[{"type":"string","description":"A date (ISO 8601 or Unix time in milliseconds) moves the post to SCHEDULED. null or an empty string clears the schedule; a SCHEDULED post returns to DRAFT.","format":"date-time","uniqueKey":"scheduledFor.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"integer","description":"A date (ISO 8601 or Unix time in milliseconds) moves the post to SCHEDULED. null or an empty string clears the schedule; a SCHEDULED post returns to DRAFT.","uniqueKey":"scheduledFor.oneOf.1","typeLabel":"integer"},{"type":"null","description":"A date (ISO 8601 or Unix time in milliseconds) moves the post to SCHEDULED. null or an empty string clears the schedule; a SCHEDULED post returns to DRAFT.","uniqueKey":"scheduledFor.oneOf.2","typeLabel":"null"}],"uniqueKey":"scheduledFor","typeLabel":"string\u003cdate-time> | integer | null"},"timezone":{"type":"string","description":"IANA time zone name stored with the schedule. Read only when scheduledFor is a date. Clearing the schedule also clears the time zone.","uniqueKey":"timezone","typeLabel":"string"},"accounts":{"type":"array","minItems":1,"description":"Replaces the account list. Accounts that already published are kept unchanged. Listed accounts are updated or added, and unpublished accounts that are not listed are removed. Existing accounts keep their platform settings; added accounts have none.","items":{"type":"object","properties":{"accountId":{"type":"string","description":"Connected account id from GET /accounts.","isRequired":true,"uniqueKey":"accounts.items.[INDEX].accountId","typeLabel":"string"},"customCaption":{"oneOf":[{"type":"string","uniqueKey":"accounts.items.[INDEX].customCaption.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"accounts.items.[INDEX].customCaption.oneOf.1","typeLabel":"null"}],"uniqueKey":"accounts.items.[INDEX].customCaption","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"accounts.items.[INDEX].title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"accounts.items.[INDEX].title.oneOf.1","typeLabel":"null"}],"uniqueKey":"accounts.items.[INDEX].title","typeLabel":"string | null"}},"required":["accountId"],"uniqueKey":"accounts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"accounts","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"mainCaption":"\u003cstring>","scheduledFor":"2023-11-07T05:31:56Z","timezone":"\u003cstring>","accounts":[{"accountId":"\u003cstring>","customCaption":"\u003cstring>","title":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"1432c5a7-c2a6-4f53-8590-e60a79c736a6":{"description":"Updated. `message` is \"Post updated successfully\".","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"data":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"type":{"type":"string","enum":["VIDEO","IMAGE","CAROUSEL","TEXT"],"isRequired":true,"uniqueKey":"data.type","typeLabel":"enum\u003cstring>"},"mainCaption":{"type":"string","isRequired":true,"uniqueKey":"data.mainCaption","typeLabel":"string"},"status":{"type":"string","enum":["DRAFT","SCHEDULED","PUBLISHING","PUBLISHED","PARTIALLY_PUBLISHED","FAILED"],"description":"PUBLISHED: every account published. PARTIALLY_PUBLISHED: at least one account published and at least one failed. FAILED: no account published.","isRequired":true,"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"scheduledFor":{"oneOf":[{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.scheduledFor.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","isRequired":true,"uniqueKey":"data.scheduledFor.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.scheduledFor","typeLabel":"string\u003cdate-time> | null"},"source":{"type":"string","enum":["WEB","API","MCP"],"description":"Where the post was created: the web app, the REST API, or the Unsora MCP server (requests with header X-Unsora-Client: mcp).","isRequired":true,"uniqueKey":"data.source","typeLabel":"enum\u003cstring>"},"createdAt":{"type":"string","format":"date-time","isRequired":true,"uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time>"},"media":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.media.items.[INDEX].id","typeLabel":"string"},"postId":{"type":"string","isRequired":true,"uniqueKey":"data.media.items.[INDEX].postId","typeLabel":"string"},"type":{"type":"string","enum":["VIDEO","IMAGE","THUMBNAIL"],"isRequired":true,"uniqueKey":"data.media.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"order":{"type":"integer","isRequired":true,"uniqueKey":"data.media.items.[INDEX].order","typeLabel":"integer"},"assetId":{"type":"string","isRequired":true,"uniqueKey":"data.media.items.[INDEX].assetId","typeLabel":"string"},"asset":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.media.items.[INDEX].asset.id","typeLabel":"string"},"url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"data.media.items.[INDEX].asset.url","typeLabel":"string\u003curi>"},"mimeType":{"type":"string","isRequired":true,"uniqueKey":"data.media.items.[INDEX].asset.mimeType","typeLabel":"string"},"type":{"type":"string","enum":["IMAGE","VIDEO","AUDIO","DOCUMENT"],"isRequired":true,"uniqueKey":"data.media.items.[INDEX].asset.type","typeLabel":"enum\u003cstring>"},"userId":{"type":"string","uniqueKey":"data.media.items.[INDEX].asset.userId","typeLabel":"string"},"name":{"type":"string","uniqueKey":"data.media.items.[INDEX].asset.name","typeLabel":"string"},"source":{"type":"string","enum":["UPLOAD","GENERATION","PROCESSING","EXPORT","SYSTEM"],"uniqueKey":"data.media.items.[INDEX].asset.source","typeLabel":"enum\u003cstring>"},"folderId":{"oneOf":[{"type":"string","description":"Library folder the file is in, if any.","uniqueKey":"data.media.items.[INDEX].asset.folderId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Library folder the file is in, if any.","uniqueKey":"data.media.items.[INDEX].asset.folderId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.media.items.[INDEX].asset.folderId","typeLabel":"string | null"},"fileSize":{"oneOf":[{"type":"string","description":"Size in bytes, serialized as a string.","uniqueKey":"data.media.items.[INDEX].asset.fileSize.oneOf.0","typeLabel":"string"},{"type":"null","description":"Size in bytes, serialized as a string.","uniqueKey":"data.media.items.[INDEX].asset.fileSize.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.media.items.[INDEX].asset.fileSize","typeLabel":"string | null"},"width":{"oneOf":[{"type":"integer","uniqueKey":"data.media.items.[INDEX].asset.width.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.media.items.[INDEX].asset.width.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.media.items.[INDEX].asset.width","typeLabel":"integer | null"},"height":{"oneOf":[{"type":"integer","uniqueKey":"data.media.items.[INDEX].asset.height.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"data.media.items.[INDEX].asset.height.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.media.items.[INDEX].asset.height","typeLabel":"integer | null"},"duration":{"oneOf":[{"type":"number","description":"Duration in seconds.","uniqueKey":"data.media.items.[INDEX].asset.duration.oneOf.0","typeLabel":"number"},{"type":"null","description":"Duration in seconds.","uniqueKey":"data.media.items.[INDEX].asset.duration.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.media.items.[INDEX].asset.duration","typeLabel":"number | null"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"data.media.items.[INDEX].asset.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"data.media.items.[INDEX].asset.updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["id","url","mimeType","type"],"isRequired":true,"uniqueKey":"data.media.items.[INDEX].asset","typeLabel":"object"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"data.media.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"data.media.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["id","postId","type","order","assetId","asset"],"uniqueKey":"data.media.items.[INDEX]","typeLabel":"object"},"description":"Sorted by order.","isRequired":true,"uniqueKey":"data.media","typeLabel":"object[]"},"postAccounts":{"type":"array","items":{"type":"object","description":"One account a post targets, with its publish result.","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.postAccounts.items.[INDEX].id","typeLabel":"string"},"postId":{"type":"string","isRequired":true,"uniqueKey":"data.postAccounts.items.[INDEX].postId","typeLabel":"string"},"accountId":{"type":"string","isRequired":true,"uniqueKey":"data.postAccounts.items.[INDEX].accountId","typeLabel":"string"},"published":{"type":"boolean","isRequired":true,"uniqueKey":"data.postAccounts.items.[INDEX].published","typeLabel":"boolean"},"account":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"data.postAccounts.items.[INDEX].account.id","typeLabel":"string"},"provider":{"type":"string","description":"google (YouTube), tiktok, instagram, facebook, threads, bluesky, pinterest, linkedin, x or google_business (one account per Business Profile location).","isRequired":true,"uniqueKey":"data.postAccounts.items.[INDEX].account.provider","typeLabel":"string"},"accountName":{"oneOf":[{"type":"string","uniqueKey":"data.postAccounts.items.[INDEX].account.accountName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.postAccounts.items.[INDEX].account.accountName.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.postAccounts.items.[INDEX].account.accountName","typeLabel":"string | null"},"accountUsername":{"oneOf":[{"type":"string","uniqueKey":"data.postAccounts.items.[INDEX].account.accountUsername.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.postAccounts.items.[INDEX].account.accountUsername.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.postAccounts.items.[INDEX].account.accountUsername","typeLabel":"string | null"},"profilePicture":{"oneOf":[{"type":"string","uniqueKey":"data.postAccounts.items.[INDEX].account.profilePicture.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.postAccounts.items.[INDEX].account.profilePicture.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.postAccounts.items.[INDEX].account.profilePicture","typeLabel":"string | null"}},"required":["id","provider"],"isRequired":true,"uniqueKey":"data.postAccounts.items.[INDEX].account","typeLabel":"object"},"customCaption":{"oneOf":[{"type":"string","uniqueKey":"data.postAccounts.items.[INDEX].customCaption.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.postAccounts.items.[INDEX].customCaption.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.postAccounts.items.[INDEX].customCaption","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"data.postAccounts.items.[INDEX].title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.postAccounts.items.[INDEX].title.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.postAccounts.items.[INDEX].title","typeLabel":"string | null"},"settings":{"oneOf":[{"type":"object","description":"Platform options stored for this account (the matching entry of PostPlatformSettings).","additionalProperties":true,"uniqueKey":"data.postAccounts.items.[INDEX].settings.oneOf.0","typeLabel":"object"},{"type":"null","description":"Platform options stored for this account (the matching entry of PostPlatformSettings).","uniqueKey":"data.postAccounts.items.[INDEX].settings.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.postAccounts.items.[INDEX].settings","typeLabel":"object | null"},"publishedAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.postAccounts.items.[INDEX].publishedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.postAccounts.items.[INDEX].publishedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.postAccounts.items.[INDEX].publishedAt","typeLabel":"string\u003cdate-time> | null"},"publishedPostId":{"oneOf":[{"type":"string","description":"Post id on the platform.","uniqueKey":"data.postAccounts.items.[INDEX].publishedPostId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Post id on the platform.","uniqueKey":"data.postAccounts.items.[INDEX].publishedPostId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.postAccounts.items.[INDEX].publishedPostId","typeLabel":"string | null"},"publishedUrl":{"oneOf":[{"type":"string","description":"Public URL of the post on the platform.","uniqueKey":"data.postAccounts.items.[INDEX].publishedUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"Public URL of the post on the platform.","uniqueKey":"data.postAccounts.items.[INDEX].publishedUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.postAccounts.items.[INDEX].publishedUrl","typeLabel":"string | null"},"error":{"oneOf":[{"type":"string","description":"Error from the last publish attempt for this account.","uniqueKey":"data.postAccounts.items.[INDEX].error.oneOf.0","typeLabel":"string"},{"type":"null","description":"Error from the last publish attempt for this account.","uniqueKey":"data.postAccounts.items.[INDEX].error.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.postAccounts.items.[INDEX].error","typeLabel":"string | null"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"data.postAccounts.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"data.postAccounts.items.[INDEX].updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["id","postId","accountId","published","account"],"uniqueKey":"data.postAccounts.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.postAccounts","typeLabel":"object[]"},"userId":{"type":"string","uniqueKey":"data.userId","typeLabel":"string"},"error":{"oneOf":[{"type":"string","description":"Summary of the last publishing failure.","uniqueKey":"data.error.oneOf.0","typeLabel":"string"},{"type":"null","description":"Summary of the last publishing failure.","uniqueKey":"data.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.error","typeLabel":"string | null"},"scheduledTimezone":{"oneOf":[{"type":"string","uniqueKey":"data.scheduledTimezone.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.scheduledTimezone.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.scheduledTimezone","typeLabel":"string | null"},"publishedAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.publishedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.publishedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.publishedAt","typeLabel":"string\u003cdate-time> | null"},"apiKeyId":{"oneOf":[{"type":"string","description":"API key used to create the post. Null when it was created with a Clerk session or OAuth token.","uniqueKey":"data.apiKeyId.oneOf.0","typeLabel":"string"},{"type":"null","description":"API key used to create the post. Null when it was created with a Clerk session or OAuth token.","uniqueKey":"data.apiKeyId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.apiKeyId","typeLabel":"string | null"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"data.updatedAt","typeLabel":"string\u003cdate-time>"}},"required":["id","type","mainCaption","status","scheduledFor","source","createdAt","media","postAccounts"],"isRequired":true,"uniqueKey":"data","typeLabel":"object"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"required":["success","data"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"id":"\u003cstring>","type":"VIDEO","mainCaption":"\u003cstring>","status":"DRAFT","scheduledFor":"2023-11-07T05:31:56Z","source":"WEB","createdAt":"2023-11-07T05:31:56Z","media":[{"id":"\u003cstring>","postId":"\u003cstring>","type":"VIDEO","order":123,"assetId":"\u003cstring>","asset":{"id":"\u003cstring>","url":"\u003cstring>","mimeType":"\u003cstring>","type":"IMAGE","userId":"\u003cstring>","name":"\u003cstring>","source":"UPLOAD","folderId":"\u003cstring>","fileSize":"\u003cstring>","width":123,"height":123,"duration":123,"createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"},"createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}],"postAccounts":[{"id":"\u003cstring>","postId":"\u003cstring>","accountId":"\u003cstring>","published":true,"account":{"id":"\u003cstring>","provider":"\u003cstring>","accountName":"\u003cstring>","accountUsername":"\u003cstring>","profilePicture":"\u003cstring>"},"customCaption":"\u003cstring>","title":"\u003cstring>","settings":{},"publishedAt":"2023-11-07T05:31:56Z","publishedPostId":"\u003cstring>","publishedUrl":"\u003cstring>","error":"\u003cstring>","createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}],"userId":"\u003cstring>","error":"\u003cstring>","scheduledTimezone":"\u003cstring>","publishedAt":"2023-11-07T05:31:56Z","apiKeyId":"\u003cstring>","updatedAt":"2023-11-07T05:31:56Z"},"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"0984a1d3-d4c6-434c-b4ea-4d8853026bd9":{"description":"Invalid field, `scheduledFor` less than 1 minute ahead (code SCHEDULE_IN_PAST), or the post is PUBLISHED and can't be edited.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","success":true,"code":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"1e75917b-df9f-4ffc-99e5-81a56f2f35c4":{"description":"PLAN_REQUIRED: no active paid plan. Also returned without a code when an account does not belong to the caller.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","success":true,"code":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"780bc8bc-a90d-40a3-8ec7-c778584bfcc7":{"description":"Post not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","success":true,"code":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"bf89fec8-a8d8-4015-9e72-fed0afa1dc91":{"description":"The post is PUBLISHING. Try again after it finishes.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","success":true,"code":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"35030792-ef38-4e06-8f83-a24412ff0582":{"bearerAuth":{"type":"http","scheme":"bearer","description":"An Unsora API key (`uns_…`). A Clerk session token also works.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"837411cf-08da-441f-a004-b81790348911":{"url":"https://mvp.tryunsora.com/api/v1","description":"Production"},"803c5154-ef26-4c7b-a9bf-eb9de5fb7151":{"url":"/api/v1","description":"This server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"An Unsora API key (`uns_…`). A Clerk session token also works.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An Unsora API key (`uns_…`). A Clerk session token also works.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"unsora","siteName":"Unsora","title":"Update post - Unsora","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-02T13:12:19.575Z","originalFileLocation":"api-reference/posts/update_post.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Change a post\u0026#x27;s caption, schedule time, time zone or accounts before it publishes. Media and settings can\u0026#x27;t be changed. Returns the updated post.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Unsora\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/unsora/VEmoNbtiawdwhS6b/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/unsora/VEmoNbtiawdwhS6b/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/unsora/VEmoNbtiawdwhS6b/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/unsora/VEmoNbtiawdwhS6b/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/unsora/VEmoNbtiawdwhS6b/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/unsora/VEmoNbtiawdwhS6b/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/unsora/VEmoNbtiawdwhS6b/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/unsora/VEmoNbtiawdwhS6b/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/unsora/VEmoNbtiawdwhS6b/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update post - Unsora\">\u003cmeta data-mint-head property=\"og:description\" content=\"Change a post\u0026#x27;s caption, schedule time, time zone or accounts before it publishes. Media and settings can\u0026#x27;t be changed. Returns the updated post.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Unsora\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://tryunsora.com/docs/api-reference/posts/update_post\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://unsora.mintlify.site/docs/_mintlify/api/og/v2?division=Posts\u0026amp;title=Update+post\u0026amp;description=Change+a+post%27s+caption%2C+schedule+time%2C+time+zone+or+accounts+before+it+publishes.+Media+and+settings+can%27t+be+changed.+Returns+the+updated+post.\u0026amp;theme=b56eb3e59b3d463cd1418fe3\u0026amp;signature=20e2f6b7a2de390a4ad4fe80c589cad2fb34381d9f9f04c9c0ebebcdf49f660d\">\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 - Unsora\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Change a post\u0026#x27;s caption, schedule time, time zone or accounts before it publishes. Media and settings can\u0026#x27;t be changed. Returns the updated post.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://unsora.mintlify.site/docs/_mintlify/api/og/v2?division=Posts\u0026amp;title=Update+post\u0026amp;description=Change+a+post%27s+caption%2C+schedule+time%2C+time+zone+or+accounts+before+it+publishes.+Media+and+settings+can%27t+be+changed.+Returns+the+updated+post.\u0026amp;theme=b56eb3e59b3d463cd1418fe3\u0026amp;signature=20e2f6b7a2de390a4ad4fe80c589cad2fb34381d9f9f04c9c0ebebcdf49f660d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/unsora/VEmoNbtiawdwhS6b/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Unsora\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://tryunsora.com/docs/api-reference/posts/update_post\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/posts/update_post.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://tryunsora.com/#organization\",\"name\":\"Unsora\",\"url\":\"https://tryunsora.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/unsora/hBbS6huxfnFCRHUr/logo/light.png?fit=max\u0026auto=format\u0026n=hBbS6huxfnFCRHUr\u0026q=85\u0026s=e417d3deac3ddd54dfaa876f7098d1d1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://tryunsora.com/docs#website\",\"name\":\"Unsora\",\"url\":\"https://tryunsora.com/docs\",\"publisher\":{\"@id\":\"https://tryunsora.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://tryunsora.com/docs/api-reference/posts/update_post#webpage\",\"url\":\"https://tryunsora.com/docs/api-reference/posts/update_post\",\"name\":\"Update post\",\"description\":\"Change a post's caption, schedule time, time zone or accounts before it publishes. Media and settings can't be changed. Returns the updated post.\",\"dateModified\":\"2026-11-02T13:12:19.575Z\",\"isPartOf\":{\"@id\":\"https://tryunsora.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://tryunsora.com/docs/api-reference/posts/update_post#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://tryunsora.com/docs/api-reference/posts/update_post#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Posts\",\"item\":\"https://tryunsora.com/docs/api-reference/posts/create_post\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update post\",\"item\":\"https://tryunsora.com/docs/api-reference/posts/update_post\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://tryunsora.com/docs/api-reference/posts/update_post#apireference\",\"headline\":\"Update post\",\"name\":\"Update post\",\"description\":\"Change a post's caption, schedule time, time zone or accounts before it publishes. Media and settings can't be changed. Returns the updated post.\",\"url\":\"https://tryunsora.com/docs/api-reference/posts/update_post\",\"mainEntityOfPage\":{\"@id\":\"https://tryunsora.com/docs/api-reference/posts/update_post#webpage\"},\"dateModified\":\"2026-11-02T13:12:19.575Z\",\"publisher\":{\"@id\":\"https://tryunsora.com/#organization\"},\"isPartOf\":{\"@id\":\"https://tryunsora.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Unsora\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Unsora\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/posts/update_post.md","siteName":"Unsora","nav":{"global":null,"groups":[{"group":"API documentation","pages":[{"title":"Get started","href":"/get-started"},{"title":"API guide","href":"/api-guide"},{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Guides","pages":[{"title":"Plans and credits","href":"/guides/plans-and-credits"},{"title":"Platforms","href":"/guides/platforms"},{"title":"Connect accounts","href":"/guides/connect-accounts"},{"title":"Scheduler","href":"/guides/scheduler"},{"title":"Analytics","href":"/guides/analytics"}]},{"group":"CLI","pages":[{"title":"CLI quickstart","href":"/cli/quickstart"},{"title":"Generate media","href":"/cli/generate"},{"title":"Upload media","href":"/cli/uploads"},{"title":"Social posting","href":"/cli/social-posting"}]},{"group":"Integrations","pages":[{"title":"MCP server","href":"/integrations/mcp"},{"title":"Unsora for Claude","href":"/integrations/claude"},{"title":"Zapier","href":"/integrations/zapier"},{"title":"Make","href":"/integrations/make"},{"title":"n8n","href":"/integrations/n8n"},{"title":"Activepieces","href":"/integrations/activepieces"}]},{"group":"User","pages":[{"title":"Current account","openapi":"GET /user/me","href":"/api-reference/user/me"},{"title":"Credits balance","openapi":"GET /user/credits","href":"/api-reference/user/credits"},{"title":"Subscription","openapi":"GET /user/subscription","href":"/api-reference/user/subscription"}]},{"group":"Accounts","pages":[{"title":"Get accounts","openapi":"GET /accounts","href":"/api-reference/accounts/get_accounts"},{"title":"Pinterest boards","openapi":"GET /accounts/{accountId}/pinterest/boards","href":"/api-reference/accounts/pinterest-boards"},{"title":"TikTok creator info","openapi":"GET /accounts/{accountId}/tiktok/creator-info","href":"/api-reference/accounts/tiktok-creator-info"}]},{"group":"Posts","pages":[{"title":"Create Post","openapi":"POST /posts","href":"/api-reference/posts/create_post"},{"title":"List Posts","openapi":"GET /posts","href":"/api-reference/posts/list_posts"},{"title":"Get post","description":"Fetch a single post by ID, including its schedule time, target platforms, media attachments, captions, and per-platform publish status.","openapi":"GET /posts/{id}","href":"/api-reference/posts/get_post"},{"title":"Update post","openapi":"PUT /posts/{id}","href":"/api-reference/posts/update_post"},{"title":"Publish post","description":"Start publishing a draft or scheduled post now. Returns 202 straight away; poll Get post for per-platform results.","openapi":"POST /posts/{id}/publish","href":"/api-reference/posts/publish"},{"title":"Retry post","openapi":"POST /posts/{id}/retry","href":"/api-reference/posts/retry"},{"title":"Delete post","openapi":"DELETE /posts/{id}","href":"/api-reference/posts/delete_post"}]},{"group":"Analytics","pages":[{"title":"Analytics summary","openapi":"GET /posts/analytics/summary","href":"/api-reference/analytics/summary"},{"title":"Refresh analytics","openapi":"POST /posts/analytics/refresh","href":"/api-reference/analytics/refresh"}]},{"group":"Models and pricing","pages":[{"title":"List models","openapi":"GET /catalog","href":"/api-reference/catalog/list"},{"title":"Quote a generation","openapi":"POST /catalog/quote","href":"/api-reference/catalog/quote"},{"title":"Generate","openapi":"POST /catalog/generate","href":"/api-reference/catalog/generate"}]},{"group":"Generation status","pages":[{"title":"Poll generation status","openapi":"GET /image/status/{id}","href":"/api-reference/image/poll-status"},{"title":"Poll video status","openapi":"GET /video/status/{id}","href":"/api-reference/video/poll-status"},{"title":"Poll music status","openapi":"GET /music/status/{id}","href":"/api-reference/music/poll-status"},{"title":"Poll voiceover status","openapi":"GET /voiceovers/status/{id}","href":"/api-reference/voiceovers/poll-status"},{"title":"Poll clipping status","openapi":"GET /clippings/status/{clippingId}","href":"/api-reference/clippings/poll-status"}]},{"group":"Video generator","pages":[{"title":"Create video","openapi":"POST /videos/create","href":"/api-reference/video/create"},{"title":"List video generations","openapi":"GET /videos/all","href":"/api-reference/video/list"},{"title":"Delete video generation","openapi":"DELETE /videos/{generationId}","href":"/api-reference/video/delete"}]},{"group":"Image generator","pages":[{"title":"Create image","openapi":"POST /image-generations/create","href":"/api-reference/image-generations/create"},{"title":"List generations","openapi":"GET /image-generations/all","href":"/api-reference/image-generations/list"},{"title":"Get image generation","openapi":"GET /image-generations/{generationId}","href":"/api-reference/image-generations/get"},{"title":"Delete generation","openapi":"DELETE /image-generations/{generationId}","href":"/api-reference/image-generations/delete"}]},{"group":"Music generator","pages":[{"title":"Create song","openapi":"POST /music-generations/create","href":"/api-reference/music-generations/create"},{"title":"List generations","openapi":"GET /music-generations/all","href":"/api-reference/music-generations/list"},{"title":"Get generation","openapi":"GET /music-generations/{generationId}","href":"/api-reference/music-generations/get"},{"title":"Delete generation","openapi":"DELETE /music-generations/{generationId}","href":"/api-reference/music-generations/delete"},{"title":"Music generator","href":"/guides/music-generator/overview"},{"title":"Playback \u0026 player","href":"/guides/music-generator/playback"}]},{"group":"Voiceover","pages":[{"title":"List voices","openapi":"GET /voiceovers/voices","href":"/api-reference/voiceovers/voices"},{"title":"Create voiceover","openapi":"POST /voiceovers/create","href":"/api-reference/voiceovers/create"},{"title":"List voiceovers","openapi":"GET /voiceovers/all","href":"/api-reference/voiceovers/list"},{"title":"Delete voiceover","openapi":"DELETE /voiceovers/{generationId}","href":"/api-reference/voiceovers/delete"}]},{"group":"Voice clones","pages":[{"title":"List voices you can use","openapi":"GET /voice-clones","href":"/api-reference/voice-clones/list"},{"title":"Clone a voice","openapi":"POST /voice-clones/create","href":"/api-reference/voice-clones/create"},{"title":"Delete cloned voice","openapi":"DELETE /voice-clones/{cloneId}","href":"/api-reference/voice-clones/delete"}]},{"group":"Voice changer","pages":[{"title":"Re-voice a recording","openapi":"POST /voice-conversions/create","href":"/api-reference/voice-conversions/create"},{"title":"List voice-changer jobs","openapi":"GET /voice-conversions/all","href":"/api-reference/voice-conversions/list"},{"title":"Delete voice-changer job","openapi":"DELETE /voice-conversions/{conversionId}","href":"/api-reference/voice-conversions/delete"}]},{"group":"AI influencer","pages":[{"title":"Create influencer","openapi":"POST /influencer-studio/create","href":"/api-reference/influencer-studio/create"},{"title":"Get influencers","openapi":"GET /influencer-studio/all","href":"/api-reference/influencer-studio/list"},{"title":"Delete influencer","openapi":"DELETE /influencer-studio/{generationId}","href":"/api-reference/influencer-studio/delete"}]},{"group":"Thumbnail generator","pages":[{"title":"Create thumbnail","openapi":"POST /thumbnails/create","href":"/api-reference/thumbnails/create"},{"title":"List thumbnails","openapi":"GET /thumbnails","href":"/api-reference/thumbnails/list"},{"title":"Get thumbnail","openapi":"GET /thumbnails/{generationId}","href":"/api-reference/thumbnails/get"},{"title":"Delete thumbnail","openapi":"DELETE /thumbnails/{generationId}","href":"/api-reference/thumbnails/delete"}]},{"group":"Clipping","pages":[{"title":"Create clipping","openapi":"POST /clippings/create","href":"/api-reference/clippings/create"},{"title":"List clipping jobs","openapi":"GET /clippings/all","href":"/api-reference/clippings/list"},{"title":"Get clipping job","openapi":"GET /clippings/{clippingId}","href":"/api-reference/clippings/get"},{"title":"Delete clipping job","openapi":"DELETE /clippings/{clippingId}","href":"/api-reference/clippings/delete"},{"title":"Delete clip","openapi":"DELETE /clippings/{clippingId}/clips/{clipId}","href":"/api-reference/clippings/delete-clip"}]},{"group":"Image upscaler","pages":[{"title":"Upscale image","openapi":"POST /image-upscaler/create","href":"/api-reference/image-upscaler/create"},{"title":"List image upscales","openapi":"GET /image-upscaler/all","href":"/api-reference/image-upscaler/list"},{"title":"Delete image upscale","openapi":"DELETE /image-upscaler/{jobId}","href":"/api-reference/image-upscaler/delete"}]},{"group":"Video upscaler","pages":[{"title":"Upscale video","openapi":"POST /video-upscaler/create","href":"/api-reference/video-upscaler/create"},{"title":"List video upscales","openapi":"GET /video-upscaler/all","href":"/api-reference/video-upscaler/list"},{"title":"Delete video upscale","openapi":"DELETE /video-upscaler/{jobId}","href":"/api-reference/video-upscaler/delete"}]},{"group":"Subtitle removal","pages":[{"title":"Remove subtitles","openapi":"POST /watermark-removal/create","href":"/api-reference/watermark-removal/create"},{"title":"List subtitle removals","openapi":"GET /watermark-removal/all","href":"/api-reference/watermark-removal/list"},{"title":"Delete subtitle removal","openapi":"DELETE /watermark-removal/{videoId}","href":"/api-reference/watermark-removal/delete"}]},{"group":"Motion control","pages":[{"title":"Motion control","openapi":"POST /motion-control/create","href":"/api-reference/motion-control/create"},{"title":"List motion-control videos","openapi":"GET /motion-control/all","href":"/api-reference/motion-control/list"},{"title":"Delete motion-control video","openapi":"DELETE /motion-control/{generationId}","href":"/api-reference/motion-control/delete"}]},{"group":"Talking avatar","pages":[{"title":"Talking avatar","openapi":"POST /avatar-generations/create","href":"/api-reference/avatar-generations/create"},{"title":"List talking avatars","openapi":"GET /avatar-generations/all","href":"/api-reference/avatar-generations/list"},{"title":"Delete talking avatar","openapi":"DELETE /avatar-generations/{generationId}","href":"/api-reference/avatar-generations/delete"}]},{"group":"Movie materials","pages":[{"title":"Movie materials","openapi":"POST /movie-materials/create","href":"/api-reference/movie-materials/create"},{"title":"List movie materials","openapi":"GET /movie-materials/all","href":"/api-reference/movie-materials/list"},{"title":"Delete movie material","openapi":"DELETE /movie-materials/{generationId}","href":"/api-reference/movie-materials/delete"}]},{"group":"Uploads","pages":[{"title":"Upload media","openapi":"POST /uploads","href":"/api-reference/uploads/create"},{"title":"Mint signed upload URL","openapi":"POST /uploads/signed-url","href":"/api-reference/uploads/signed-url"},{"title":"Complete upload","openapi":"POST /uploads/complete","href":"/api-reference/uploads/complete"},{"title":"List uploads","openapi":"GET /uploads","href":"/api-reference/uploads/list"},{"title":"Delete upload","openapi":"DELETE /uploads/{assetId}","href":"/api-reference/uploads/delete"}]}]},"basePath":"","title":"Update post - Unsora","deploymentId":"dpl_9NURmhhAnEA2MBJSAbn1GXd2czCa","buildId":"dpl_9NURmhhAnEA2MBJSAbn1GXd2czCa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CUPdegXL.js","snippetPresets-BQq89bX3.js","utils-CJtUu38r.js","style-to-object-BY3JEAdk.js","utils-Dl_iEV_c.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-I0bFVJaI.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Dcvlblmg.js","_Uint8Array-VGUeTT0n.js","isObject-FP1Yky1u.js","ApiExamples-D1A0XuKj.js","usePlaygroundInputsStore-Hc_6kXYj.js","shallow-BhhizytD.js","isEqual-D265BYHf.js","CodeSnippets-DSWAIz-b.js","CodeSnippet-BdmAY1za.js","getApiPlaygroundDisplay-BIdLkZxH.js","Page-Bvrdu_OS.js","api-description-markdown-3NHhqwNl.js","DynamicMarkdown-BGCZRsks.js","SectionHeading-DuqsJYtR.js","MethodPill-DNag51EN.js","getPastedJson-CedzOGYS.js","Check2Icon-0NvNj7H_.js","axios-CsQoIw0U.js","Markdown-B9bB45u8.js","AssistantPageLink-DniobXcL.js","dist-C_SYQzHz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}