Docs menu

API

Inbox

Comments, conversations (DMs), reviews and mentions, in one shape whatever the platform. New items arrive by platform webhook where the platform has one, and by polling where it does not (X, YouTube, Bluesky).

Comments

GET    /v1/inbox/comments                                 posts with comments (?account_id, brand_id, page_id, platform, since)
GET    /v1/inbox/comments/{post_id}                       comments of one post
GET    /v1/inbox/comments/{post_id}/{comment_id}/replies
POST   /v1/inbox/comments/{post_id}                       reply to a comment, or comment on the post
POST   /v1/inbox/comments/{post_id}/{comment_id}/private-reply
POST   /v1/inbox/comments/{post_id}/{comment_id}/hide     (DELETE to unhide)
POST   /v1/inbox/comments/{post_id}/{comment_id}/like     (DELETE to unlike)
DELETE /v1/inbox/comments/{post_id}/{comment_id}
  • page_id filters Facebook comments to one Page, and Facebook rows carry their page_id.
  • An edited Facebook comment arrives again as comment.received.
  • YouTube: hiding a comment sets it to rejected. A channel can post at most 5 replies and top-level comments a day here; the 6th answers 429 validation.youtube_daily_reply_limit until midnight Pacific Time.
  • What each platform allows (hide, like, private reply, delete) is on its platform page. An action a platform cannot do answers 501 resource.not_supported.

Conversations (DMs)

GET   /v1/inbox/conversations
GET   /v1/inbox/conversations/{conversation_id}
GET   /v1/inbox/conversations/{conversation_id}/messages
POST  /v1/inbox/conversations/{conversation_id}/messages   { "text": "Thanks!" }
POST  /v1/inbox/conversations/{conversation_id}/read
PATCH /v1/inbox/conversations/{conversation_id}            { "status": "archived" }
GET   /v1/inbox/media/{media_id}                           an attachment's bytes
  • Most platforms only let you answer: Instagram, Facebook and WhatsApp within 24 hours of the person's last message (WhatsApp templates outside it), Zalo within 7 days, Telegram after the person started the bot.
  • Messages carry a delivery status where the platform reports one (WhatsApp, Facebook, Instagram), and dm.status.* events follow it.
  • Replies typed in the platform's own app (Instagram, Messenger) show up here and send dm.sent.
  • Fetching many attachments at once can answer 503 with Retry-After: 1: wait a second and try again.

Reviews

GET  /v1/inbox/reviews                       accounts with reviews (?platform=google)
GET  /v1/inbox/reviews/{account_id}          reviews of one account (?order=newest|rating_asc|rating_desc)
POST /v1/inbox/reviews/{review_id}/reply     { "text": "Thank you!" }
  • Google Business: one public reply per review; a new reply replaces it. Replies over Google's 4,096-byte limit are refused before a credit is spent. Reviewer photos come with the review. New and edited reviews send review.received and review.updated.
  • App Store Connect: reviews have a title separate from text. Apple gives no reply state, the summary's average_rating is 0, and no review events are sent: read them with the list.

Mentions

GET  /v1/accounts/{account_id}/mentions
POST /v1/accounts/{account_id}/mentions/reply

Mentions are read on Instagram (sent as mention.received when the account is tagged), Threads, X and Bluesky. LinkedIn mentions cannot be listed yet.

Sync

POST /v1/inbox/sync asks the platforms for anything new. A sync of the conversation list also loads the messages of up to 20 conversations that were never opened; synced counts the conversations added. Syncing the same account again too soon answers 429 inbox.sync_rate_limited.

Credits

Each reply, comment and DM you send spends one interaction credit. When a reply or DM is refused by validation before anything reaches the platform, the credit is given back. Used-up credits answer 429 validation.interaction_limit_exhausted. Answers report what is left in X-Interactions-Limit and X-Interactions-Remaining.

Permissions and reconnects

  • An account limited without comments.read, messages.read or reviews.read does not store those items: they are dropped as they arrive. Removing one of those permissions deletes what was stored.
  • Inbox calls on an account that must be reconnected answer 403 account.reconnection_required with meta.id.

Errors

Inbox error codes
CodeStatusWhen
account.reconnection_required403The account's token stopped working.
validation.youtube_daily_reply_limit4295 YouTube replies and comments today.
validation.interaction_limit_exhausted429The month's interaction credits are used up.
inbox.sync_rate_limited429A sync ran too recently.
platform.<name>.private_reply_ineligible400The comment cannot get a private reply.
platform.zalo.not_deliverable422Outside Zalo's 7-day window.
telegram.cannot_message403The person has not started the bot.
resource.not_supported501The platform cannot do this action.

Not supported yet

  • TikTok comments and mentions (TikTok API for Business).
  • LinkedIn mentions.
  • WhatsApp chat history of numbers that also use the WhatsApp Business app.