Only posts in
draft, pending, scheduled, retry, or failed status can
be edited. Posted, partial, or canceled posts are immutable.Path Parameters
The ID of the post to update.
Body Parameters
Optional replacement caption. At least one field in the body is required;
empty payloads are rejected with
422 invalid_payload.Optional replacement media payload. Follows the same structure as Create
Post.
Optional list of account IDs (max 10). Replaces the previous targeting
list completely.
Optional ISO timestamp. Pass
null to push the post back into the “publish
ASAP” queue (pending).Optional correlation ID override.
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.Limits
Same limits as Create Post: caption ≤500; one video (MP4/MOV/M4V/AVI) under 100MB and 15–60s when duration metadata is present (we warn and attempt if duration is missing), or a slideshow of 1–35 JPG/JPEG/PNG images under 5MB each. Music is only supported when targeting TikTok—requests including Instagram/other platforms with music will be rejected.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 JSON422 invalid_payload— no editable fields provided or schema validation failed400 unknown_accounts— one or more provided accounts are not part of the workspace400 missing_accounts— resolved account list is empty after validation400 validation_failed— post is immutable or media/music/caption rules failed400 invalid_music_urlor400 media_unreachable— TikTok/music URLs failed validation404 not_found— post ID is outside the workspace scope500 update_failed— Database update failed unexpectedly
