Social

Edit a Social Post

Changed on

Change a draft or scheduled post before it goes out

patch/social/posts/{postId}

Request

  • Base URL
    https://api.orshot.com/v1
  • URL
    https://api.orshot.com/v1/social/posts/{postId}
  • Auth
    HTTP bearer

Path parameters

postIdstring required

Request body

contentstring

Replacement caption, max 5000 characters

media_urlstring

Single-media shorthand for media_urls

statusstring

draft or scheduled. Omit to keep the post's current timing

scheduled_forstring

New ISO 8601 publish time, at least 60 seconds ahead. Required with status: "scheduled"

timezonestring

IANA timezone for the schedule

platformOptionsobject

Per-account platform options, keyed by account ID. Sending it rebuilds the post (see below)

tiktokSettingsobject

Replacement TikTok options, same as creating a post

Response

Successful response

object required

Changes