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.

Billing: Request; paid actions are priced in credits (see GET /v1/messaging/prices) · Rate limit: 60/min

post/v1/messaging/inbox/mentions/reply

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/messaging/inbox/mentions/reply
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Replay-safe: the same execution is returned instead of charging twice

X-Tagstring

Group calls into one job (e.g. one video) — see GET /v1/usage?tag=…

Request body

mediaIdstring required

The ID of the media the account was mentioned in

messagestring required

The reply text

accountIdstring required

The Instagram account ID

commentIdstring

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

Response

Completed

idstring

Execution id — stable across internal retries; use it with GET /v1/executions/{id}

status'pending' | 'processing' | 'completed' | 'partial' | 'failed' | 'cancelled' | 'timeout'
operationstring
tagstring nullable

Your X-Tag, if sent

created_atstring date-time
completed_atstring date-time nullable
errorstring nullable

Changes

No recorded changes to this operation across all 2 revisions of this API.