PeumeAPI

Social publishing & inbox

Update an OAuth app

Renames the app or rotates its secret.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/update-an-oauth-app \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "appId": "your appId"
  }
}'

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: update-an-oauth-app.

Parameters

appIdRequiredstring
labelstring
clientSecretstring
metaAppIdstring

Instagram only: the numeric ID of the Meta app your Instagram app lives in. uses it with `metaAppSecret` to register the webhook. Send both or neither.

metaAppSecretstring

Instagram only: the secret of that Meta app. Never returned.

slackSigningSecretstring

Slack only: saves or replaces the signing secret from the app's Basic Information page; any other platform is a 400.

scopeAreasarray

Replaces the areas new connects request. Accounts already connected keep what they were granted until they reconnect.

callbackOnConnectDomainboolean

Move the OAuth callback to your active connect domain (true) or back to.com (false). Allow the new `redirectUri` in your app's settings first, or connects fail.

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.