Inbox

Mentions

See where other people tag your accounts on Instagram, Facebook and LinkedIn, reply to Instagram mentions, and search and engage on X.

Mentions are posts and comments by other people that tag one of your accounts. They do not show up under your own posts, so they are easy to miss. Pozy collects them into one list, and adds search and engagement tools for X.

#List mentions

GET /v1/inbox/mentions returns mentions of your connected accounts from the last 7 days, newest first.

curl "https://api.pozy.ai/v1/inbox/mentions?profileId=6650c1e2a3b4c5d6e7f80911&limit=25" \
  -H "Authorization: Bearer $POZY_API_KEY"

Each mention has a platform, a type (caption, post or comment), the author, the text, a permalink, and the ids you need to answer it (mediaId, commentId, postId).

Platform What is collected Can you reply here?
Instagram Someone tags the account in a comment on their own media, or in a caption. Accounts connected through Facebook Login only Yes
Facebook Someone tags the Page in a post or a comment No. Open the permalink
LinkedIn Mentions of a company page No

Comments on your own posts are never listed as mentions, even when they contain your handle; they are in Comments. On Instagram the text is fetched in the background after the first request, so content can be empty on the first read.

#Reply to an Instagram mention

POST /v1/inbox/mentions/reply answers in one of two ways, depending on whether you pass commentId:

  • Comment mention (you were tagged inside a comment): send mediaId and commentId. Your reply goes under that comment.
  • Caption mention (you were tagged in the caption): send mediaId only. Your reply is posted as a comment on their media.
Reply to a caption mention
curl -X POST https://api.pozy.ai/v1/inbox/mentions/reply \
  -H "Authorization: Bearer $POZY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "accountId": "6650c1e2a3b4c5d6e7f80a22", "mediaId": "17899887766554433", "message": "Thanks for the shout-out!" }'

Instagram's API does not support replying to story mentions. To answer those with a DM, use a comment automation with the story_mention trigger or a workflow.

#Tagged posts

Tags in photos are not the same as @mentions. Read them separately:

#Mention someone on LinkedIn

To tag a person or company in a LinkedIn post, put their profile or company URL inside @[...] in the post content, for example @[https://www.linkedin.com/company/acme]. Pozy resolves it to LinkedIn's own name when the post publishes.

To preview the result, or get ready-made markup, call GET /v1/accounts/{accountId}/linkedin-mentions?url=.... It returns the URN and a mentionFormat such as @[Acme](urn:li:organization:123) you can paste into content. Resolving a person's profile URL needs the connected member to administer at least one company page.

#X: search and engagement

X has no mentions feed through this list. Use search instead, then act on what you find from any connected X account.

Task Call
Search recent posts (last 7 days, X search operators) GET /v1/twitter/search?accountId=&query=
Look up one post by id GET /v1/twitter/tweet?accountId=&tweetId=
Repost, undo POST / DELETE /v1/twitter/retweet with accountId and tweetId
Bookmark, remove POST / DELETE /v1/twitter/bookmark with accountId and tweetId
Follow, unfollow POST / DELETE /v1/twitter/follow with accountId and targetUserId
Find recent posts that tag your brand
curl "https://api.pozy.ai/v1/twitter/search?accountId=6650c1e2a3b4c5d6e7f80a33&query=%40acme%20-is%3Aretweet&limit=25" \
  -H "Authorization: Bearer $POZY_API_KEY"
  • X allows 50 requests per 15 minutes for each of repost, bookmark and follow. Reposts also count against X's posting limit.
  • Bookmarks and follows need the matching X permissions. A 403 usually means the account must be reconnected to grant them.
  • Following a protected account returns pending_follow: true until they accept.
  • Every X read and write is billed per call. See Pricing.

Reddit search, subreddit feeds and post comments (/v1/reddit/*) answer 503 with PLATFORM_DISABLED while Reddit blocks third-party apps. Reddit Ads are not affected. See Reddit.

#Endpoints

Endpoint What it does
GET /v1/accounts/{accountId}/linkedin-mentions Resolve LinkedIn mention
GET /v1/inbox/mentions List mentions
POST /v1/inbox/mentions/reply Reply to a mention
GET /v1/reddit/search Search posts
GET /v1/reddit/feed Get subreddit feed
GET /v1/reddit/comments/{postId} Get the comments of a Reddit post
POST /v1/twitter/retweet Retweet a post
DELETE /v1/twitter/retweet Undo retweet
POST /v1/twitter/bookmark Bookmark a tweet
DELETE /v1/twitter/bookmark Remove bookmark
POST /v1/twitter/follow Follow a user
DELETE /v1/twitter/follow Unfollow a user
GET /v1/twitter/search Search recent tweets
GET /v1/twitter/tweet Look up a tweet