Posting

POST /v1/posts publishes one post to many accounts. Each account can get its own text and options, every network's limits are checked before anything goes out, and each network reports its own result.

The post body

Pick the accounts, write the text, attach media and choose one mode: publishNow, scheduledFor, addToQueue or saveAsDraft. With none of them the post is saved as a draft.

curl -X POST "https://postkea.com/api/v1/posts" \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "content": "Kiln day. Every piece survived, every glaze did something new.",
  "mediaItems": [
    {
      "type": "image",
      "url": "https://cdn.example.com/kiln-1.jpg",
      "altText": "Glazed mugs cooling on a rack"
    }
  ],
  "platforms": [
    {
      "accountId": "acc_ig_5t1p",
      "platformSpecificData": {
        "collaborators": [
          "clayclub"
        ]
      }
    },
    {
      "accountId": "acc_x_8f2k",
      "content": "Kiln day. Every piece survived."
    },
    {
      "accountId": "acc_pin_2c7d",
      "platformSpecificData": {
        "boardId": "1084663020000000",
        "link": "https://studiolumen.com/shop"
      }
    }
  ],
  "scheduledFor": "2026-11-04T13:00",
  "timezone": "Europe/Berlin",
  "firstComment": "Shop the mugs at studiolumen.com",
  "tags": [
    "kiln",
    "product"
  ]
}'
NameTypeDescription
contentstringThe text. Each platform can replace it, see per-platform text below.Default: ""
platformsrequiredTarget[]The accounts to post to, with optional per-platform text and options.
mediaItemsMediaItem[]Images, videos, GIFs or a PDF, in order. Up to 35 items.Default: []
publishNowbooleanPublish right away.
scheduledFordate-timeWhen to publish, as an ISO 8601 date-time. Without an offset the time is read in timezone.
timezoneIANA zoneIANA time zone for scheduledFor, for example America/New_York.Default: UTC
addToQueuebooleanPut the post in the next free time slot of each account. Creates one post per account.
saveAsDraftbooleanSave without scheduling.
requireApprovalbooleanSend the post to the approval queue instead of scheduling it.
dryRunbooleanValidate only. Nothing is saved or published, and it is free.
idempotencyKeystringUp to 200 characters. Sending the same key again returns the first post instead of creating a new one.
firstCommentstringPosted as a comment or reply right after the post, on networks that support it.
threadItems{ content, mediaItems? }[]Follow-up posts that form a thread on X, Threads, Bluesky and Mastodon. Up to 25.
autoThreadbooleanSplit text that is too long into a thread on networks that support threads.
tagsstring[]Your own labels for filtering in the dashboard and the API. Up to 20.Default: []
profileIdstringProfile the post belongs to.
ideaIdstringThe idea this post came from.
notesstringAn internal note for your team. Never published.
evergreen{ everyDays, maxRepeats? }Publish a copy again every everyDays days, up to maxRepeats times.
skipValidationbooleanPublish even when validation finds errors. The network may still reject the post.
waitbooleanWith publishNow, wait up to 25 seconds for the networks before answering. Send false to return at once.Default: true
origin{ url?, platform?, author? }Where the content came from, for example when you repurpose a video. Shown with the post.

The response is 202 with the created post and any validation warnings in issues. When addToQueue is used, posts lists one post per account and post is the first of them.

Media items

Media must be reachable by a public URL. Upload files first with POST /v1/media and use the mediaItem it returns, or pass any public URL. Sending sizes, dimensions and duration lets validation catch problems before publishing; library items include them automatically. See Media.

NameTypeDescription
typerequiredimage | video | gif | documentWhat kind of file it is. Documents are PDFs, supported on LinkedIn, Telegram and Discord.
urlrequiredurlPublic URL of the file.
mediaIdstringId of the item in your media library, when it came from there.
altTextstringDescription for screen readers. Used on X, Instagram, Facebook, Threads, LinkedIn, Pinterest, Bluesky, Mastodon and Tumblr.
thumbnailurlCover image for a video. YouTube uses it as the custom thumbnail.
mimeTypestringFor example video/mp4.
widthintegerWidth in pixels, used for aspect ratio checks.
heightintegerHeight in pixels.
durationSecnumberVideo length, used for duration checks.
sizeintegerFile size in bytes, used for size checks.

Per-platform text

Each entry in platforms is one account. Use content to give that account its own text, for example a longer LinkedIn version and a short X version of the same announcement.

NameTypeDescription
accountIdrequiredstringAccount id from GET /v1/accounts.
platformstringOptional. When set, the request fails if the account is on a different network, which protects against mixed up ids.
contentstringText for this account only. Replaces the top-level content.
platformSpecificDataobjectOptions for this network, listed below. Unknown keys are ignored.

Platform options

Pass these inside platformSpecificData of a platform entry. Every option is optional unless marked required.

X x

Text over 280 characters needs X Premium on the posting account.

NameTypeDescription
poll{ options: string[], durationMinutes?: number }A poll with 2 to 4 options. durationMinutes defaults to 1440 (one day). Polls cannot be combined with media.
replyToTweetIdstringPublish as a reply to this post.
quoteTweetIdstringQuote this post.
replySettingsfollowing | mentionedUsers | subscribers | verifiedWho can reply. Everyone can when it is not set.
communityIdstringPost into this Community.
shareWithFollowersbooleanWith communityId, also show the post to your followers.
madeWithAibooleanLabel the post as made with AI.
paidPartnershipbooleanLabel the post as a paid partnership.
longPostbooleanSkip the 280 character check for accounts with X Premium.

Instagram instagram

One image is a photo post, one video is a Reel, several items are a carousel. Instagram needs business or creator accounts.

NameTypeDescription
contentTypestorySet to story to publish each media item as a story. Stories show no caption.
shareToFeedbooleanAlso show a Reel in the main feed.Default: true
coverUrlurlImage URL to use as the Reel cover.
thumbOffsetnumberFrame of the video to use as the Reel cover, in milliseconds.
audioNamestringName of the Reel's original audio.
collaboratorsstring[]Up to 3 usernames to invite as collaborators.
locationIdstringLocation to tag, as a Facebook Page id.
isAiGeneratedbooleanLabel the post as made with AI.

Facebook facebook

Posts go to Facebook Pages. One video is a video post, images become a photo or album post, otherwise a text or link post.

NameTypeDescription
contentTypereel | storyreel publishes a video as a Reel, story publishes the first image or video as a story.
linkurlLink to attach to a text post.
titlestringTitle of a video or Reel.
publishedbooleanSet to false to create the post unpublished (hidden from the Page), or a Reel as a draft.Default: true
placeIdstringPlace to tag on a Reel.
isAiGeneratedbooleanLabel a Reel as made with AI.

Threads threads

Supports text, images, videos, carousels and threads.

NameTypeDescription
replyControleveryone | accounts_you_follow | mentioned_only | parent_post_author_only | followers_onlyWho can reply.
topicTagstringA topic for the post.
quotePostIdstringQuote this Threads post.
linkAttachmenturlLink preview to attach to a text post.
locationIdstringLocation to tag.

TikTok tiktok

One video, or up to 35 photos as a photo post. Check the creator's allowed settings with the creatorInfo helper first.

NameTypeDescription
privacyLevelPUBLIC_TO_EVERYONE | MUTUAL_FOLLOW_FRIENDS | FOLLOWER_OF_CREATOR | SELF_ONLYWho can see the post. Must be one of the levels the creator allows; by default the most public allowed level is used.
disableCommentbooleanTurn off comments.
disableDuetbooleanTurn off duets (videos).
disableStitchbooleanTurn off stitches (videos).
brandContentTogglebooleanThe post promotes a third party brand (paid partnership). Not allowed with SELF_ONLY.
brandOrganicTogglebooleanThe post promotes your own business.
isAigcbooleanLabel a video as AI generated.
videoCoverTimestampMsnumberFrame of the video to use as the cover, in milliseconds.
descriptionstringCaption to use instead of the post text.
titlestringTitle of a photo post, up to 90 characters.
autoAddMusicbooleanLet TikTok add music to a photo post.
photoCoverIndexnumberWhich photo is the cover, starting at 0.Default: 0
draftbooleanSend the post to the creator's TikTok inbox to finish and publish in the app.
uploadModefileSet to file to upload the bytes instead of letting TikTok fetch the URL. Use it when the media host is not verified with TikTok.

YouTube youtube

Needs one video. A vertical video of 3 minutes or less becomes a Short.

NameTypeDescription
titlestringVideo title, up to 100 characters. Defaults to the first line of the text.
visibilitypublic | unlisted | privateprivacyStatus works too.Default: public
publishAtISO date-timeUpload now as private and let YouTube publish it at this time.
tagsstring[] | stringVideo tags, as a list or a comma separated string.
categoryIdstringYouTube category. 22 is People and Blogs.Default: 22
playlistIdstringAdd the video to this playlist. Find ids with the playlists helper.
thumbnailurlCustom thumbnail image URL. Needs a verified channel; falls back to the media item's thumbnail.
madeForKidsbooleanThe video is made for children.Default: false
containsSyntheticMediabooleanThe video contains realistic altered or synthetic content.
notifySubscribersbooleanSet to false to publish without notifying subscribers.Default: true
embeddablebooleanAllow embedding on other sites.
licenseyoutube | creativeCommonVideo license.
publicStatsViewablebooleanShow the view count and other stats publicly.
defaultLanguagestringLanguage of the title and description.
defaultAudioLanguagestringLanguage spoken in the video.

LinkedIn linkedin

Posts to a member profile or an organization page. Supports one video, up to 20 images, a PDF document or a link card.

NameTypeDescription
visibilityPUBLIC | CONNECTIONS | LOGGED_INWho can see the post.Default: PUBLIC
feedDistributionMAIN_FEED | NONENONE keeps the post out of the main feed.Default: MAIN_FEED
disableResharebooleanStop others from resharing the post.
mentions{ name: string, urn: string }[]People or organizations to tag. Each name must appear in the text (with or without @) and urn is the member or organization URN.
articleUrlurlShare a link as an article card. Missing title, description and image are read from the page.
articleTitlestringTitle of the link card.
articleDescriptionstringDescription of the link card.
articleThumbnailUrlurlImage of the link card, when there is no image in the media.
documentTitlestringTitle shown on a PDF document post.
titlestringTitle of a video or document.

Pinterest pinterest

One pin with up to 5 images or one video. The text becomes the description, up to 800 characters.

NameTypeDescription
boardIdrequiredstringBoard to pin to. List boards with the boards helper.
boardSectionIdstringSection of the board.
titlestringPin title, up to 100 characters. Defaults to the first line of the text.
linkurlWhere the pin leads when clicked.
altTextstringAlt text, up to 500 characters. Defaults to the first image's alt text.
dominantColorstringPlaceholder color while the image loads, as a hex color.
coverImageUrlurlCover image of a video pin. Defaults to the video's thumbnail.
coverKeyFrameTimenumberFrame of the video to use as the cover when there is no cover image.
aiDisclosuresstring[]AI disclosure labels for the pin.

Bluesky bluesky

Text, up to 4 images or one video, and threads. Images larger than 1 MB are compressed for you.

NameTypeDescription
langsstring[]Languages of the post, as language codes.Default: ["en"]

Mastodon mastodon

Works with any Mastodon server. Supports threads and polls.

NameTypeDescription
visibilitypublic | unlisted | private | directWho sees the post. The account's default applies when it is not set.
spoilerTextstringContent warning shown before the text.
sensitivebooleanHide the media behind a warning.
languagestringLanguage code of the post.
poll{ options: string[], durationMinutes?: number, multiple?: boolean }A poll. durationMinutes defaults to 1440, multiple allows several choices. Polls cannot be combined with media.

Google Business googlebusiness

Posts to a Google Business Profile location, with up to one photo given by a public URL.

NameTypeDescription
topicTypeSTANDARD | EVENT | OFFERKind of post. When it is not set, an offer field makes it an offer and eventTitle makes it an event.
callToActionTypeBOOK | ORDER | SHOP | LEARN_MORE | SIGN_UP | CALLButton on the post. Every button except CALL needs callToActionUrl.
callToActionUrlurlWhere the button leads.
eventTitlestringTitle of an event or offer, up to 58 characters. Defaults to the title option or the first line.
eventStartDateYYYY-MM-DDStart date of an event or offer. Required for both.
eventEndDateYYYY-MM-DDEnd date of an event or offer. Required for both.
eventStartTimeHH:MMStart time, for example 09:30.
eventEndTimeHH:MMEnd time.
offerCouponCodestringCoupon code of an offer.
offerRedeemOnlineUrlurlLink to redeem an offer online.
offerTermsConditionsstringTerms of an offer.
languageCodestringLanguage of the post.

Reddit reddit

Text posts, or link posts when there is a URL or media. Media is submitted as a link to its URL.

NameTypeDescription
subredditrequiredstringSubreddit to post in, with or without r/.
titlerequiredstringPost title, up to 300 characters.
urlurlMake it a link post. Defaults to the first media item's URL. Link posts carry no body text.
flairIdstringFlair template id.
flairTextstringFlair text.
nsfwbooleanMark as not safe for work.
spoilerbooleanMark as a spoiler.
sendRepliesbooleanSend replies to the account's inbox.Default: true

Telegram telegram

Posts to the channel or group the bot was connected to.

NameTypeDescription
disableNotificationbooleanSend silently.
disableLinkPreviewbooleanDo not show a preview for links in the text.

Discord discord

Posts through the channel's webhook.

NameTypeDescription
usernamestringName to post as. Defaults to the name set when connecting.
avatarUrlurlAvatar image to post with.
threadNamestringIn a forum channel, create a new thread with this name.
allowMentionsbooleanLet @user, @role and @everyone mentions notify people. Off by default.

Slack slack

Posts through the channel's incoming webhook.

NameTypeDescription
disableUnfurlbooleanDo not expand link previews.

Tumblr tumblr

Text, images and one video per post, published to the blog you connected.

NameTypeDescription
statepublished | draft | queue | privatePublish now, save as draft, add to the blog's queue, or post privately.Default: published
tagsstring[] | stringTags, as a list or a comma separated string.
publishOnISO date-timeWith state: queue, when Tumblr should publish it.
sourceUrlurlSource of the content.
slugstringCustom URL slug.
linkurlLink block added after the text.

DEV devto

Markdown articles on DEV. The first image is the cover; other images are added at the end.

NameTypeDescription
titlestringArticle title. Without it, the first line of the text is the title and the rest is the body.
statuspublished | draftPublish now or save as a draft. Deleting a post from Postkea unpublishes it, because the DEV API cannot delete articles.Default: published
tagsstring[] | stringUp to 4 tags, letters and numbers only.
canonicalUrlurlOriginal link when the article first appeared elsewhere.
coverImageUrlurlCover image link, instead of the first attached image.
seriesstringSeries name that links articles together.
descriptionstringShort description shown in feeds and previews.
organizationIdnumberPublish under an organization you belong to.

Hashnode hashnode

Markdown posts on a Hashnode blog. The API needs the blog on the Hashnode Pro plan.

NameTypeDescription
titlestringArticle title. Without it, the first line of the text is the title and the rest is the body.
subtitlestringSubtitle under the title.
statuspublished | draftPublish now or create a draft.Default: published
tagsstring[] | stringUp to 15 tags. Missing tags are created.
canonicalUrlurlOriginal link when the post first appeared elsewhere.
coverImageUrlurlCover image link, instead of the first attached image.
slugstringCustom URL slug.
disableCommentsbooleanTurn off comments on the post.

WordPress wordpress

Posts on a self-hosted WordPress site. Markdown is converted to HTML, the first image becomes the featured image and other images follow the text.

NameTypeDescription
titlestringArticle title. Without it, the first line of the text is the title and the rest is the body.
statuspublish | draft | pending | private | futureWordPress post status. future needs date.Default: publish
dateISO date-timePublish date for status: future.
categoriesstring[] | stringCategory names or ids. Missing categories are created.
tagsstring[] | stringTag names or ids. Missing tags are created.
excerptstringManual excerpt.
slugstringCustom URL slug.
contentFormatmarkdown | htmlSend the text as HTML without converting it.Default: markdown

Ghost ghost

Posts on a Ghost site. Markdown is converted to HTML and images are uploaded to Ghost; the first is the feature image.

NameTypeDescription
titlestringArticle title. Without it, the first line of the text is the title and the rest is the body.
statuspublished | draftPublish now or save as a draft.Default: published
tagsstring[] | stringTag names. Missing tags are created.
excerptstringCustom excerpt.
canonicalUrlurlOriginal link when the post first appeared elsewhere.
featureImageUrlurlFeature image link, instead of the first attached image.
visibilitypublic | members | paidWho can read the post.
sendNewsletterbooleanEmail the published post to newsletter subscribers.
newsletterstringNewsletter slug. Defaults to the site's first active newsletter.
emailSegmentstringMembers filter for the email, for example status:free.Default: all
contentFormatmarkdown | htmlSend the text as HTML without converting it.Default: markdown

Medium medium

Markdown stories on Medium. Works only with integration tokens created before 2023. Medium's API cannot delete or edit stories.

NameTypeDescription
titlestringArticle title. Without it, the first line of the text is the title and the rest is the body.
statuspublic | draft | unlistedPublic, draft or unlisted.Default: public
tagsstring[] | stringUp to 3 tags of 25 characters or less.
canonicalUrlurlOriginal link when the story first appeared elsewhere.
notifyFollowersbooleanSet to false to publish without notifying followers.Default: true

Lemmy lemmy

Posts to a Lemmy community from your account. One attached image is uploaded and used as the post link.

NameTypeDescription
communityrequiredstringCommunity name, name@instance, a community URL or its numeric id.
titlestringPost title, up to 200 characters. Defaults to the first line of the text.
urlurlLink for a link post.
nsfwbooleanMark the post as NSFW.

Listmonk listmonk

An email campaign on your Listmonk. Markdown is converted to HTML.

NameTypeDescription
listsrequirednumber[]Ids of the lists to send to. List them with the lists helper.
subjectstringEmail subject. Defaults to the first line of the text.
namestringCampaign name in Listmonk. Defaults to the subject.
draftbooleanCreate the campaign without sending it.
sendAtISO date-timeLet Listmonk send it at this time instead of when the post publishes.
fromEmailstringSender address, for example [email protected]. Defaults to the Listmonk setting.
templateIdnumberListmonk template id.
contentFormatmarkdown | htmlSend the text as HTML without converting it.Default: markdown

Farcaster farcaster

Casts through Neynar, up to 1,024 bytes with up to two embeds (attached media count).

NameTypeDescription
channelIdstringChannel to cast in.
embedUrlurlLink to embed as a card.

Twitch twitch

Chat messages in your own channel, up to 500 characters. Text only.

NameTypeDescription
modemessage | announcementSend a normal chat message or a highlighted announcement. Announcements cannot be deleted later.Default: message
colorprimary | blue | green | orange | purpleAnnouncement color.Default: primary

Dribbble dribbble

Shots with one image of exactly 400 x 300 or 800 x 600 pixels. Larger 4:3 images are scaled down.

NameTypeDescription
titlestringArticle title. Without it, the first line of the text is the title and the rest is the body.
tagsstring[] | stringUp to 12 tags.
lowProfilebooleanKeep the shot off followers' feeds.
teamIdstringPost the shot for a team you belong to.

Custom webhook accounts receive platformSpecificData as options in the JSON they are sent, so you can define your own.

Threads

On X, Threads, Bluesky and Mastodon, threadItems are published as replies to the first post, in order. Each item can have its own media. Other networks publish only the main post and you get a thread_unsupported warning.

A thread
{
  "content": "We rebuilt our scheduler from scratch. Here is what we learned.",
  "threadItems": [
    {
      "content": "1. Time zones are the whole problem. Store the wall clock time and the zone, not just UTC."
    },
    {
      "content": "2. Queues beat cron. Every post is its own delayed job, so one slow network never blocks another."
    }
  ],
  "platforms": [
    {
      "accountId": "acc_x_8f2k"
    },
    {
      "accountId": "acc_bsky_1a2b"
    }
  ],
  "publishNow": true
}

With autoThread: true, text that is longer than the smallest limit of the threaded networks is split on paragraphs, then sentences, then words, and numbered like 1/3. Networks without threads keep the full text. To preview the split, or to split text yourself, use the free split endpoint:

curl -X POST "https://postkea.com/api/v1/posts/thread-split" \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "text": "A long announcement...",
  "platform": "x",
  "numbered": true
}'

First comment

firstComment is posted as the first comment or reply right after the post, which is where many accounts put links and hashtags. Supported on X, Instagram, Facebook, Threads, YouTube, LinkedIn, Bluesky, Mastodon, Reddit. On other networks it is skipped with a warning. If the comment fails, the post still counts as published and the failure is listed in the platform's warnings.

Validation and dry run

Before a post is saved, Postkea checks it against every target network: text length (X counts links as 23 characters), media count and mix, video length and size, image size, aspect ratio, titles, hashtags and required options. Send the same body to POST /v1/posts/validate, or add dryRun: true, to run the checks without saving anything. Both are free.

curl -X POST "https://postkea.com/api/v1/posts/validate" \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "content": "A very long post...",
  "platforms": [
    {
      "accountId": "acc_x_8f2k"
    },
    {
      "accountId": "acc_pin_2c7d"
    }
  ]
}'
Response
{
  "success": true,
  "data": {
    "dryRun": true,
    "valid": false,
    "policy": "auto",
    "targets": [
      {
        "accountId": "acc_x_8f2k",
        "platform": "x"
      },
      {
        "accountId": "acc_pin_2c7d",
        "platform": "pinterest"
      }
    ],
    "issues": [
      {
        "level": "error",
        "platform": "x",
        "accountId": "acc_x_8f2k",
        "code": "text_too_long",
        "message": "X: the text has 412 characters and the limit is 280. Shorten it, or split it into a thread."
      },
      {
        "level": "error",
        "platform": "pinterest",
        "accountId": "acc_pin_2c7d",
        "code": "media_required",
        "message": "Pinterest: this platform needs at least one image or video."
      },
      {
        "level": "error",
        "platform": "pinterest",
        "accountId": "acc_pin_2c7d",
        "code": "option_required",
        "message": "Pinterest: needs a board. Set platformSpecificData.boardId (list boards with the Pinterest boards helper)."
      }
    ]
  }
}

Errors block the post with 422 validation_error and the full list in error.details.issues, unless the post is a draft or you send skipValidation: true. Warnings never block. The codes:

CodeWhat it means
text_too_longThe text is over the network's limit.
emptyThere is neither text nor media.
media_requiredThe network needs at least one image or video (Instagram, TikTok, YouTube, Pinterest).
video_requiredThe network needs a video (YouTube).
too_many_imagesMore images than the network allows.
too_many_videosMore videos than the network allows.
mixed_mediaThe network does not allow images and videos in one post.
documents_unsupportedPDFs only work on LinkedIn, Telegram and Discord.
video_too_longThe video is longer than the network allows.
video_too_shortThe video is shorter than the network allows.
video_too_largeThe video file is too big.
image_too_largeAn image file is too big. Bluesky images are compressed for you instead, with a warning.
aspect_ratioWarning: the image may be cropped.
title_requiredReddit posts need a title.
title_too_longThe title option is too long.
title_truncatedWarning: the first line becomes the title and will be cut.
too_many_hashtagsMore hashtags than the network allows (Instagram allows 30).
option_requiredA required option is missing, such as Pinterest's boardId or Reddit's subreddit.
thread_unsupportedWarning: the network does not support threads, only the first post is published.
thread_item_too_longA thread item is over the limit.
first_comment_unsupportedWarning: the network does not support first comments.
account_inactiveThe account needs to be reconnected.

Results, partial posts and retries

Every platform entry of a post reports its own status, success, platformPostId, platformPostUrl, error, errorCode, warnings, attempts, metrics and creditsCharged. The post itself moves through these statuses:

ValueWhat it means
draftSaved, not scheduled.
pending_approvalWaiting for a teammate to approve it.
scheduledWill publish at scheduledFor.
publishingBeing sent to the networks.
publishedEvery platform published.
partialSome platforms published and some failed.
failedNo platform published.

Temporary network errors are retried automatically, up to 3 attempts with a growing delay. After that the platform is marked failed. Fix the cause (for example reconnect the account) and retry only the failed platforms, now or at a new scheduledFor:

curl -X POST "https://postkea.com/api/v1/posts/post_8f2k1x9q0m3v7n4b2c6d/retry" \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
Credits are charged per platform that publishes. Failed platforms cost nothing, and retries are charged only when they succeed.

Idempotency

Networks fail, connections drop and jobs get retried. Send an idempotencyKey (for example your own record id) with every create request. If a post with that key already exists in the workspace, the response is 200 with replayed: true and the existing post, and nothing is published twice.

Editing and managing posts

  • GET /v1/posts lists posts. Filter by status (comma separated), platform, accountId, profileId, tag, q (text search), from and to; sort with sort=newest|oldest|scheduled; paginate with cursor.
  • GET /v1/posts/{id} returns one post with every platform result and metrics.
  • PUT /v1/posts/{id} edits a draft, scheduled, pending or failed post: text, media, accounts, time, first comment, thread, tags or notes. Set status to draft to unschedule it or to scheduled to schedule a draft.
  • DELETE /v1/posts/{id} deletes the post from Postkea. Add fromPlatforms=true to also delete the published copies where the network allows it.
  • POST /v1/posts/{id}/duplicate copies a post as a new draft. GET and POST /v1/posts/{id}/notes read and add team notes.
  • POST /v1/posts/bulk creates up to 200 posts in one request, each with the same body as a single post, and reports a result per item. Use it for CSV imports; add stopOnError: true to stop at the first failure.

Platform limits

These are the limits validation uses. GET /v1/platforms returns them as JSON.

PlatformTextImagesVideosVideo lengthFile sizeNotes
X280412 minimage 5 MB, video 512 MBthreads, no mixed media
Instagram2,200101015 minimage 8 MB, video 300 MBneeds media, up to 30 hashtags
Facebook63,2061014 himage 10 MB, video 4 GBno mixed media
Threads50020205 minimage 8 MB, video 1 GBthreads
TikTok2,20035110 minimage 20 MB, video 4 GBneeds media, no mixed media
YouTube5,00001-video 256 GBneeds a video, title up to 100
LinkedIn3,00020115 minimage 36 MB, video 5 GBno mixed media
Pinterest50051-image 20 MB, video 2 GBneeds media, title up to 100, no mixed media
Bluesky300413 minimage 1 MB, video 100 MBthreads, no mixed media
Mastodon50041-image 16 MB, video 99 MBthreads, no mixed media
Google Business1,50010-image 5 MB
Reddit40,00020115 minimage 20 MB, video 1 GBtitle up to 300, no mixed media
Telegram4,0961010-image 10 MB, video 50 MB
Discord2,0001010-image 25 MB, video 25 MB
Slack40,000100--
Tumblr100,000101-image 20 MB, video 500 MB
DEV100,000100--title up to 128
Hashnode100,00010-image 8 MBtitle up to 250
WordPress100,000200--
Ghost100,000200-image 20 MBtitle up to 255
Medium100,000100--title up to 100
Lemmy10,00010-image 20 MBtitle up to 200
Nostr100,000104--
Listmonk300,000100--title up to 200
Farcaster1,02421--
Twitch50000--
Kick50000--
Dribbble10,00010-image 8 MBneeds media