List the comments of a campaign
media_planner.comments.list
Lists the internal comments of a row of a media plan (campaign, platform or account row), oldest first, paginated by cursor: content (sanitized HTML), author, mentioned member uids, and edit date. Comments from before the unified comment system carry author_id instead of created_by_id. Requires view access to the Media Planner.
- Escopo
media_planner:read- Permissão
- Ver o módulo
- Tool do MCP
media_planner_comments_listNa superfície completa; na compacta,mb_execute_operationcomid: "media_planner.comments.list".
Custo declarado: até 204 leituras e 0 escritas por chamada (contam na cota diária).
Parâmetros
plan_idstringrotaMedia plan id (from media_planner.plans.list).
campaign_idstringrotaRow id inside the plan: a campaign, a platform row or an account row (from media_planner.campaigns.list).
limitintegerqueryopcionalHow many items this page brings at most (see the maximum and the default in the schema).
Padrão: 50
cursorstringqueryopcionalThe next_cursor of the previous page, exactly as it came (only for the same list and filters); without it, the first page.
Resposta
dataarray<object>has_morebooleannext_cursorstringErros
Exemplo
curl "https://api.mb-suite.com/v1/media-planner/plans/{plan_id}/campaigns/{campaign_id}/comments" \
-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/media-planner/plans/{plan_id}/campaigns/{campaign_id}/comments" \
-H "Authorization: Bearer $MB_TEST_KEY"