Get the Social Inbox team performance
social_inbox.analytics.performance
Returns the inbox performance between start_date and end_date (YYYY-MM-DD, UTC days, up to 366): items received, replied and resolved, items moved to Spam by hand (spam_marked; what the inbox sends to Spam by itself when a message arrives does not count), the average first response time of people (ms; automatic replies do not count), the same per platform, replies and resolutions per agent (people and AI Community Managers, ai-<position_id>) and a daily series (spam_marked per day too). Built from daily aggregates: it does not read the items. Requires view access to the Social Inbox. With LinkedIn or TikTok, their terms limit it through the API and the MCP: what they do not allow answers 403 platform_terms_restricted, and their fields are left out of the response (the permissions guide lists what each platform allows).
- Escopo
social_inbox:read- Permissão
- Ver o módulo
- Tool do MCP
social_inbox_analytics_performanceNa superfície completa; na compacta,mb_execute_operationcomid: "social_inbox.analytics.performance".
Custo declarado: até 366 leituras e 0 escritas por chamada (contam na cota diária).
Parâmetros
start_datestringqueryFirst day, YYYY-MM-DD (UTC days, as the daily aggregates are stored).
end_datestringqueryLast day, YYYY-MM-DD (inclusive; up to 366 days from start_date).
Resposta
range_startstringFirst day of the range (YYYY-MM-DD, UTC).
range_endstringLast day of the range (YYYY-MM-DD, UTC).
receivednumberItems received.
repliednumberItems replied.
resolvednumberItems resolved.
spam_markednumberItems someone moved to Spam in the range, by hand in the inbox or with social_inbox.items.mark_spam (marking a whole conversation counts each of its items), counted on the UTC day they were marked. What the inbox sends to Spam by itself when a message arrives (the AI analyst or a rule) does not count, and taking an item out of Spam does not subtract.
avg_first_response_msnumber | nullAverage time to the first reply by a person (ms); null without replies in the range.
received_by_platformobjectReceived per network (facebook, instagram, linkedin, tiktok).
replied_by_platformobjectReplied per network.
avg_first_response_by_platformobjectAverage first reply per network (ms).
agentsarray<object>Replies and resolutions per agent.
dailyarray<object>One row per day of the range.
Erros
Exemplo
curl "https://api.mb-suite.com/v1/social-inbox/performance?start_date=START_DATE&end_date=END_DATE" \
-H "Authorization: Bearer $MB_API_KEY"Testar com a sua API key de teste
Com uma API key de teste o pedido vai sempre para a sua organização de prática: dados de exemplo que você pode reiniciar.
curl "https://api.mb-suite.com/v1/social-inbox/performance?start_date=START_DATE&end_date=END_DATE" \
-H "Authorization: Bearer $MB_TEST_KEY"