API referencePublished posts
POST /posts/{id}/comments-settings
Turn comments on or off on the published post (Instagram)
POST
BearerAuthheader
AuthorizationBearer <token>API key sk_...
id*stringPostgale post id
application/json- body
enabled*booleanaccountId?stringOnly this target
{postId, results, enabled}
application/json- response
postId?stringresults?array<>enabled?booleancurl -X POST 'https://example.com/api/v1/posts/string/comments-settings' \ -H 'Content-Type: application/json' \ -d '{ "enabled": true}'Example Response
{ "postId": "string", "results": [ { "accountId": "string", "platform": "string", "platformPostId": "string", "ok": true, "code": "string", "error": "string" } ], "enabled": true}POST /posts/{id}/unpublish POST
Delete the post from the platform (Facebook, Threads, X, Telegram: every message of an album; Discord; Bluesky and Mastodon: the post, or a thread's first post; Instagram does not allow it → not_supported). The Postgale post stays
GET /posts/{id}/comments GET
Comments on the published targets of a post (legacy; see /inbox/comments)