Plugs

Plugs act on posts Postkea published once they get traction: repost them, reply with a follow-up, or have your other accounts like and repost them.

Plug types

Every plug belongs to a channel and watches each post that channel publishes through Postkea, for 7 days. Posts published elsewhere are never touched.

  • Auto repost (repost): when the post reaches a number of likes, or of engagements (likes, comments, shares and saves), the same account reposts it.
  • Auto follow-up (follow_up): at the threshold, the same account replies to the post with your text. Add a link with link; write {link} in the text where it goes, and set shortenLink for a tracked short link.
  • Cross-engage (engage): other connected accounts on the same network like it, repost it or both, for each new post, 5 minutes to 24 hours after it goes out.

Rule settings

Each plug has an on and off switch, a threshold (repost and follow-up), a wait after the trigger (delayMinutes), and a daily cap (maxPerDay, 1 to 100). Every account also has its own daily cap across all plugs, below the network's limits.

A plug acts once per post and account, however many times the post is checked.

Plugs on one post

In the composer, open More options, Plugs to change the plugs of one post. A custom plug replaces the channel plug of the same type for that post, and Off turns that type off. Through the API, create a plug with postId, or replace them all with PUT /v1/posts/{id}/plugs.

Network support

Plugs only use what each network's API allows. Facebook, Instagram, TikTok, YouTube and Pinterest have no API for reposts or likes, so plugs are not offered there.

NetworkRepostLikeReply
XYesYesYes
BlueskyYesYesYes
ThreadsYesNoYes
LinkedInYesYesYes
MastodonYesYesYes
  • X: Likes need the like.write permission; accounts connected before plugs existed reconnect once.
  • Threads: Threads has no API for likes; reposts and replies work.
  • LinkedIn: Likes use LinkedIn reactions, which need the Community Management API on your LinkedIn app.
  • Mastodon: Accounts on another server find the post by its link first.

When posts are checked

Postkea reads a post's metrics every 15 minutes for its first 6 hours, every hour until 48 hours, then every 6 hours until it is 7 days old. Cross-engage plugs do not need metrics and run when their wait ends.

Actions run as background jobs. Rate limits and network errors are retried with a growing wait; other errors are shown in the activity log.

Credits and plan limits

Each action that succeeds uses 1 credit. Failed and skipped actions are free. Active channel plugs per plan: Free 1, Creator 10, Pro 50, Business unlimited. Plugs on single posts do not count.

API and agents

Manage plugs with /v1/plugs and read what they did with GET /v1/plugs/activity. Agents connected over MCP have list_plugs, create_plug and list_plug_activity.

Reply with a link at 50 likes
{
  "type": "follow_up",
  "accountId": "acc_x_8f2k",
  "threshold": 50,
  "text": "The full guide is here: {link}",
  "link": "https://example.com/guide",
  "shortenLink": true
}
curl -X POST "https://postkea.com/api/v1/plugs" \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "type": "follow_up",
  "accountId": "acc_x_8f2k",
  "threshold": 50,
  "text": "The full guide is here: {link}",
  "link": "https://example.com/guide",
  "shortenLink": true
}'

Webhook event

Subscribe to plug.executed to hear about each successful action. The payload has the plug, the run (action, account, credits) and the post.

plug.executed
{
  "id": "evt_3Lq8Wn2Rx7Kb4Vt9Mp6D",
  "type": "plug.executed",
  "createdAt": "2026-11-24T10:15:00.000Z",
  "data": {
    "plug": {
      "id": "plug_8Qn2vR4kT7mWx1Lp3Zc9",
      "type": "follow_up",
      "postId": null
    },
    "run": {
      "id": "plr_5Tn8wQ2zR4kV7mXc1Lp9",
      "action": "reply",
      "accountId": "acc_x_8f2k",
      "platform": "x",
      "metricValue": 52,
      "platformRef": "1861234567890",
      "credits": 1
    },
    "post": {
      "id": "post_7hQx2mR9kT4vW1nL8pZc",
      "targetId": "tgt_2Kp9vR4mT7wQ1xL8nZc3",
      "platformPostId": "1861200000000",
      "url": "https://x.com/kea/status/1861200000000"
    }
  }
}