Listar menciones en Mention, con una API

Lista las menciones que recogió una alerta, con título, texto, URL, fuente, idioma, tono y carpeta. La respuesta trae _links.more, cuyo href lleva el cursor de las menciones más antiguas. Algunos filtros no se pueden combinar, como indica cada uno.

Identificador
mention_list_mentions

La llamada

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>"
  }
}

Tu sistema envía el id de la conexión de tu cliente y los argumentos de la tool. Los headers son los mismos de toda la API de Connect: el token de tu producto y el token de tu cliente.

Parámetros

Las descripciones de los parámetros siguen la documentación oficial de la app, en inglés.

ParámetroTipoObligatorioDescripción
account_idstringSíId of the account, from Get account.
alert_idstringSíId of the alert, from List alerts.
limitintegerNoMentions per page, up to 1000. The default is 20; a small limit answers faster.
cursorstringNoThe cursor parameter of _links.more.href in the previous response, to read older mentions.
since_idintegerNoOnly 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_datestringNoOnly 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_datestringNoIgnores the mentions published before this date-time. Only together with before_date.
folderstringNoOnly the mentions of this folder.Valores: inbox, archive, spam, trash
unreadintegerNo1 returns only unread mentions. Not combinable with favorite, q or tone.Valores: 0, 1
favoriteintegerNo1 returns only favorite mentions. Not combinable with folder spam or trash.Valores: 0, 1
toneintegerNoOnly the mentions of this tone: -1 negative, 0 neutral, 1 positive.Valores: -1, 0, 1
sourcestringNoOnly the mentions of this source code, from the alert_sources of Get app data. Only for plans with search access.
languagesstringNoOnly the mentions in this language code, such as en, from the alert_languages of Get app data.
countriesstringNoOnly the mentions from this country code, such as US, from the alert_countries of Get app data.
include_childrenintegerNo1 also returns the child mentions.Valores: 0, 1
sortstringNoSort order of the mentions. Only for plans with search access.Valores: published_at, author_influence.score, direct_reach, cumulative_reach, domain_reach
qstringNoKeywords, 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.
timezonestringNoTime zone of the dates in q, for example America/Sao_Paulo.

Conexiones posibles

Tu cliente conecta su cuenta de Mention una sola vez, con uno de los modos de abajo. La misma conexión sirve para todas las tools del toolkit.

Clave de API

Tu cliente pega la clave de la app en una pantalla de Connect, o tu sistema envía la clave con POST /api/customer-toolkits, sin pantalla.

La respuesta

Si la llamada tiene éxito, Connect conserva el status y el cuerpo de la respuesta de la app. Los errores HTTP devueltos por la app usan el objeto {error, api_error}; la autenticación o validación pueden fallar antes de la ejecución. El header X-Toolkit-Execution-Id identifica la ejecución registrada, disponible en GET /api/tools/executions/{uuid}.

Lista para agentes de IA

El input de esta tool es un JSON Schema, disponible en GET /api/tools/mention_list_mentions. Se convierte en la definición de tool de tu agente sin conversión.

Otras tools de Mention

Ver las 10 tools

Toolkits de la misma categoría

Ver los 100 toolkits

Mira Connect aplicado a tu producto.

Pruébalo durante 15 días sin tarjeta, o cuéntale tu caso a nuestro equipo.