Call it
curl https://api.peume.com/v1/call/install-on-a-shopify-wordpress-wix-or-webflow-site \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"accountId": "your accountId",
"tagId": "your tagId",
"storeAccountId": "your storeAccountId",
"verifyHomepage": true
}
}'const res = await fetch("https://api.peume.com/v1/call/install-on-a-shopify-wordpress-wix-or-webflow-site", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"accountId": "your accountId",
"tagId": "your tagId",
"storeAccountId": "your storeAccountId",
"verifyHomepage": true
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/install-on-a-shopify-wordpress-wix-or-webflow-site",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"accountId": "your accountId",
"tagId": "your tagId",
"storeAccountId": "your storeAccountId",
"verifyHomepage": True
}
},
)
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: install-on-a-shopify-wordpress-wix-or-webflow-site.
Parameters
accountIdRequiredstringtagIdRequiredstringTag id (`TrackingTag.id`).
storeAccountIdRequiredstringThe connected Shopify (`shopify`), WordPress (`wordpress`), Wix (`wix`) or Webflow (`webflow`) account id.
adAccountIdstringScopes the tag lookup on platforms whose tag ids live inside an ad account. Ignored elsewhere.
sidebarIdstringWordPress only: widget area to use (see `install.preflight.sidebars` from GET). Defaults to a footer area.
verifyHomepagebooleanWordPress only: fetch the homepage afterwards and report `homepageCheck`.
Example: true
