PeumeAPI

Social publishing & inbox

Reply to comment

Post a reply to a post or specific comment. Requires accountId in request body.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/reply-to-comment \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "postId": "your postId",
    "accountId": "your accountId",
    "message": "your message"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: reply-to-comment.

Parameters

postIdRequiredstring

post ID or platform-specific post ID. On LinkedIn, pass the post id exactly as the feed returns it (urn:li:share:<id> or urn:li:ugcPost:<id>); a bare number is read as an activity id (urn:li:activity:<n>).

accountIdRequiredstring
messageRequiredstring

Reply text. On LinkedIn, mention with @[https://www.linkedin.com/in/vanity] (resolved to LinkedIn's live name, same rules and errors as post content) or @[Name](urn:li:person|organization:ID); a hand-written name must match LinkedIn's exactly or it renders as plain text.

attachmentUrlstring

(Facebook, Bluesky, LinkedIn, Threads and X) URL of an image to attach to the comment or reply. The URL must be publicly fetchable. Returns 400 for other platforms.

attachmentTypestring

(Facebook, Threads and X, optional) How `attachmentUrl` is published. Requires `attachmentUrl`; returns 400 on other platforms. - Omitted: a GIF is detected and posted animated. Detection uses GIPHY links (page, media, embed, sticker; `gph.is` on Threads and X), `.gif` paths, and an `image/gif` response on Threads and X. - `image`: forces a still photo. Threads converts a GIF or WebP to JPEG or PNG. - `gif`: forces an animated GIF. - Threads GIFs must come from GIPHY, otherwise the request returns 400 `invalid_field_value`. - Facebook and X get a GIPHY link as their direct GIF. - X takes one

image · gif

commentIdstring

Reply to specific comment (optional)

mentionAuthorboolean

(LinkedIn only) When true, the reply starts with an @mention of the author of `commentId` (a member or a page), tagged with their URN and the name LinkedIn returns for them. Requires `commentId`. - Returns 400 `platform_not_supported` on other platforms. - Returns 400 `linkedin_mention_name_unavailable` with `details.authorUrn` when LinkedIn does not return the author's name (for example a page the account does not administer); mention them in `message` as @[Name](urn) instead. - If LinkedIn rejects any mention in the reply, it is posted once more with every mention as plain text.

parentCidstring

(Bluesky only) Parent content identifier

rootUristring

(Bluesky only) Root post URI

rootCidstring

(Bluesky only) Root post CID

Start free · $1 of calls included

Every API your business needs. One key.

7,000+ data and AI APIs behind one key, with backup sources built in.