1. Posts
swonkie.dev
  • Introduction
  • Quick Start
  • Changelog
  • Social Networks
    • Facebook
    • Instagram
    • LinkedIn
    • TikTok
    • Threads
  • Profiles
    • My Profiles
      GET
    • Competitors
      GET
  • Insights
    • Getting Started
    • My Profile Insights
      GET
    • My Profile Insights Posts
      GET
    • Competitor Insights
      GET
    • Competitor Insights Posts
      GET
  • Posts
    • Getting Started
    • List Posts
      GET
    • Get a Post
      GET
    • Create a Post
      POST
    • Update a Post
      PUT
    • Validate a Post
      GET
    • Delete a Post
      DELETE
    • Change Post Stage
      PATCH
  • Labels
    • Getting Started
    • List Labels
      GET
    • Create a Label
      POST
  • Media
    • Get a Media
    • Create a Media
    • Upload File to Media
    • Confirm Uploaded Media
    • Delete a Media
  • Examples
    • Publish
Back to Home
Back to Home
Login
  1. Posts

Change Post Stage

PATCH
/posts/{postId}/stage/{stage}
Changes the stage/status of a post in your workspace workflow. This endpoint allows you to move posts through different stages of the approval and publishing process. Use this to publish posts immediately, schedule them for later, submit for team review, approve or reject posts, or unschedule previously scheduled posts.
Important: The post must belong to your workspace and be in a valid state for the requested stage transition. Some stage changes require the post to pass validation checks and may fail if content or profile connections don't meet requirements. Posts must have a publishAt date set before they can be scheduled.

Stage Actions#

StageDescription
publishNowImmediately publish the post to all assigned social networks, bypassing scheduled time. Post must pass validation.
scheduleSchedule the post for publishing at the configured publishAt time. Post must have a publishAt date set and pass validation. Changes stage to SCHEDULED.
unscheduleCancel a previously scheduled post, preventing it from publishing. Changes stage back to DRAFT.
teamReviewSubmit the post for team review. Changes stage to TEAM_REVIEW. Post must pass validation.
approveApprove a post that's in review. Available when post is in TEAM_REVIEW or CLIENT_REVIEW stage. Changes stage to TEAM_APPROVED or CLIENT_APPROVED.
rejectReject a post that's in review, sending it back for revisions. Changes stage to TEAM_REVISION or CLIENT_REVISION.

Notes#

The post must belong to your workspace, otherwise a 404 error will be returned.
publishNow and schedule actions trigger validation checks - the post must meet all network requirements.
schedule requires the post to have a publishAt date set via POST or PUT endpoints first.
publishNow ignores the publishAt date and publishes immediately.
unschedule only works on posts in SCHEDULED stage.
approve and reject only work on posts in review stages (TEAM_REVIEW, CLIENT_REVIEW).
Once a post is published (PUBLISHED or PUBLISHED_FAILED), most stage changes are no longer available.
Profile connections must be active and authenticated for publishing actions to succeed.
Publishing is asynchronous - a successful response means the publish process has started, but actual posting to networks happens in the background.

Request

Path Params

Header Params

Responses

🟢200
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://api.swonkie.dev/v2/posts/UG9zdElkMTIzNDU2Nzg5/stage/schedule' \
--header 'X-API-ID: {{apiId}}' \
--header 'X-API-KEY: {{apiKey}}'
Response Response Example
{
    "success": true
}
Modified at 2026-03-11 19:13:36
Previous
Delete a Post
Next
Labels
Built with