List mentions
Returns mentions of your connected organization accounts, delivered via platform webhooks. Currently supports LinkedIn organization mentions.
Requires Inbox addon.
API key authentication - use your Zernio API key as a Bearer token
In: header
Query Parameters
Filter by social account ID
Filter by profile ID
Sort order by publishedAt
"desc""asc" | "desc"251 <= value <= 100Cursor for pagination (ID of the last item from the previous page)
Response Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.mentions.listInboxMentions();console.log(data);{
"data": [
{
"id": "string",
"platform": "linkedin",
"accountId": "string",
"accountUsername": "string",
"content": "string",
"permalink": "string",
"authorUrn": "string",
"authorName": "string",
"authorUsername": "string",
"authorPicture": "string",
"organizationalEntity": "string",
"publishedAt": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z"
}
],
"pagination": {
"hasMore": true,
"cursor": "string"
},
"meta": {
"total": 0,
"sortOrder": "asc"
}
}{
"error": "Unauthorized"
}Reply to review POST
Post a reply to a review. Requires accountId in request body.
Reply to a mention POST
Reply to a mention of the connected account. Supported on Instagram only. Two shapes, selected by whether `commentId` is present: - **Comment mention** (someone @mentioned the account inside a comment): pass both `mediaId` and `commentId`. Instagram posts a reply under that comment. - **Caption mention** (someone @mentioned the account in their media caption, so no comment exists): pass `mediaId` only. Instagram posts a comment on their media. Story mentions are not supported by Instagram's API. Note that `GET /v1/inbox/mentions` currently returns LinkedIn mentions only and does not surface Instagram mentions. Source `mediaId` and `commentId` from Instagram's `comments` webhook, which is where mention notifications are delivered for accounts connected through Instagram Login.