MISSINdevelopersLog in

API reference

PostGroupTotals

Post counts matching a filter, grouped by validity, platform and campaign. Read access, posts toolset, MCP tool get_post_group_totals.

Access: Read

Variables

VariableTypeRequiredAcceptsDescription
filterPartnerPostFilternoPartnerPostFilter

Call it

bash
curl https://api.missin.co.uk/graphql/v1 \
  -H "Authorization: Bearer $MISSIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"operationName":"PostGroupTotals","variables":{},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"caed2f8f524dd41948661df92419be697a5e4c57ff61e7128b7c60bd77cc21f2"}}}'

Document

graphql
query PostGroupTotals($filter: PartnerPostFilter) { __typename allPartnerPosts(filter: $filter) { __typename validity: groupedAggregates(groupBy: [VALIDITY]) { __typename distinctCount { __typename rowId } keys } platform: groupedAggregates(groupBy: [POST_TYPE]) { __typename distinctCount { __typename rowId } keys } campaign: groupedAggregates(groupBy: [CAMPAIGN_ID]) { __typename distinctCount { __typename rowId } keys } } }

For AI agents: a markdown index of this site is at /llms.txt, and every page is available as markdown by adding .md to its URL.