Instagram
Comments
List, create, and delete comments on published Instagram media.
Manage comments on a published Instagram destination.
Requires instagram_business_manage_comments. After adding this scope, reconnect Instagram.
List
curl "https://api.onepostly.com/v1/posts/POST_ID/comments?destinationId=DEST_ID&limit=25" \
-H "x-api-key: op_YOUR_KEY"| Query | Required | Notes |
|---|---|---|
destinationId | Recommended | Target destination when the post has multiple |
limit | No | 1–50 (default 25) |
cursor | No | Pagination cursor (after) |
Create
curl -X POST https://api.onepostly.com/v1/posts/POST_ID/comments \
-H "x-api-key: op_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"destinationId": "DEST_ID",
"text": "Thanks!",
"parentCommentId": "OPTIONAL_PARENT_COMMENT_ID"
}'| Body | Notes |
|---|---|
destinationId | Required |
text | Required |
parentCommentId | Optional — reply to a comment; default = root media |
Delete
curl -X DELETE "https://api.onepostly.com/v1/posts/POST_ID/comments/COMMENT_ID?destinationId=DEST_ID" \
-H "x-api-key: op_YOUR_KEY"Supported media
mediaKind | Comments |
|---|---|
| Feed image / carousel / Reels | Yes |
| Stories | No — unsupported / UNSUPPORTED_MEDIA |