Finish thumbnail upload
finalize_post_thumbnailFinalizes a thumbnail upload started with create_post_thumbnail_upload. Call this after PUTting the image bytes to the presigned URL. Verifies the bytes landed in S3 with an image content-type (jpeg/png/webp/gif) and writes custom_thumbnail_url + custom_thumbnail_s3_key on the post's video_settings row. All sibling posts on the same upload use the new cover at publish time (YouTube, Instagram Reels, Facebook Reels and Pinterest). Errors: 'reserved' when the PUT hasn't landed yet (retry in a few seconds), or 'unsupported content type' when the object's Content-Type isn't an image MIME.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| upload_token | Yes | The upload_token returned by create_post_thumbnail_upload. Identifies the specific pending upload in S3. | |
| video_post_id | Yes | The video_posts.id you passed to create_post_thumbnail_upload. | |
| idempotency_key | No | Optional client-generated key (e.g., a UUID) to make retries safe. Identical calls with the same key within 10 minutes return the original result instead of running the write twice. |