PeumeAPI

Social publishing & inbox

Pin post

Pins a published Facebook Page post to the top of its Page. Only Facebook posts can be pinned; any other platform answers 400 `platform_not_supported`. Works for posts on Pages connected through Facebook Login.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/pin-post \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "postId": "your postId",
    "platform": "facebook"
  }
}'

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: pin-post.

Parameters

postIdRequiredstring
platformRequiredstring

Must be `facebook`. Any other value answers 400 `platform_not_supported`.

Example: facebook

accountIdstring

Which Facebook account's copy to change when the post was published to several Facebook accounts. Required in that case.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.