Comments
Read and reply to comments on Facebook Page, Instagram and Threads posts. TikTok is not supported.
Preview
Preview: the API and MCP server are in private beta; details may change.
Comments cover Facebook Page, Instagram and Threads posts. TikTok is not supported, because TikTok's public API does not expose comments.
Required scope: inbox:write.
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /comments | List comments, filterable by account and status |
| POST | /comments/{id}/reply | Reply to a comment |
| POST | /comments/{id}/hide | Hide a comment |
Request parameters
| Name | Type | Required | Description | Used by |
|---|---|---|---|---|
account_id | string | No | Filter to one connected account | list |
status | string | No | open, replied or hidden | list |
text | string | Yes | Reply text | reply |
curl "https://api.getimma.com/v1/comments?account_id=acc_ig_...&status=open" \
-H "Authorization: Bearer imma_live_xxxxxxxxxxxxxxxxxxxx"
curl -X POST https://api.getimma.com/v1/comments/cmt_01J.../reply \
-H "Authorization: Bearer imma_live_xxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{ "text": "Harga sudah kami kirim lewat DM ya kak" }'Response (GET /comments):
{
"comments": [
{
"id": "cmt_01J...",
"account_id": "acc_ig_...",
"platform": "instagram",
"target_id": "tgt_2",
"author_handle": "@pembeli_setia",
"text": "harga berapa kak?",
"status": "open",
"created_at": "2026-09-28T09:12:00+07:00"
}
]
}
Reply and hide return the updated comment with status set to replied or hidden.
Errors
| Code | HTTP | When |
|---|---|---|
unauthorized | 401 | Missing or invalid API key |
insufficient_scope | 403 | Key lacks inbox:write |
not_found | 404 | Comment does not exist, was deleted by its author, or belongs to another workspace |
permission_missing | - | The connected account no longer has the permission needed to reply or hide |
See Errors for the shared error shape.
Platform notes
Instagram, Facebook Pages and Threads only, not TikTok. TikTok comments do not appear here and cannot be replied to through this API, because TikTok's public API has no comments endpoint. Replies always go out because of an explicit reply call from your integration or a dashboard click; there is no automatic reply in this API.