PeumeAPI

Social publishing & inbox

Sync an external post

Fetch an account's latest external posts (published directly on the platform, not through) on demand. A newly published post is then retrievable within seconds instead of waiting for the background sync, which refreshes each account at most every ~90 minutes.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/sync-an-external-post \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "accountId": "your accountId"
  }
}'

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: sync-an-external-post.

Parameters

accountIdRequiredstring

SocialAccount ID whose posts to sync. Must be connected to.

urlstring

The post URL to locate. Optional. Provide `url` or `postId` to return a specific post; omit both to refresh and return the account's recent posts.

postIdstring

The platform post/media/video id to locate, as an alternative to `url`. Optional.

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.