Update the caption, media, accounts, schedule, or external metadata for a scheduled/pending post.
Only posts in draft, pending, scheduled, retry, or failed status can be edited. Posted,
partial, or canceled posts are immutable.
Path Parameters
string
required
The ID of the post to update.
Body Parameters
string
Optional replacement caption. At least one field in the body is required; empty payloads are
rejected with 422 invalid_payload.
Target-specific limit. Hosted Accounts targets cap captions at 500 characters. BYO caps follow
the selected platform and media type: Facebook 63,206; Instagram 2,200; TikTok 2,200 for video
captions / 4,000 for photo-post descriptions; LinkedIn 3,000; Pinterest 800; YouTube 5,000
bytes.
object | null
Optional replacement media payload. Follows the same structure as Create
Post. Pass null to clear media and make the post text-only.
Text-only updates fail when any selected account requires media.
array
Optional list of account objects (max 10): [{ "id": "<uuid-from-/accounts>" }]. Replaces
the previous targeting list completely.
object
Optional canonical provider settings update keyed by provider/platform. Unknown provider keys fail
closed with 422 invalid_payload. Partial settings.<provider> patches merge with stored
values (they do not replace the whole provider block). Use the field tables in
Create Post or the public settings_schema from
GET /accounts; its field names match this Partner API payload.
For YouTube, send settings.youtube.title to set the video title explicitly; if omitted, Genviral
derives the title from the first non-empty caption line.
object | null
Optional TikTok settings update. Send TikTok-specific fields here (top-level), not under
settings.tiktok. Pass null to clear stored TikTok settings from the post.
Supported only when every targeted account is a TikTok BYO account.
Show TikTok Settings
string
Optional TikTok title override. Video posts: max 2,200 UTF-16 runes. Photo/slideshow posts:
max 90 UTF-16 runes.
string
Optional TikTok description override. Photo/slideshow posts: max 4,000 UTF-16 runes. For video
posts, Genviral keeps this field for compatibility and uses it as a fallback source when
deriving the TikTok title if title is blank.
string
DIRECT_POST or MEDIA_UPLOAD (uploads to TikTok inbox/drafts).
Optional video cover frame offset in milliseconds (video posts, DIRECT_POST only). TikTok
uses this frame as the video thumbnail.
boolean
Confirms the user has accepted TikTok’s music-usage terms for this post. Preferred Partner API
field.
boolean
Legacy alias for music_usage_confirmation.
boolean
Optional commercial-content flag.
boolean
Optional branded-content flag for own brand.
boolean
Optional branded-content flag for third-party promotion.
boolean
Photo DIRECT_POST only. Omitted defaults to true (TikTok auto-picks a
soundtrack). false still publishes silent. Videos and hosted TikTok ignore
this field.
Pass null to clear stored TikTok settings from the post.
object | null
Optional Pinterest settings update. Send Pinterest-specific fields here (top-level), not under
settings.pinterest. Pass null to clear stored Pinterest settings from the post.
Supported only when at least one targeted account is a Pinterest account.
Show Pinterest Settings
string
Optional Pinterest board ID (max 128 chars).
string
Optional Pinterest pin title override (max 100 chars).
string
Optional destination URL (max 2,048 chars).
string[]
Optional Pinterest topic tags (up to 30). Multi-word tags are supported. Genviral appends
these tags to the Pinterest description, so caption + appended tags must still fit
Pinterest’s 800-character description limit.
Pass null to clear stored Pinterest settings from the post.
TikTok and Pinterest use top-level tiktok / pinterest on create and update (same as Create
Post). Other providers use settings.<provider>. Only include settings for providers present in
the selected accounts.
string | null
Optional ISO 8601 datetime with timezone offset. Pass null to push the post back into the
immediate publish queue (status: pending). For true scheduled times, the value must be at
least 2 minutes in the future.
string
Not mutable after creation. Partner API treats external_id as the create-time idempotency key,
so PATCH requests that try to change it return 409 external_id_immutable.
string
Optional TikTok post URL for background music (e.g.,
https://www.tiktok.com/@genviral/video/1234567890). Pass null to remove existing music without
changing media. This field is TikTok-only. Instagram’s official publishing API does not support
music/sound selection for carousels or Reels, so update requests that include Instagram accounts
with music_url will be rejected.
Limits
Caption: enforced against the targeted accounts. Hosted Accounts targets stay at 500 characters. BYO caps follow platform limits: Facebook 63,206; Instagram 2,200; TikTok 2,200 for video captions and 4,000 for photo-post descriptions; LinkedIn 3,000; Pinterest 800; YouTube 5,000 bytes.
Text-only: set media to null or omit media while updating other fields;
every selected account must advertise text_only in /accounts
capabilities.
Video: MP4/MOV/M4V/AVI, under 100MB. If duration metadata is present, we enforce 15–60 seconds; when duration is missing we proceed with a warning. ~9:16 aspect recommended.
Slideshow: 1–35 images, JPG/JPEG/PNG each under 5MB. ~9:16 aspect recommended.
Animated GIF: under 15MB, sent as a slideshow image. Supported for X, LinkedIn, Pinterest,
Mastodon, Reddit, and Telegram BYO accounts; X, Reddit, and Telegram take one GIF as the only
image. Other platforms and Hosted Accounts reject GIFs with a validation error.
Music: TikTok-only. Instagram’s official API does not support music/sound selection for carousel posts or Reels, so requests with music_url are rejected when any Instagram account is selected.
TikTok settings: supported only when all selected accounts are TikTok BYO accounts.
tiktok.post_mode = MEDIA_UPLOAD: supported only for media.type = slideshow (photo posts).
tiktok.video_cover_timestamp_ms: supported for video DIRECT_POST requests.
Pinterest settings: supported only when at least one selected account is Pinterest.
pinterest.tags: up to 30 tags, each 1–100 characters (spaces allowed). Tags are appended to the final Pinterest description, which still must fit 800 characters.
Provider settings: send canonical settings under settings.<provider>.
Unknown provider keys are rejected with 422 invalid_payload.
Update responses can include warnings about missing media metadata. They are informational so
you can re-upload media before Hosted Accounts reject it.
Error Responses
400 invalid_json - body is not valid JSON
422 invalid_payload - no editable fields provided or schema validation failed
400 unknown_accounts - one or more provided accounts are outside the authenticated key scope
400 missing_accounts - resolved account list is empty after validation
400 validation_failed - post is immutable or media/music/caption rules failed
400 invalid_music_url or 400 media_unreachable - TikTok/music URLs failed validation
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Genviral","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://www.genviral.io/logo-big.png","dark":"https://www.genviral.io/logo-big.png"},"favicon":"https://mintcdn.com/fddigital-2a62ffc1/wLgPyVw05FCo1CC0/favicon-32x32.png?fit=max\u0026auto=format\u0026n=wLgPyVw05FCo1CC0\u0026q=85\u0026s=3580fdf212bbeadef7c3f21ab8f96af3","seo":{},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fddigital-2a62ffc1","hasAudioNarration":false,"actualSubdomain":"fddigital-2a62ffc1","customDomains":["docs.genviral.io"],"gitSource":{"type":"github","owner":"genviral","repo":"genviral.io","deployBranch":"main","contentDirectory":"apps/api-docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af3473ac29073b8ff7d972c","clientVersion":"0.0.4205","searchFilterCounts":[{"language":"default","tag":"API Reference","count":130},{"language":"default","tag":"Video Editor","count":21},{"language":"default","tag":"Slideshows","count":18},{"language":"default","tag":"Studio AI","count":16},{"language":"default","tag":"Accounts","count":14},{"language":"default","tag":"Analytics","count":11},{"language":"default","tag":"Folders","count":9},{"language":"default","tag":"Getting Started","count":9},{"language":"default","tag":"Packs","count":7},{"language":"default","tag":"Posts","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/update-post","slug":"/api-reference/update-post","pageMetadata":{"title":"Update Post","api":"PATCH /api/partner/v1/posts/{postId}","description":"Update a scheduled or pending post","href":"/api-reference/update-post"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Update a scheduled or pending 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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Expandable,Heading,Note,ParamField,Warning}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Update the caption, media, accounts, schedule, or external metadata for a scheduled/pending post.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Only posts in `,_jsx(_components.code,{children:`draft`}),`, `,_jsx(_components.code,{children:`pending`}),`, `,_jsx(_components.code,{children:`scheduled`}),`, `,_jsx(_components.code,{children:`retry`}),`, or `,_jsx(_components.code,{children:`failed`}),` status can be edited. Posted,\npartial, or canceled posts are immutable.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`path-parameters`,children:`Path Parameters`}),`\n`,_jsx(ParamField,{path:`id`,type:`string`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`The ID of the post to update.`})}),`\n`,_jsx(Heading,{level:`2`,id:`body-parameters`,children:`Body Parameters`}),`\n`,_jsxs(ParamField,{body:`caption`,type:`string`,id:`param-caption`,children:[_jsxs(_components.p,{children:[`Optional replacement caption. At least one field in the body is required; empty payloads are\nrejected with `,_jsx(_components.code,{children:`422 invalid_payload`}),`.`]}),_jsx(Warning,{children:_jsx(_components.p,{children:`Target-specific limit. Hosted Accounts targets cap captions at 500 characters. BYO caps follow\nthe selected platform and media type: Facebook 63,206; Instagram 2,200; TikTok 2,200 for video\ncaptions / 4,000 for photo-post descriptions; LinkedIn 3,000; Pinterest 800; YouTube 5,000\nbytes.`})})]}),`\n`,_jsx(ParamField,{body:`media`,type:`object | null`,id:`param-media`,children:_jsxs(_components.p,{children:[`Optional replacement media payload. Follows the same structure as `,_jsx(_components.a,{href:`/api-reference/create-post`,children:`Create\nPost`}),`. Pass `,_jsx(_components.code,{children:`null`}),` to clear media and make the post text-only.\nText-only updates fail when any selected account requires media.`]})}),`\n`,_jsx(ParamField,{body:`accounts`,type:`array`,id:`param-accounts`,children:_jsxs(_components.p,{children:[`Optional list of account objects (max 10): `,_jsx(_components.code,{children:`[{ \"id\": \"\u003cuuid-from-/accounts>\" }]`}),`. `,_jsx(_components.strong,{children:`Replaces`}),`\nthe previous targeting list completely.`]})}),`\n`,_jsx(ParamField,{body:`settings`,type:`object`,id:`param-settings`,children:_jsxs(_components.p,{children:[`Optional canonical provider settings update keyed by provider/platform. Unknown provider keys fail\nclosed with `,_jsx(_components.code,{children:`422 invalid_payload`}),`. Partial `,_jsx(_components.code,{children:`settings.\u003cprovider>`}),` patches `,_jsx(_components.strong,{children:`merge`}),` with stored\nvalues (they do not replace the whole provider block). Use the field tables in\n`,_jsx(_components.a,{href:`/api-reference/create-post#provider-settings`,children:`Create Post`}),` or the public `,_jsx(_components.code,{children:`settings_schema`}),` from\n`,_jsx(_components.a,{href:`/api-reference/get-accounts`,children:_jsx(_components.code,{children:`GET /accounts`})}),`; its field names match this Partner API payload.\nFor YouTube, send `,_jsx(_components.code,{children:`settings.youtube.title`}),` to set the video title explicitly; if omitted, Genviral\nderives the title from the first non-empty caption line.`]})}),`\n`,_jsxs(ParamField,{body:`tiktok`,type:`object | null`,id:`param-tiktok`,children:[_jsxs(_components.p,{children:[`Optional TikTok settings update. Send TikTok-specific fields here (top-level), not under\n`,_jsx(_components.code,{children:`settings.tiktok`}),`. Pass `,_jsx(_components.code,{children:`null`}),` to clear stored TikTok settings from the post.\n`,_jsx(Warning,{children:`Supported only when every targeted account is a TikTok BYO account.`})]}),_jsxs(Expandable,{title:`TikTok Settings`,children:[_jsx(ParamField,{body:`title`,type:`string`,id:`param-title`,children:_jsx(_components.p,{children:`Optional TikTok title override. Video posts: max 2,200 UTF-16 runes. Photo/slideshow posts:\nmax 90 UTF-16 runes.`})}),_jsx(ParamField,{body:`description`,type:`string`,id:`param-description`,children:_jsxs(_components.p,{children:[`Optional TikTok description override. Photo/slideshow posts: max 4,000 UTF-16 runes. For video\nposts, Genviral keeps this field for compatibility and uses it as a fallback source when\nderiving the TikTok title if `,_jsx(_components.code,{children:`title`}),` is blank.`]})}),_jsx(ParamField,{body:`post_mode`,type:`string`,id:`param-post-mode`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`DIRECT_POST`}),` or `,_jsx(_components.code,{children:`MEDIA_UPLOAD`}),` (uploads to TikTok inbox/drafts).`]})}),_jsx(ParamField,{body:`privacy_level`,type:`string`,id:`param-privacy-level`,children:_jsxs(_components.p,{children:[`Optional privacy level (`,_jsx(_components.code,{children:`PUBLIC_TO_EVERYONE`}),`, `,_jsx(_components.code,{children:`MUTUAL_FOLLOW_FRIENDS`}),`, `,_jsx(_components.code,{children:`FOLLOWER_OF_CREATOR`}),`,\n`,_jsx(_components.code,{children:`SELF_ONLY`}),`).`]})}),_jsx(ParamField,{body:`disable_comment`,type:`boolean`,id:`param-disable-comment`,children:_jsx(_components.p,{children:`Optional comment toggle.`})}),_jsx(ParamField,{body:`disable_duet`,type:`boolean`,id:`param-disable-duet`,children:_jsx(_components.p,{children:`Optional duet toggle (video posts).`})}),_jsx(ParamField,{body:`disable_stitch`,type:`boolean`,id:`param-disable-stitch`,children:_jsx(_components.p,{children:`Optional stitch toggle (video posts).`})}),_jsx(ParamField,{body:`video_cover_timestamp_ms`,type:`integer`,id:`param-video-cover-timestamp-ms`,children:_jsxs(_components.p,{children:[`Optional video cover frame offset in milliseconds (video posts, `,_jsx(_components.code,{children:`DIRECT_POST`}),` only). TikTok\nuses this frame as the video thumbnail.`]})}),_jsx(ParamField,{body:`music_usage_confirmation`,type:`boolean`,id:`param-music-usage-confirmation`,children:_jsx(_components.p,{children:`Confirms the user has accepted TikTok’s music-usage terms for this post. Preferred Partner API\nfield.`})}),_jsx(ParamField,{body:`user_consent`,type:`boolean`,id:`param-user-consent`,children:_jsxs(_components.p,{children:[`Legacy alias for `,_jsx(_components.code,{children:`music_usage_confirmation`}),`.`]})}),_jsx(ParamField,{body:`is_commercial`,type:`boolean`,id:`param-is-commercial`,children:_jsx(_components.p,{children:`Optional commercial-content flag.`})}),_jsx(ParamField,{body:`is_your_brand`,type:`boolean`,id:`param-is-your-brand`,children:_jsx(_components.p,{children:`Optional branded-content flag for own brand.`})}),_jsx(ParamField,{body:`is_branded_content`,type:`boolean`,id:`param-is-branded-content`,children:_jsx(_components.p,{children:`Optional branded-content flag for third-party promotion.`})}),_jsx(ParamField,{body:`auto_add_music`,type:`boolean`,id:`param-auto-add-music`,children:_jsxs(_components.p,{children:[`Photo `,_jsx(_components.code,{children:`DIRECT_POST`}),` only. Omitted defaults to `,_jsx(_components.code,{children:`true`}),` (TikTok auto-picks a\nsoundtrack). `,_jsx(_components.code,{children:`false`}),` still publishes silent. Videos and hosted TikTok ignore\nthis field.`]})})]}),_jsxs(_components.p,{children:[`Pass `,_jsx(_components.code,{children:`null`}),` to clear stored TikTok settings from the post.`]})]}),`\n`,_jsxs(ParamField,{body:`pinterest`,type:`object | null`,id:`param-pinterest`,children:[_jsxs(_components.p,{children:[`Optional Pinterest settings update. Send Pinterest-specific fields here (top-level), not under\n`,_jsx(_components.code,{children:`settings.pinterest`}),`. Pass `,_jsx(_components.code,{children:`null`}),` to clear stored Pinterest settings from the post.\n`,_jsx(Warning,{children:`Supported only when at least one targeted account is a Pinterest account.`})]}),_jsxs(Expandable,{title:`Pinterest Settings`,children:[_jsx(ParamField,{body:`board_id`,type:`string`,id:`param-board-id`,children:_jsx(_components.p,{children:`Optional Pinterest board ID (max 128 chars).`})}),_jsx(ParamField,{body:`title`,type:`string`,id:`param-title-1`,children:_jsx(_components.p,{children:`Optional Pinterest pin title override (max 100 chars).`})}),_jsx(ParamField,{body:`link`,type:`string`,id:`param-link`,children:_jsx(_components.p,{children:`Optional destination URL (max 2,048 chars).`})}),_jsx(ParamField,{body:`tags`,type:`string[]`,id:`param-tags`,children:_jsxs(_components.p,{children:[`Optional Pinterest topic tags (up to 30). Multi-word tags are supported. Genviral appends\nthese tags to the Pinterest description, so `,_jsx(_components.code,{children:`caption + appended tags`}),` must still fit\nPinterest’s 800-character description limit.`]})})]}),_jsxs(_components.p,{children:[`Pass `,_jsx(_components.code,{children:`null`}),` to clear stored Pinterest settings from the post.`]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`TikTok and Pinterest use top-level `,_jsx(_components.code,{children:`tiktok`}),` / `,_jsx(_components.code,{children:`pinterest`}),` on create and update (same as Create\nPost). Other providers use `,_jsx(_components.code,{children:`settings.\u003cprovider>`}),`. Only include settings for providers present in\nthe selected accounts.`]})}),`\n`,_jsx(ParamField,{body:`scheduled_at`,type:`string | null`,id:`param-scheduled-at`,children:_jsxs(_components.p,{children:[`Optional ISO 8601 datetime `,_jsx(_components.strong,{children:`with timezone offset`}),`. Pass `,_jsx(_components.code,{children:`null`}),` to push the post back into the\nimmediate publish queue (`,_jsx(_components.code,{children:`status: pending`}),`). For true scheduled times, the value must be `,_jsx(_components.strong,{children:`at\nleast 2 minutes`}),` in the future.`]})}),`\n`,_jsx(ParamField,{body:`external_id`,type:`string`,id:`param-external-id`,children:_jsxs(_components.p,{children:[`Not mutable after creation. Partner API treats `,_jsx(_components.code,{children:`external_id`}),` as the create-time idempotency key,\nso PATCH requests that try to change it return `,_jsx(_components.code,{children:`409 external_id_immutable`}),`.`]})}),`\n`,_jsx(ParamField,{body:`music_url`,type:`string`,id:`param-music-url`,children:_jsxs(_components.p,{children:[`Optional TikTok post URL for background music (e.g.,\n`,_jsx(_components.code,{children:`https://www.tiktok.com/@genviral/video/1234567890`}),`). Pass `,_jsx(_components.code,{children:`null`}),` to remove existing music without\nchanging media. This field is TikTok-only. Instagram’s official publishing API does not support\nmusic/sound selection for carousels or Reels, so update requests that include Instagram accounts\nwith `,_jsx(_components.code,{children:`music_url`}),` will be rejected.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`limits`,children:`Limits`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Caption: enforced against the targeted accounts. Hosted Accounts targets stay at 500 characters. BYO caps follow platform limits: Facebook 63,206; Instagram 2,200; TikTok 2,200 for video captions and 4,000 for photo-post descriptions; LinkedIn 3,000; Pinterest 800; YouTube 5,000 bytes.`}),`\n`,_jsxs(_components.li,{children:[`Text-only: set `,_jsx(_components.code,{children:`media`}),` to `,_jsx(_components.code,{children:`null`}),` or omit media while updating other fields;\nevery selected account must advertise `,_jsx(_components.code,{children:`text_only`}),` in `,_jsx(_components.code,{children:`/accounts`}),`\ncapabilities.`]}),`\n`,_jsx(_components.li,{children:`Video: MP4/MOV/M4V/AVI, under 100MB. If duration metadata is present, we enforce 15–60 seconds; when duration is missing we proceed with a warning. ~9:16 aspect recommended.`}),`\n`,_jsx(_components.li,{children:`Slideshow: 1–35 images, JPG/JPEG/PNG each under 5MB. ~9:16 aspect recommended.`}),`\n`,_jsxs(_components.li,{children:[`Animated GIF: under 15MB, sent as a `,_jsx(_components.code,{children:`slideshow`}),` image. Supported for X, LinkedIn, Pinterest,\nMastodon, Reddit, and Telegram BYO accounts; X, Reddit, and Telegram take one GIF as the only\nimage. Other platforms and Hosted Accounts reject GIFs with a validation error.`]}),`\n`,_jsxs(_components.li,{children:[`Music: TikTok-only. Instagram’s official API does not support music/sound selection for carousel posts or Reels, so requests with `,_jsx(_components.code,{children:`music_url`}),` are rejected when any Instagram account is selected.`]}),`\n`,_jsx(_components.li,{children:`TikTok settings: supported only when all selected accounts are TikTok BYO accounts.`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`tiktok.post_mode = MEDIA_UPLOAD`}),`: supported only for `,_jsx(_components.code,{children:`media.type = slideshow`}),` (photo posts).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`tiktok.video_cover_timestamp_ms`}),`: supported for video `,_jsx(_components.code,{children:`DIRECT_POST`}),` requests.`]}),`\n`,_jsx(_components.li,{children:`Pinterest settings: supported only when at least one selected account is Pinterest.`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`pinterest.tags`}),`: up to 30 tags, each 1–100 characters (spaces allowed). Tags are appended to the final Pinterest description, which still must fit 800 characters.`]}),`\n`,_jsxs(_components.li,{children:[`Provider settings: send canonical settings under `,_jsx(_components.code,{children:`settings.\u003cprovider>`}),`.\nUnknown provider keys are rejected with `,_jsx(_components.code,{children:`422 invalid_payload`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/api-reference/create-post#provider-settings`,children:`Create Post provider settings`}),`\nfor the current per-platform field reference.`]}),`\n`,`\n`,`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Update responses can include `,_jsx(_components.code,{children:`warnings`}),` about missing media metadata. They are informational so\nyou can re-upload media before Hosted Accounts reject it.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`error-responses`,children:`Error Responses`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 invalid_json`}),` - body is not valid JSON`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`422 invalid_payload`}),` - no editable fields provided or schema validation failed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 unknown_accounts`}),` - one or more provided accounts are outside the authenticated key scope`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 missing_accounts`}),` - resolved account list is empty after validation`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 validation_failed`}),` - post is immutable or media/music/caption rules failed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 invalid_music_url`}),` or `,_jsx(_components.code,{children:`400 media_unreachable`}),` - TikTok/music URLs failed validation`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`401`}),` - authentication failed (missing/invalid/revoked token)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`402 subscription_required`}),` - active Creator/Professional/Business plan required`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`403 tier_not_allowed`}),` - Scheduler tier cannot use Partner API`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`409 external_id_immutable`}),` - PATCH tried to change `,_jsx(_components.code,{children:`external_id`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`403 subscription_required`}),` - hosted TikTok posting without an active TikTok virtual subscription`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`500 update_failed`}),` - Database update failed unexpectedly`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update Post","api":"PATCH /api/partner/v1/posts/{postId}","description":"Update a scheduled or pending post","href":"/api-reference/update-post"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[213,231,"pre:`pre`,span:`span`,strong:`strong`,ul"],[283,349,"CodeBlock,Expandable,Heading,Note,ParamField,RequestExample,ResponseExample,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expand"],[545,557,"RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!Warning)_mis"],[14407,17087,"_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`10`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PATCH`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://www.genviral.io/api/partner/v1/posts/11111111-1111-1111-1111-111111111111`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Bearer \u003ctoken>'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"caption\": \"Updated caption\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"media\": null,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"music_url\": null,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"scheduled_at\": \"2025-03-01T17:00:00Z\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}'`})}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,numberOfLines:`17`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`17`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"ok\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Post updated\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"11111111-1111-1111-1111-111111111111\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"scheduled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"scheduled_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-03-01T17:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"warnings\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"field\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"media\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Video size metadata is missing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"VIDEO_METADATA_MISSING\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Update responses can include `,_jsx(_components.code,{children:`warnings`}),` about missing media metadata. They are informational so\nyou can re-upload media before Hosted Accounts reject it.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`error-responses`,children:`Error Responses`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 invalid_json`}),` - body is not valid JSON`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`422 invalid_payload`}),` - no editable fields provided or schema validation failed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 unknown_accounts`}),` - one or more provided accounts are outside the authenticated key scope`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 missing_accounts`}),` - resolved account list is empty after validation`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 validation_failed`}),` - post is immutable or media/music/caption rules failed`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`400 invalid_music_url`}),` or `,_jsx(_components.code,{children:`400 media_unreachable`}),` - TikTok/music URLs failed validation`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`401`}),` - authentication failed (missing/invalid/revoked token)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`402 subscription_required`}),` - active Creator/Professional/Business plan required`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`403 tier_not_allowed`}),` - Scheduler tier cannot use Partner API`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`409 external_id_immutable`}),` - PATCH tried to change `,_jsx(_components.code,{children:`external_id`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`403 subscription_required`}),` - hosted TikTok posting without an active TikTok virtual subscription`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`500 update_failed`}),` - Database update failed unexpectedly`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}"]]},"mdxExtracts":{"tableOfContents":[{"title":"Path Parameters","slug":"path-parameters","depth":2,"children":[]},{"title":"Body Parameters","slug":"body-parameters","depth":2,"children":[]},{"title":"Limits","slug":"limits","depth":2,"children":[]},{"title":"Error Responses","slug":"error-responses","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"10\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> PATCH\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --url\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> https://www.genviral.io/api/partner/v1/posts/11111111-1111-1111-1111-111111111111\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Authorization: Bearer \u0026#x3C;token>'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Content-Type: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"caption\": \"Updated caption\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"media\": null,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"music_url\": null,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"scheduled_at\": \"2025-03-01T17:00:00Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">}'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"17\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"ok\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">200\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Post updated\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"11111111-1111-1111-1111-111111111111\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"scheduled\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"scheduled_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2025-03-01T17:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"warnings\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"field\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"media\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Video size metadata is missing\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"code\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"VIDEO_METADATA_MISSING\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Update Post","path":"/api/partner/v1/posts/{postId}","method":"patch","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{"id":{"schema":[{"type":"string","description":"The ID of the post to update.","required":true}]}}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"caption":[{"type":"string","description":"Optional replacement caption. At least one field in the body is required; empty payloads are rejected with `422 invalid_payload` ."}],"media":[{"type":"object","properties":{},"description":"Optional replacement media payload. Follows the same structure as Create Post . Pass `null` to clear media and make the post text-only. Text-only updates fail when any selected account requires media."}],"accounts":[{"type":"array","items":[{"type":"object","properties":{}}],"description":"Optional list of account objects (max 10): `[{ \"id\": \"\u003cuuid-from-/accounts>\" }]` . Replaces the previous targeting list completely."}],"settings":[{"type":"object","properties":{},"description":"Optional canonical provider settings update keyed by provider/platform. Unknown provider keys fail closed with `422 invalid_payload` . Partial `settings.\u003cprovider>` patches merge with stored values (they do not replace the whole provider block). Use the field tables in Create Post or the public `settings_schema` from `GET /accounts` ; its field names match this Partner API payload. For YouTube, send `settings.youtube.title` to set the video title explicitly; if omitted, Genviral derives the title from the first non-empty caption line."}],"tiktok":[{"type":"object","properties":{"title":[{"type":"string","description":"Optional TikTok title override. Video posts: max 2,200 UTF-16 runes. Photo/slideshow posts: max 90 UTF-16 runes."}],"description":[{"type":"string","description":"Optional TikTok description override. Photo/slideshow posts: max 4,000 UTF-16 runes. For video posts, Genviral keeps this field for compatibility and uses it as a fallback source when deriving the TikTok title if `title` is blank."}],"post_mode":[{"type":"string","description":"`DIRECT_POST` or `MEDIA_UPLOAD` (uploads to TikTok inbox/drafts)."}],"privacy_level":[{"type":"string","description":"Optional privacy level ( `PUBLIC_TO_EVERYONE` , `MUTUAL_FOLLOW_FRIENDS` , `FOLLOWER_OF_CREATOR` , `SELF_ONLY` )."}],"disable_comment":[{"type":"boolean","description":"Optional comment toggle."}],"disable_duet":[{"type":"boolean","description":"Optional duet toggle (video posts)."}],"disable_stitch":[{"type":"boolean","description":"Optional stitch toggle (video posts)."}],"video_cover_timestamp_ms":[{"type":"integer","description":"Optional video cover frame offset in milliseconds (video posts, `DIRECT_POST` only). TikTok uses this frame as the video thumbnail."}],"music_usage_confirmation":[{"type":"boolean","description":"Confirms the user has accepted TikTok’s music-usage terms for this post. Preferred Partner API field."}],"user_consent":[{"type":"boolean","description":"Legacy alias for `music_usage_confirmation` ."}],"is_commercial":[{"type":"boolean","description":"Optional commercial-content flag."}],"is_your_brand":[{"type":"boolean","description":"Optional branded-content flag for own brand."}],"is_branded_content":[{"type":"boolean","description":"Optional branded-content flag for third-party promotion."}],"auto_add_music":[{"type":"boolean","description":"Photo `DIRECT_POST` only. Omitted defaults to `true` (TikTok auto-picks a soundtrack). `false` still publishes silent. Videos and hosted TikTok ignore this field."}]},"description":"Optional TikTok settings update. Send TikTok-specific fields here (top-level), not under `settings.tiktok` . Pass `null` to clear stored TikTok settings from the post. Pass `null` to clear stored TikTok settings from the post."}],"pinterest":[{"type":"object","properties":{"board_id":[{"type":"string","description":"Optional Pinterest board ID (max 128 chars)."}],"title":[{"type":"string","description":"Optional Pinterest pin title override (max 100 chars)."}],"link":[{"type":"string","description":"Optional destination URL (max 2,048 chars)."}],"tags":[{"type":"array","items":[{"type":"string"}],"description":"Optional Pinterest topic tags (up to 30). Multi-word tags are supported. Genviral appends these tags to the Pinterest description, so `caption + appended tags` must still fit Pinterest’s 800-character description limit."}]},"description":"Optional Pinterest settings update. Send Pinterest-specific fields here (top-level), not under `settings.pinterest` . Pass `null` to clear stored Pinterest settings from the post. Pass `null` to clear stored Pinterest settings from the post."}],"scheduled_at":[{"type":"object","properties":{},"description":"Optional ISO 8601 datetime with timezone offset . Pass `null` to push the post back into the immediate publish queue ( `status: pending` ). For true scheduled times, the value must be at least 2 minutes in the future."}],"external_id":[{"type":"string","description":"Not mutable after creation. Partner API treats `external_id` as the create-time idempotency key, so PATCH requests that try to change it return `409 external_id_immutable` ."}],"music_url":[{"type":"string","description":"Optional TikTok post URL for background music (e.g., `https://www.tiktok.com/@genviral/video/1234567890` ). Pass `null` to remove existing music without changing media. This field is TikTok-only. Instagram’s official publishing API does not support music/sound selection for carousels or Reels, so update requests that include Instagram accounts with `music_url` will be rejected."}]}}],"examples":{"example":{"value":{"caption":"\u003cstring>","media":{},"accounts":[{}],"settings":{},"tiktok":{"title":"\u003cstring>","description":"\u003cstring>","post_mode":"\u003cstring>","privacy_level":"\u003cstring>","disable_comment":true,"disable_duet":true,"disable_stitch":true,"video_cover_timestamp_ms":123,"music_usage_confirmation":true,"user_consent":true,"is_commercial":true,"is_your_brand":true,"is_branded_content":true,"auto_add_music":true},"pinterest":{"board_id":"\u003cstring>","title":"\u003cstring>","link":"\u003cstring>","tags":["\u003cstring>"]},"scheduled_at":{},"external_id":"\u003cstring>","music_url":"\u003cstring>"}}}}}},"response":{},"deprecated":false}},"jsLinks":[],"subdomain":"fddigital-2a62ffc1","siteName":"Genviral","title":"Update Post - Genviral","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-08T08:40:25.954Z","originalFileLocation":"api-reference/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=\"Update a scheduled or pending post\">\u003cmeta data-mint-head name=\"application-name\" content=\"Genviral\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fddigital-2a62ffc1/jU_jPLfvVCYVex_O/_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/fddigital-2a62ffc1/jU_jPLfvVCYVex_O/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fddigital-2a62ffc1/jU_jPLfvVCYVex_O/_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/fddigital-2a62ffc1/jU_jPLfvVCYVex_O/_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/fddigital-2a62ffc1/jU_jPLfvVCYVex_O/_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/fddigital-2a62ffc1/jU_jPLfvVCYVex_O/_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/fddigital-2a62ffc1/jU_jPLfvVCYVex_O/_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/fddigital-2a62ffc1/jU_jPLfvVCYVex_O/_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/fddigital-2a62ffc1/jU_jPLfvVCYVex_O/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Post - Genviral\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update a scheduled or pending post\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Genviral\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.genviral.io/api-reference/update-post\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fddigital-2a62ffc1.mintlify.site/_mintlify/api/og/v2?division=Posts\u0026amp;title=Update+Post\u0026amp;description=Update+a+scheduled+or+pending+post\u0026amp;theme=38640542e8c2b46f98fe2f88\u0026amp;signature=1ea0796ee92ebbcf9e24e16e6f82d934e52eca9d3c5c8ea009a7b2ad2b61a470\">\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 - Genviral\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update a scheduled or pending post\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fddigital-2a62ffc1.mintlify.site/_mintlify/api/og/v2?division=Posts\u0026amp;title=Update+Post\u0026amp;description=Update+a+scheduled+or+pending+post\u0026amp;theme=38640542e8c2b46f98fe2f88\u0026amp;signature=1ea0796ee92ebbcf9e24e16e6f82d934e52eca9d3c5c8ea009a7b2ad2b61a470\">\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/fddigital-2a62ffc1/jU_jPLfvVCYVex_O/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Genviral\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.genviral.io/api-reference/update-post\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/update-post.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.genviral.io/#organization\",\"name\":\"Genviral\",\"url\":\"https://docs.genviral.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://www.genviral.io/logo-big.png\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.genviral.io#website\",\"name\":\"Genviral\",\"url\":\"https://docs.genviral.io\",\"publisher\":{\"@id\":\"https://docs.genviral.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.genviral.io/api-reference/update-post#webpage\",\"url\":\"https://docs.genviral.io/api-reference/update-post\",\"name\":\"Update Post\",\"description\":\"Update a scheduled or pending post\",\"dateModified\":\"2026-10-08T08:40:25.954Z\",\"isPartOf\":{\"@id\":\"https://docs.genviral.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.genviral.io/api-reference/update-post#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.genviral.io/api-reference/update-post#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Posts\",\"item\":\"https://docs.genviral.io/api-reference/create-post\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update Post\",\"item\":\"https://docs.genviral.io/api-reference/update-post\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.genviral.io/api-reference/update-post#apireference\",\"headline\":\"Update Post\",\"name\":\"Update Post\",\"description\":\"Update a scheduled or pending post\",\"url\":\"https://docs.genviral.io/api-reference/update-post\",\"mainEntityOfPage\":{\"@id\":\"https://docs.genviral.io/api-reference/update-post#webpage\"},\"dateModified\":\"2026-10-08T08:40:25.954Z\",\"publisher\":{\"@id\":\"https://docs.genviral.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.genviral.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Genviral\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Genviral\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/update-post.md","siteName":"Genviral","nav":{"global":null,"tabs":[{"tab":"API Reference","groups":[{"group":"Getting Started","pages":[{"title":"Genviral Partner API","sidebarTitle":"Introduction","href":"/api-reference/introduction"},{"title":"llms.txt","sidebarTitle":"llms.txt","url":"https://docs.genviral.io/llms.txt","href":"/api-reference/llms-txt"},{"title":"Response Pattern","href":"/api-reference/response"},{"title":"Data Structures","href":"/api-reference/data-structures"},{"group":"Guides","pages":[{"title":"Folders","href":"/api-reference/folders"},{"title":"Studio AI","href":"/api-reference/studio-ai"},{"title":"Slideshows – AI Slideshow Generation API for TikTok, Instagram \u0026 More","sidebarTitle":"Slideshows","href":"/api-reference/slideshows"},{"title":"Slideshow Packs – Reusable Image Collections for Automated Content","sidebarTitle":"Slideshow Packs","href":"/api-reference/slideshow-packs"},{"title":"Slideshow Templates – Reusable Blueprints for Automated Slideshow Creation","sidebarTitle":"Slideshow Templates","href":"/api-reference/slideshow-templates"}]}]},{"group":"Accounts","pages":[{"title":"Get Accounts","api":"GET /api/partner/v1/accounts","href":"/api-reference/get-accounts"},{"title":"Get Subscription","api":"GET /api/partner/v1/subscription","href":"/api-reference/get-subscription"},{"title":"List Workspaces","api":"GET /api/partner/v1/workspaces","href":"/api-reference/list-workspaces"},{"group":"Analytics","pages":[{"title":"Get Analytics Summary","api":"GET /api/partner/v1/analytics/summary","href":"/api-reference/get-analytics-summary"},{"title":"List Analytics Posts","api":"GET /api/partner/v1/analytics/summary/posts","href":"/api-reference/list-analytics-posts"},{"title":"Get Best Posting Times","api":"GET /api/partner/v1/analytics/best-times","href":"/api-reference/get-best-posting-times"},{"title":"List Analytics Targets","api":"GET /api/partner/v1/analytics/targets","href":"/api-reference/manage-analytics-targets"},{"title":"Create Analytics Target","api":"POST /api/partner/v1/analytics/targets","href":"/api-reference/create-analytics-target"},{"title":"Get Analytics Target","api":"GET /api/partner/v1/analytics/targets/{id}","href":"/api-reference/manage-analytics-target"},{"title":"Update Analytics Target","api":"PATCH /api/partner/v1/analytics/targets/{id}","href":"/api-reference/update-analytics-target"},{"title":"Delete Analytics Target","api":"DELETE /api/partner/v1/analytics/targets/{id}","href":"/api-reference/delete-analytics-target"},{"title":"Refresh Analytics Target","api":"POST /api/partner/v1/analytics/targets/{id}/refresh","href":"/api-reference/refresh-analytics-target"},{"title":"Get Analytics Refresh","api":"GET /api/partner/v1/analytics/refreshes/{id}","href":"/api-reference/get-analytics-refresh"},{"title":"Get Analytics Workspace Suggestions","api":"GET /api/partner/v1/analytics/workspace-suggestions","href":"/api-reference/get-analytics-workspace-suggestions"}]}]},{"group":"Posts","pages":[{"title":"Create Post","api":"POST /api/partner/v1/posts","sidebarTitle":"Create Post","href":"/api-reference/create-post"},{"title":"Get Suggested Post Slot","api":"GET /api/partner/v1/posts/suggested-slot","href":"/api-reference/get-suggested-post-slot"},{"title":"List Posts","api":"GET /api/partner/v1/posts","href":"/api-reference/list-posts"},{"title":"Get Post","api":"GET /api/partner/v1/posts/{postId}","description":"Retrieve details for a specific post","href":"/api-reference/get-post"},{"title":"Update Post","api":"PATCH /api/partner/v1/posts/{postId}","href":"/api-reference/update-post"},{"title":"Delete Posts","api":"POST /api/partner/v1/posts/delete","description":"Delete one or many posts with a single request","href":"/api-reference/delete-post"},{"title":"Retry Post","api":"POST /api/partner/v1/posts/retry","href":"/api-reference/retry-posts"}]},{"group":"Files","pages":[{"title":"Upload File","api":"POST /api/partner/v1/files","href":"/api-reference/upload-file"},{"title":"Start Multipart Upload","api":"POST /api/partner/v1/files/multipart","href":"/api-reference/start-multipart-upload"},{"title":"Complete Multipart Upload","api":"POST /api/partner/v1/files/{fileId}/multipart/complete","href":"/api-reference/complete-multipart-upload"},{"title":"Abort Multipart Upload","api":"DELETE /api/partner/v1/files/{fileId}/multipart","href":"/api-reference/abort-multipart-upload"},{"title":"List Files","api":"GET /api/partner/v1/files","href":"/api-reference/list-files"}]},{"group":"Folders","pages":[{"title":"List Folders","api":"GET /api/partner/v1/folders","href":"/api-reference/list-folders"},{"title":"Create Folder","api":"POST /api/partner/v1/folders","href":"/api-reference/create-folder"},{"title":"Get Folder","api":"GET /api/partner/v1/folders/{folderId}","href":"/api-reference/get-folder"},{"title":"Move Folder","api":"PATCH /api/partner/v1/folders/{folderId}","href":"/api-reference/move-folder"},{"title":"Delete Folder","api":"DELETE /api/partner/v1/folders/{folderId}","href":"/api-reference/delete-folder"},{"title":"List Folder Ancestors","api":"GET /api/partner/v1/folders/{folderId}/ancestors","href":"/api-reference/list-folder-ancestors"},{"title":"List Folder Items","api":"GET /api/partner/v1/folders/{folderId}/items","href":"/api-reference/list-folder-items"},{"title":"Add Folder Items","api":"POST /api/partner/v1/folders/{folderId}/items","href":"/api-reference/add-folder-items"},{"title":"Remove Folder Items","api":"DELETE /api/partner/v1/folders/{folderId}/items","href":"/api-reference/remove-folder-items"}]},{"group":"Influencers","pages":[{"title":"List Influencers","api":"GET /api/partner/v1/influencers","href":"/api-reference/list-influencers"},{"title":"Get Influencer","api":"GET /api/partner/v1/influencers/{influencerId}","href":"/api-reference/get-influencer"}]},{"group":"Studio AI","pages":[{"title":"Get Studio Models","api":"GET /api/partner/v1/studio/models","href":"/api-reference/get-studio-models"},{"title":"Generate Studio Image","api":"POST /api/partner/v1/studio/images/generate","href":"/api-reference/generate-studio-image"},{"title":"Get Studio Image","api":"GET /api/partner/v1/studio/images/{imageId}","href":"/api-reference/get-studio-image"},{"title":"Generate Studio Video","api":"POST /api/partner/v1/studio/videos/generate","href":"/api-reference/generate-studio-video"},{"title":"Get Studio Video","api":"GET /api/partner/v1/studio/videos/{videoId}","href":"/api-reference/get-studio-video"},{"title":"Prepare a verified Studio asset","api":"POST /api/partner/v1/studio/assets/materialize","href":"/api-reference/materialize-studio-asset"},{"title":"Create a character-swap batch","api":"POST /api/partner/v1/studio/character-swaps/batches","href":"/api-reference/create-character-swap-batch"},{"title":"Browse Studio templates","api":"GET /api/partner/v1/studio/templates","href":"/api-reference/list-studio-templates"},{"title":"Get a Studio template recipe","api":"GET /api/partner/v1/studio/templates/{templateId}","href":"/api-reference/get-studio-template"},{"title":"List saved Studio creations","api":"GET /api/partner/v1/studio/creations","href":"/api-reference/list-studio-creations"},{"title":"Get a saved Studio creation","api":"GET /api/partner/v1/studio/creations/{creationId}","href":"/api-reference/get-studio-creation"},{"title":"Browse Studio products","api":"GET /api/partner/v1/studio/inputs/products","href":"/api-reference/list-studio-products"},{"title":"Browse trained character profiles","api":"GET /api/partner/v1/studio/inputs/character-profiles","href":"/api-reference/list-studio-character-profiles"},{"title":"Delete a Studio creation","api":"POST /api/partner/v1/studio/creations/delete","href":"/api-reference/delete-studio-creation"},{"title":"Favorite a character-swap template","api":"POST /api/partner/v1/studio/templates/favorite","href":"/api-reference/favorite-studio-template"},{"title":"Translate a verified video","api":"POST /api/partner/v1/studio/videos/translate","href":"/api-reference/translate-studio-video"}]},{"group":"Slideshows","pages":[{"title":"Start Slideshow Generation","api":"POST /api/partner/v1/slideshows/generations","href":"/api-reference/start-slideshow-generation"},{"title":"Generate Slideshow","api":"POST /api/partner/v1/slideshows/generate","href":"/api-reference/generate-slideshow"},{"title":"List Slideshows","api":"GET /api/partner/v1/slideshows","href":"/api-reference/list-slideshows"},{"title":"Get Slideshow","api":"GET /api/partner/v1/slideshows/{slideshowId}","href":"/api-reference/get-slideshow"},{"title":"Get Slideshow Edit State","api":"GET /api/partner/v1/slideshows/{slideshowId}/edits","href":"/api-reference/get-slideshow-edit-state"},{"title":"Apply Slideshow Edits","api":"POST /api/partner/v1/slideshows/{slideshowId}/edits","href":"/api-reference/apply-slideshow-edits"},{"title":"Update Slideshow","api":"PATCH /api/partner/v1/slideshows/{slideshowId}","href":"/api-reference/update-slideshow"},{"title":"Delete Slideshow","api":"DELETE /api/partner/v1/slideshows/{slideshowId}","href":"/api-reference/delete-slideshow"},{"title":"Render Slideshow","api":"POST /api/partner/v1/slideshows/{slideshowId}/render","href":"/api-reference/render-slideshow"},{"title":"Duplicate Slideshow","api":"POST /api/partner/v1/slideshows/{slideshowId}/duplicate","href":"/api-reference/duplicate-slideshow"},{"title":"Regenerate Slide","api":"POST /api/partner/v1/slideshows/{slideshowId}/slides/{slideIndex}/regenerate","href":"/api-reference/regenerate-slide"},{"title":"List TikTok Account Posts","api":"POST /api/partner/v1/slideshows/copy-tiktok/account-posts","href":"/api-reference/copy-tiktok-account-posts"},{"title":"Preview TikTok Slideshow Copy","api":"POST /api/partner/v1/slideshows/copy-tiktok/preview","href":"/api-reference/copy-tiktok-preview"},{"title":"Import TikTok Slideshow Copy","api":"POST /api/partner/v1/slideshows/copy-tiktok/import","href":"/api-reference/copy-tiktok-import"},{"title":"Create a manual slideshow","api":"POST /api/partner/v1/slideshows","href":"/api-reference/create-manual-slideshow"},{"title":"Export a slideshow","api":"POST /api/partner/v1/slideshows/{slideshowId}/export","href":"/api-reference/export-slideshow"},{"title":"Generate slide text variations","api":"POST /api/partner/v1/slideshows/{slideshowId}/slides/{slideIndex}/text-variations","href":"/api-reference/generate-slide-text-variations"},{"title":"Import a slideshow image","api":"POST /api/partner/v1/slideshows/import-image","href":"/api-reference/import-slideshow-image"}]},{"group":"Video Editor","pages":[{"title":"Create Editor Project","api":"POST /api/partner/v1/editor/projects","href":"/api-reference/create-editor-project"},{"title":"List Editor Projects","api":"GET /api/partner/v1/editor/projects","href":"/api-reference/list-editor-projects"},{"title":"Get Editor Project","api":"GET /api/partner/v1/editor/projects/{projectId}","href":"/api-reference/get-editor-project"},{"title":"Apply Editor Ops","api":"POST /api/partner/v1/editor/projects/{projectId}/ops","href":"/api-reference/apply-editor-ops"},{"title":"Add Editor Files","api":"POST /api/partner/v1/editor/projects/{projectId}/files","href":"/api-reference/add-editor-files"},{"title":"Add Editor Captions","api":"POST /api/partner/v1/editor/projects/{projectId}/captions","href":"/api-reference/add-editor-captions"},{"title":"Post Editor Message","api":"POST /api/partner/v1/editor/projects/{projectId}/messages","href":"/api-reference/post-editor-message"},{"title":"Get Editor Transcript","api":"POST /api/partner/v1/editor/projects/{projectId}/transcript","href":"/api-reference/get-editor-transcript"},{"title":"Render Editor Project","api":"POST /api/partner/v1/editor/projects/{projectId}/render","href":"/api-reference/render-editor-project"},{"title":"Get Editor Render","api":"GET /api/partner/v1/editor/projects/{projectId}/render","href":"/api-reference/get-editor-render"},{"title":"Add editor media","api":"POST /api/partner/v1/editor/projects/{projectId}/assets","href":"/api-reference/add-editor-assets"},{"title":"Paste scoped editor clips","api":"POST /api/partner/v1/editor/projects/{projectId}/clipboard","href":"/api-reference/paste-editor-clips"},{"title":"Import a reviewed slideshow","api":"POST /api/partner/v1/editor/projects/{projectId}/slideshow","href":"/api-reference/import-editor-slideshow"},{"title":"Import reviewed remix clips","api":"POST /api/partner/v1/editor/projects/{projectId}/remix","href":"/api-reference/import-editor-remix"},{"title":"Review editor version scheduling","api":"POST /api/partner/v1/editor/projects/{projectId}/schedule/prepare","href":"/api-reference/prepare-editor-schedule"},{"title":"Confirm editor version scheduling","api":"POST /api/partner/v1/editor/projects/{projectId}/schedule/commit","href":"/api-reference/commit-editor-schedule"},{"title":"Read editor scheduling status","api":"GET /api/partner/v1/editor/projects/{projectId}/schedule/status","href":"/api-reference/get-editor-schedule-status"},{"title":"Read editor batch status","api":"GET /api/partner/v1/editor/batches/{batchId}/status","href":"/api-reference/get-editor-batch-status"},{"title":"Dismiss a failed batch item","api":"POST /api/partner/v1/editor/batches/{batchId}/dismiss","href":"/api-reference/dismiss-editor-batch-item"},{"title":"Search Reddit communities","openapi":"GET /editor/reddit/accounts/{accountId}/communities","href":"/api-reference/search-editor-reddit-communities"},{"title":"Read Reddit community settings","openapi":"GET /editor/reddit/accounts/{accountId}/restrictions","href":"/api-reference/get-editor-reddit-restrictions"}]},{"group":"Viral Library","pages":[{"title":"Search Viral Library","api":"GET /api/partner/v1/viral-library","href":"/api-reference/search-viral-library"},{"title":"Get Viral Library Post","api":"GET /api/partner/v1/viral-library/{postId}","href":"/api-reference/get-viral-library-post"},{"title":"Get Viral Library Transcript","api":"GET /api/partner/v1/viral-library/{postId}/transcript","href":"/api-reference/get-viral-library-transcript"}]},{"group":"Trends","pages":[{"title":"Get Trend Brief","api":"GET /api/partner/v1/trends/brief","href":"/api-reference/get-trend-brief"},{"title":"Search Reddit Posts","api":"POST /api/partner/v1/trends/reddit/search","href":"/api-reference/search-reddit-posts"},{"title":"Read Reddit Threads","api":"POST /api/partner/v1/trends/reddit/threads","href":"/api-reference/read-reddit-threads"}]},{"group":"Packs","pages":[{"title":"List Packs","api":"GET /api/partner/v1/packs","href":"/api-reference/list-packs"},{"title":"Create Pack","api":"POST /api/partner/v1/packs","href":"/api-reference/create-pack"},{"title":"Get Pack","api":"GET /api/partner/v1/packs/{packId}","href":"/api-reference/get-pack"},{"title":"Update Pack","api":"PATCH /api/partner/v1/packs/{packId}","href":"/api-reference/update-pack"},{"title":"Delete Pack","api":"DELETE /api/partner/v1/packs/{packId}","href":"/api-reference/delete-pack"},{"title":"Add Pack Image","api":"POST /api/partner/v1/packs/{packId}/images","href":"/api-reference/add-pack-image"},{"title":"Delete Pack Image","api":"DELETE /api/partner/v1/packs/{packId}/images/{imageId}","href":"/api-reference/delete-pack-image"}]},{"group":"Templates","pages":[{"title":"List Templates","api":"GET /api/partner/v1/templates","href":"/api-reference/list-templates"},{"title":"Create Template","api":"POST /api/partner/v1/templates","href":"/api-reference/create-template"},{"title":"Get Template","api":"GET /api/partner/v1/templates/{templateId}","href":"/api-reference/get-template"},{"title":"Update Template","api":"PATCH /api/partner/v1/templates/{templateId}","href":"/api-reference/update-template"},{"title":"Delete Template","api":"DELETE /api/partner/v1/templates/{templateId}","href":"/api-reference/delete-template"},{"title":"Create Template From Slideshow","api":"POST /api/partner/v1/templates/from-slideshow/{slideshowId}","href":"/api-reference/create-template-from-slideshow"}]},{"group":"Music","pages":[{"title":"List music tracks","api":"GET /api/partner/v1/music/tracks","href":"/api-reference/list-music-tracks"},{"title":"Add a music track","api":"POST /api/partner/v1/music/tracks","href":"/api-reference/add-music-track"},{"title":"Rename a music track","api":"PATCH /api/partner/v1/music/tracks/{trackId}","href":"/api-reference/update-music-track"},{"title":"Delete a music track","api":"DELETE /api/partner/v1/music/tracks/{trackId}","href":"/api-reference/delete-music-track"},{"title":"Import music","api":"POST /api/partner/v1/music/imports","href":"/api-reference/import-music"}]},{"group":"Remix sources","pages":[{"title":"Preview a remix source","api":"POST /api/partner/v1/remix/preview","href":"/api-reference/preview-remix-source"},{"title":"Discover remix sources","api":"POST /api/partner/v1/remix/discover","href":"/api-reference/discover-remix-sources"},{"title":"Create a remix project","api":"POST /api/partner/v1/remix/projects","href":"/api-reference/create-remix-project"},{"title":"List remix clips","api":"GET /api/partner/v1/remix/projects/{projectId}/clips","href":"/api-reference/list-remix-clips"},{"title":"Import remix clips","api":"POST /api/partner/v1/remix/projects/{projectId}/imports","href":"/api-reference/import-remix-clips"}]}]}]},"basePath":"","title":"Update Post - Genviral","deploymentId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","buildId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-B6WFFOBL.js","utils-BN5um1KA.js","cloneDeep-C3md22mN.js","_Uint8Array-DLlL8L26.js","isObject-FP1Yky1u.js","utils-BSmbkXJR.js","addUniqueKeysToSchema-2tqcVnUE.js","snippetPresets-CtWfvr2J.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DkKHBy30.js","isEqual-O3q7y6pq.js","usePlaygroundInputsStore-Brc5H9UJ.js","shallow-C4L4xvbs.js","getApiPlaygroundDisplay-2bxyq_aI.js","CodeSnippet-BJu8ddd5.js","CodeSnippets-dazWmoqB.js","Page-CnLhKuUV.js","getPastedJson-Chy3Qa1S.js","icon-CyO7h3jh.js","MethodPill-Dle0_91v.js","DuplicateIcon-CVvWAf4a.js","createIcon-Di07A27B.js","DynamicMarkdown-C4w9kavL.js","SectionHeading-XiBebVYC.js","axios-vUo_bRtp.js"]}