Call it
curl https://api.peume.com/v1/call/google-business-create-location \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"accountId": "your accountId",
"title": "your title",
"languageCode": "your languageCode",
"primaryCategory": "your primaryCategory"
}
}'const res = await fetch("https://api.peume.com/v1/call/google-business-create-location", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"accountId": "your accountId",
"title": "your title",
"languageCode": "your languageCode",
"primaryCategory": "your primaryCategory"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-business-create-location",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"accountId": "your accountId",
"title": "your title",
"languageCode": "your languageCode",
"primaryCategory": "your primaryCategory"
}
},
)
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: google-business-create-location.
Parameters
accountIdRequiredstringtitleRequiredstringBusiness name as shown on Google.
languageCodeRequiredstringBCP-47 language of the listing (e.g. "es"). Immutable after creation.
primaryCategoryRequiredstringCategory name from GET gmb-categories (e.g. "categories/gcid:cafe"). A bare "gcid:cafe" is also accepted.
additionalCategoriesarrayFurther category names, same format as primaryCategory.
storefrontAddressobjectPhysical address of the business. Required unless serviceArea is provided.
serviceAreaobjectAreas the business serves. Required unless storefrontAddress is provided.
phonestringPrimary phone number. Required when storefrontAddress is absent and websiteUri is not set.
websiteUristringWebsite URL. Required when storefrontAddress is absent and phone is not set.
descriptionstringBusiness description (Google profile.description).
regularHoursobjectGoogle `regularHours` object (periods with openDay, openTime, closeDay, closeTime).
validateOnlybooleanValidate with Google without creating the listing or attaching anything.
