Call it
curl https://api.peume.com/v1/call/connect-webflow-with-a-site-api-token \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"siteToken": "your siteToken"
}
}'const res = await fetch("https://api.peume.com/v1/call/connect-webflow-with-a-site-api-token", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"siteToken": "your siteToken"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/connect-webflow-with-a-site-api-token",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"siteToken": "your siteToken"
}
},
)
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: connect-webflow-with-a-site-api-token.
Parameters
siteTokenRequiredstringWebflow site API token with Sites read and CMS read and write access.
reconnectAccountIdstringThe Webflow site connection being reconnected. In a workspace with no billing set up, the connect is allowed only when it returns to that same site.
