Zernio
Zernio
API Reference

Mentions

List mentionsGETReply to a mentionPOST
Dashboard
llms.txtOpenAPI
OverviewPlatformsAPI ReferenceResources
Mentions

Reply to a mention

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.

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.


POST
/v1/inbox/mentions/reply

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

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.replyToMention({  body: {    accountId: 'account_abc123',    mediaId: 'media_abc123',    message: 'Hello, world!',  },});console.log(data);
{  "success": true,  "id": "17912345678901234"}
Was this page helpful?

List mentions

Returns mentions of your connected organization accounts, delivered via platform webhooks. Currently supports LinkedIn organization mentions. Requires Inbox addon.

List broadcast recipients

Returns recipients for a broadcast with individual delivery status. Filter by status.

accountId*string

The Instagram account ID

mediaId*string

The ID of the media the account was mentioned in

commentId?string

The mentioning comment's ID. Omit for a caption mention.

message*string

The reply text