Listar menções no Mention, por uma API

Lista as menções que um alerta coletou, com título, texto, URL, fonte, idioma, tom e pasta. A resposta traz _links.more, cujo href leva o cursor das menções mais antigas. Alguns filtros não podem ser combinados, como cada um indica.

Identificador
mention_list_mentions

A chamada

POST https://connect.reportei.com/api/tools/mention_list_mentions/execute
Authorization: Bearer <merchant token>
x-customer-token: <customer token>
Content-Type: application/json
Accept: application/json

{
  "customer_toolkit": "<connection UUID>",
  "arguments": {
    "account_id": "<account_id>",
    "alert_id": "<alert_id>"
  }
}

Seu sistema envia o id da conexão do cliente e os argumentos da tool. Os headers são os mesmos de toda a API do Connect: o token do seu produto e o token do cliente.

Parâmetros

As descrições dos parâmetros seguem a documentação oficial do app, em inglês.

ParâmetroTipoObrigatórioDescrição
account_idstringSimId of the account, from Get account.
alert_idstringSimId of the alert, from List alerts.
limitintegerNãoMentions per page, up to 1000. The default is 20; a small limit answers faster.
cursorstringNãoThe cursor parameter of _links.more.href in the previous response, to read older mentions.
since_idintegerNãoOnly the mentions found after the mention with this id, from List mentions, sent as a number. Not combinable with before_date, not_before_date or cursor.
before_datestringNãoOnly the mentions published before this date-time, for example 2026-01-31T00:00:00.0+00:00. The mentions come ordered by publication date.
not_before_datestringNãoIgnores the mentions published before this date-time. Only together with before_date.
folderstringNãoOnly the mentions of this folder.Valores: inbox, archive, spam, trash
unreadintegerNão1 returns only unread mentions. Not combinable with favorite, q or tone.Valores: 0, 1
favoriteintegerNão1 returns only favorite mentions. Not combinable with folder spam or trash.Valores: 0, 1
toneintegerNãoOnly the mentions of this tone: -1 negative, 0 neutral, 1 positive.Valores: -1, 0, 1
sourcestringNãoOnly the mentions of this source code, from the alert_sources of Get app data. Only for plans with search access.
languagesstringNãoOnly the mentions in this language code, such as en, from the alert_languages of Get app data.
countriesstringNãoOnly the mentions from this country code, such as US, from the alert_countries of Get app data.
include_childrenintegerNão1 also returns the child mentions.Valores: 0, 1
sortstringNãoSort order of the mentions. Only for plans with search access.Valores: published_at, author_influence.score, direct_reach, cumulative_reach, domain_reach
qstringNãoKeywords, and filters that the other arguments cannot combine, for example nasa source:(facebook OR twitter) tone:(neutral OR positive) published_at:[2026-01-01 TO 2026-01-31]. Only for plans with search access.
timezonestringNãoTime zone of the dates in q, for example America/Sao_Paulo.

Conexões possíveis

O seu cliente conecta a conta do Mention uma vez, por um dos modos abaixo. A mesma conexão serve para todas as tools do toolkit.

Chave de API

O cliente cola a chave do app numa tela do Connect, ou o seu sistema envia a chave por POST /api/customer-toolkits, sem tela.

A resposta

Em caso de sucesso, o Connect preserva o status e o corpo da resposta do app. Erros HTTP retornados pelo app usam o envelope {error, api_error}; falhas de autenticação ou validação podem ocorrer antes da execução. O header X-Toolkit-Execution-Id identifica a execução registrada, consultável em GET /api/tools/executions/{uuid}.

Pronta para agentes de IA

O input desta tool é um JSON Schema, disponível em GET /api/tools/mention_list_mentions. Ele vira a definição de tool do seu agente sem conversão.

Outras tools do Mention

Ver as 10 tools

Toolkits da mesma categoria

Ver os 100 toolkits

Veja o Connect aplicado ao seu produto.

Teste por 15 dias sem cartão, ou mostre seu cenário ao nosso time.