Comment calls work on published posts and act through the account that published them. What each platform supports is in GET /api/v1/platforms under comments (list, create, reply, delete, hide).
List comments
curl https://pogton.com/api/v1/posts/k57c2d9e1f3g5h7j9k1m3n5p7q9r2s4t/comments \
-H "Authorization: Bearer pk_3f9a..."
{
"post_id": "k57c2d9e1f3g5h7j9k1m3n5p7q9r2s4t",
"data": [
{
"account_id": "j97fk2m8q4r1t6v3w8x0y5z2a7b4c9ed",
"platform": "instagram",
"comments": [
{
"id": "17890012345678901",
"text": "Love the colours",
"author_name": "maria.design",
"author_id": "17841400000000001",
"author_avatar_url": null,
"created_at": "2026-10-21T10:15:00.000Z",
"like_count": 3,
"reply_count": 1,
"hidden": false,
"parent_id": null
}
],
"next_cursor": "QVFIUm...",
"supported": true,
"error": null
},
{
"account_id": "j97ab3c4d5e6f7g8h9j0k1m2n3p4q5rs",
"platform": "pinterest",
"comments": [],
"next_cursor": null,
"supported": false,
"error": null
}
]
}
There is one entry per account the post was published to. supported: false means the platform has no comments API. When one platform fails, its entry has error and the others are still returned. Fields a platform doesn't provide are null.
To page one account, pass account_id and that account's next_cursor:
curl "https://pogton.com/api/v1/posts/k57c2d9e1f3g5h7j9k1m3n5p7q9r2s4t/comments?account_id=j97fk2m8q4r1t6v3w8x0y5z2a7b4c9ed&cursor=QVFIUm..." \
-H "Authorization: Bearer pk_3f9a..."
The response also has by_platform, keyed by platform with camelCase comment fields, for clients of the first API version.
A post with no published targets returns 409 not_published.
Comment on a post
curl -X POST https://pogton.com/api/v1/posts/k57c2d9e1f3g5h7j9k1m3n5p7q9r2s4t/comments \
-H "Authorization: Bearer pk_3f9a..." \
-H "Content-Type: application/json" \
-d '{ "text": "Thanks for all the questions. Sizes are on the product page." }'
{
"data": [
{ "account_id": "j97fk2m8q4r1t6v3w8x0y5z2a7b4c9ed", "platform": "instagram", "success": true, "comment_id": "17890012345679999", "error": null },
{
"account_id": "j97ab3c4d5e6f7g8h9j0k1m2n3p4q5rs",
"platform": "pinterest",
"success": false,
"comment_id": null,
"error": { "code": "not_supported", "message": "Pinterest doesn't support comments through its API" }
}
]
}
By default it comments from every account the post went to. Narrow it with account_ids or platforms. The status is 201 when at least one comment was posted and 422 when none was.
| Field | Description |
|---|---|
text | 1 to 10,000 characters. |
account_ids | Only these accounts. |
platforms | Only these platforms. |
parent_comment_id | Reply to this comment instead. Needs exactly one account. |
Reply to a comment
curl -X POST https://pogton.com/api/v1/posts/k57c2d9e1f3g5h7j9k1m3n5p7q9r2s4t/comments \
-H "Authorization: Bearer pk_3f9a..." \
-H "Content-Type: application/json" \
-d '{
"text": "Thank you, Maria.",
"parent_comment_id": "17890012345678901",
"account_ids": ["j97fk2m8q4r1t6v3w8x0y5z2a7b4c9ed"]
}'
A reply to more than one account returns 400 invalid_request.
Hide a comment
curl -X POST https://pogton.com/api/v1/posts/k57c2d9e1f3g5h7j9k1m3n5p7q9r2s4t/comments/17890012345678901/hide \
-H "Authorization: Bearer pk_3f9a..." \
-H "Content-Type: application/json" \
-d '{ "account_id": "j97fk2m8q4r1t6v3w8x0y5z2a7b4c9ed", "hidden": true }'
{ "success": true, "comment_id": "17890012345678901", "hidden": true }
"hidden": false shows it again. Platforms without hiding return 400 not_supported.
Delete a comment
curl -X DELETE "https://pogton.com/api/v1/posts/k57c2d9e1f3g5h7j9k1m3n5p7q9r2s4t/comments/17890012345679999?account_id=j97fk2m8q4r1t6v3w8x0y5z2a7b4c9ed" \
-H "Authorization: Bearer pk_3f9a..."
{ "success": true, "comment_id": "17890012345679999", "account_id": "j97fk2m8q4r1t6v3w8x0y5z2a7b4c9ed", "platform": "instagram" }
Pass account_id, or platform, to say which account the comment is on. The platform decides which comments the account may delete, usually its own and those on its own posts. A platform error returns 502 with the platform's message.
