Call it
curl https://api.peume.com/v1/call/list-reviews \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"sortBy": "date",
"sortOrder": "desc",
"limit": 25
}
}'const res = await fetch("https://api.peume.com/v1/call/list-reviews", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"sortBy": "date",
"sortOrder": "desc",
"limit": 25
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/list-reviews",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"sortBy": "date",
"sortOrder": "desc",
"limit": 25
}
},
)
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: list-reviews.
Parameters
platformstringfacebook · googlebusiness
minRatingintegerReviews without a star rating (Facebook recommendations) never match.
maxRatingintegerReviews without a star rating (Facebook recommendations) never match.
hasReplybooleanFilter by reply status
sortBystringrating puts reviews without a star rating last in both orders.
date · rating
Example: date
sortOrderstringasc · desc
Example: desc
limitintegerExample: 25
cursorstringPass back pagination.nextCursor of the previous page unchanged, with the same sortBy and sortOrder.
accountIdstringOne account id, or several comma-separated.
