ParrotPosterParrotPoster
API
  • WordPress plugin
Site
  • English
  • Русский
API
  • WordPress plugin
Site
  • English
  • Русский
  • Introduction
  • Quick start
  • API methods

    • Authentication
    • Social accounts
    • Posts

      • Main use cases
      • Post object shape
      • Get post
      • Create post
      • Update post
      • Delete post

Update post

The updatePost mutation updates a post that has not been published yet, or that was published within the last 24 hours.

Important

You cannot update a post if 24 hours have passed since it was published.

Input shape

mutation {
  updatePost(
    id: "post_id"
    post: {
      fields: { ... }
      networks: { ... }
      publishAt: "2024-01-12T04:00:19.123Z"
    }
  ) {
    id
  }
}

id parameter

Unique ID of the post to update.

post parameter

Same structure as in createPost.

updatePost response

Returns the updated post. Request the fields you need. See Post.

Important notes

  1. Updating images or links on an already published post may not apply in some networks.
  2. You cannot change the publish time of a post that has already been published.
Edit on GitHub
Last updated: 4/24/26, 6:09 PM
Prev
Create post
Next
Delete post