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"
}
}'const res = await fetch("https://api.peume.com/v1/call/update-an-oauth-app", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"appId": "your appId"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/update-an-oauth-app",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"appId": "your appId"
}
},
)
print(res.json()["output"])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
appIdRequiredstringlabelstringclientSecretstringmetaAppIdstringInstagram 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.
metaAppSecretstringInstagram only: the secret of that Meta app. Never returned.
slackSigningSecretstringSlack only: saves or replaces the signing secret from the app's Basic Information page; any other platform is a 400.
scopeAreasarrayReplaces the areas new connects request. Accounts already connected keep what they were granted until they reconnect.
callbackOnConnectDomainbooleanMove 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.
