Skip to main content
PATCH
Needs posts:update. See Permissions.
An auto-plug is a reply PostSyncer posts on your post once it reaches a number you set, like a link to the menu after 50 likes. With enabled: true, send name, reply_text and at least one threshold (likes, reposts, replies or views) that is on with a count of 1 or more. Thresholds you leave out are off, and the first one reached sends the reply, once. enabled: false turns it off, and the post’s auto_plug becomes null. PostSyncer checks the numbers on X, Instagram, Facebook, LinkedIn, Threads, Bluesky and Mastodon, on the same schedule as post analytics, for up to 90 days after the post goes out. Auto-plug works on every plan. On Free, a post’s numbers are read and kept once a day while it is 1 to 7 days old, if the owner used PostSyncer (the app, the API or MCP) in the last 14 days; its other reads are only for its plug, and their numbers aren’t kept. The answer is the post object, with auto_plug as saved. You can also set it when you create or update the post.

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

post
integer
required

The post's id.

Body

application/json

With enabled: true it needs name, reply_text and at least one threshold that is on with a count of 1 or more. enabled: false turns it off; nothing else is needed.

enabled
boolean
required

True to turn the plug on; false turns it off and takes nothing else.

id
string

Your id for the plug. One is made when left out.

name
string

A name for the plug. Needed when enabled is true.

is_default
boolean
default:false
reply_text
string

The reply to post. Needed when enabled is true.

likes
object

One threshold. Left out, it's off.

reposts
object

One threshold. Left out, it's off.

replies
object

One threshold. Left out, it's off.

views
object

One threshold. Left out, it's off.

Response

The post, with the setting saved.

A post: its text and media, when it goes out, and one row per account it goes to (platforms). Times are in the workspace's timezone, as Y-m-d H:i.

id
integer
required

The post's id.

content
object[]
required

The post's parts, in order. One part is a single post; more parts make a thread on X, Threads, Bluesky and Mastodon (the other networks get the parts joined into one text, with two blank lines between them, the first comment left out). A part with is_first_comment is the first comment.

status
enum<string>
required

Where the post stands. DRAFT: saved, not going out. SCHEDULED: goes out at scheduled_at. PENDING_APPROVAL: waiting for someone to approve it. IN_QUEUE: published now and waiting its turn. IN_PROGRESS: being sent. PUBLISHED: out on every account. PARTIALLY_FAILED: out on some accounts, failed on others. FAILED: failed on every account. REJECTED: its approval was turned down.

Available options:
DRAFT,
SCHEDULED,
PENDING_APPROVAL,
IN_QUEUE,
IN_PROGRESS,
PUBLISHED,
PARTIALLY_FAILED,
FAILED,
REJECTED
content_version
integer
required

Goes up by one each time the post's content is saved. Send it back on Update a post to be refused (409) instead of overwriting a change made elsewhere since you read it.

posted_on
string[]
required

When it went out, one entry a time (a repeating post has several). [] until it is published.

scheduled_at
string | null
required

When it goes out (or went out), in the workspace's timezone. Null when the post has no time yet: a draft with none, or a post sent for approval with none, where the approver picks when it goes out. API v1 and MCP never save a SCHEDULED post without one.

repeatable
boolean | null
required

True when the post repeats. false or null when it doesn't.

repeatable_times
integer | null
required

How many times it repeats after the first time.

repeatable_gap
integer | null
required

Time between repeats, in repeatable_gap_unit.

repeatable_gap_unit
enum<string> | null
required

The unit of repeatable_gap.

Available options:
minutes,
hours,
days,
weeks,
months,
null
repeatable_accounts
integer[] | null
required

The accounts the repeats go to; null or [] for every account of the post.

remaining_posts
integer | null
required

Sends still to go, the first one included until it goes out.

comments_settings
object | null
required

The post's comment moderation; null when it was never set. Change it with Update comment moderation.

contact_collection_settings
object | null
required

The post's contact collection; null when it was never set. Change it with Update contact collection.

created_at
string
required

When the post was made, in the workspace's timezone.

updated_at
string
required

When the post last changed, in the workspace's timezone.

workspace
object
required

The post's workspace. It has no accounts or brand_voice here: List workspaces has those.

labels
object[]
required

The post's labels; [] when it has none.

campaign
object | null
required

The post's campaign, or null.

platforms
object[]
required

One row per account the post goes to, in the order the accounts were added. A draft with no accounts has [].

auto_plug
object | null
required

The reply posted when the post reaches a number of likes, reposts, replies or views; null when it's off. Change it with Update auto-plug.

comments
object[]

Only with include_comments=true: the post's comments, with their contact.