PeumeAPI

Social publishing & inbox

Create a connect link

Create a single-use link that lets someone else connect their account to one of your profiles, without a login.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/create-a-connect-link \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "platform": "facebook",
    "expiresInDays": 7
  }
}'

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: create-a-connect-link.

Parameters

platformRequiredstring

facebook · instagram · linkedin · twitter · threads · tiktok · youtube · pinterest · reddit · bluesky · snapchat · googlebusiness

accountIdstring

Reconnect this existing account instead of adding a new one. It must belong to the profile and platform.

loginMethodstring

Instagram only. instagram_login (the default) uses Instagram Login, facebook_login uses Facebook Login. A reconnect link keeps the method the account was connected with.

instagram_login · facebook_login

expiresInDaysinteger

Days until the link expires.

Example: 7

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.