Call it
curl https://api.peume.com/v1/call/update-slack-account-settings \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"accountId": "your accountId",
"applyToWorkspace": false
}
}'const res = await fetch("https://api.peume.com/v1/call/update-slack-account-settings", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"accountId": "your accountId",
"applyToWorkspace": false
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/update-slack-account-settings",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"accountId": "your accountId",
"applyToWorkspace": False
}
},
)
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-slack-account-settings.
Parameters
accountIdRequiredstringdefaultUsernamestringAuthor name shown on posts. Empty string clears it.
defaultIconUrlstringAuthor avatar image URL. Empty string clears it.
applyToWorkspacebooleanApplies the name and icon to every connected channel of this Slack workspace owned by the same owner, on the same Slack app, in profiles the caller can access. Channels connected later inherit the identity from a channel of that workspace.
Example: false
