get_analytics_publications
Retrieve analytics for posts within a project and account for a specified period.
Parameters
project_id(integer, required): Project ID.account_id(integer, required): Account ID.date_from(string, required): Start date (YYYY-MM-DD).date_to(string, required): End date (YYYY-MM-DD).type(integer, optional): Publication type:1(post),3(story),4(reels/shorts).sort(string, optional): Sorting criteria.page(integer, optional): Page number.per_page(integer, optional): Items per page.
Example Request
curl -X POST https://mcp.postmypost.io/v1/tools/call \
-H "Authorization: Bearer <your-api-token>" \
-H "Content-Type: application/json" \
-d '{
"name": "get_analytics_publications",
"arguments": {
"project_id": 123,
"account_id": 1,
"date_from": "2025-01-01",
"date_to": "2025-01-31"
}
}'