Skip to content

HighLevel: List comments for a post or thread

HighLevel socialPlanner.getCommentList: arguments, response, policy and SDK examples.

← Social planner operations · Get started

Operation gohighlevel.get_comment_list

Provider route: POST /social-media-posting/comments/{platform}/list. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/gohighlevel with npm, or alter-sdk-gohighlevel with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { HighLevelIntegration } from "@alter-ai/gohighlevel";
async function execute(input: Parameters<HighLevelIntegration["socialPlanner"]["getCommentList"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new HighLevelIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.socialPlanner.getCommentList(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_gohighlevel import HighLevelIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = HighLevelIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.social_planner.get_comment_list(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
pathobjectRequired within parentAdditional keys: not allowed
path.platformstringRequired within parentOne of: facebook, instagram, linkedin, community, tiktok, bluesky, youtube, threads
queryobjectRequired within parentAdditional keys: not allowed
query.locationIdstringRequired within parent
bodyModelRequired within parentExpand List comments for a post or thread — request body — body

Referenced models: List comments for a post or thread — request body — body

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$ModelRootExpand List comments for a post or thread — response body

Referenced models: List comments for a post or thread — response body

2 more schemas are linked from the tables above, on the schema pages.

List comments for a post or thread — request body — body
FieldTypePresenceDescription and constraints
$objectRoot
fromDatestringOptionalStart of the published-date window (ISO 8601). If provided, `toDate` is also required, and `fromDate` must be ≤ `toDate`. Omit both to disable date filtering.
limitnumberOptionalPagination page size — number of comments to return. Must be between 1 and 100.
Default: 10
Maximum: 100
Minimum: 1
originIdsarrayRequired within parentOrigin IDs of connected accounts to filter by
originIds[]stringEach item
parentIdstringOptionalParent ID — pass the Highlevel post ID (for replies under a specific post) or the Highlevel comment ID (for replies under a specific comment). Omit to list all top-level comments for the location filtered by `originIds`. Must be a valid 24-character Highlevel ID, not the native platform ID.
searchstringOptionalSearch
skipnumberOptionalPagination offset — number of comments to skip (zero-based). Must be ≥ 0.
Default: 0
Minimum: 0
sortBystringOptionalSort by top comments or latest comments
Default: latest
One of: top, latest
toDatestringOptionalEnd of the published-date window (ISO 8601). If provided, `fromDate` is also required.
List comments for a post or thread — response body
FieldTypePresenceDescription and constraints
$objectRoot
messagestringRequired within parentMessage
resultsJSONRequired within parentComments and pagination metadata
results (allOf 1)ModelAll variants applyExpand List comments for a post or thread — response body — results comments, meta
statusCodeJSONRequired within parent
statusCode (anyOf 1)numberAlternativeStatus Code
statusCode (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
successbooleanRequired within parentSuccess or Failure

Referenced models: List comments for a post or thread — response body — results comments, meta

List comments for a post or thread — response body — results comments, meta
FieldTypePresenceDescription and constraints
$objectRoot
commentsarrayRequired within parentList of comments
comments[]ModelEach itemExpand Create a comment or reply — response body — results id, attachments, author, content, created At, is Deleted, is Edited, is Parent Thread, is Post, is Read, level, like Count, origin Id, platform, platform Comment Id, platform Parent Id, platform Post Id, post Id, preview Link, published At, quote Count, reaction Count, reply Count, repost Count, share Count, updated At
metaJSONRequired within parentPagination metadata
meta (allOf 1)ModelAll variants applyExpand List comments for a post or thread — response body — results comments, meta meta has More, limit, skip, total, total Unread

Referenced models: Create a comment or reply — response body — results id, attachments, author, content, created At, is Deleted, is Edited, is Parent Thread, is Post, is Read, level, like Count, origin Id, platform, platform Comment Id, platform Parent Id, platform Post Id, post Id, preview Link, published At, quote Count, reaction Count, reply Count, repost Count, share Count, updated At, List comments for a post or thread — response body — results comments, meta meta has More, limit, skip, total, total Unread

Create a comment or reply — response body — results id, attachments, author, content, created At, is Deleted, is Edited, is Parent Thread, is Post, is Read, level, like Count, origin Id, platform, platform Comment Id, platform Parent Id, platform Post Id, post Id, preview Link, published At, quote Count, reaction Count, reply Count, repost Count, share Count, updated At
FieldTypePresenceDescription and constraints
$objectRoot
_idstringRequired within parentHighlevel comment ID
attachmentsarrayOptionalAttachments on the comment
attachments[]ModelEach itemExpand Create a comment or reply — response body — results id, attachments, author, content, created At, is Deleted, is Edited, is Parent Thread, is Post, is Read, level, like Count, origin Id, platform, platform Comment Id, platform Parent Id, platform Post Id, post Id, preview Link, published At, quote Count, reaction Count, reply Count, repost Count, share Count, updated At attachments item
authorJSONOptionalAuthor of the comment. May be partial or missing for some sync paths.
author (allOf 1)ModelAll variants applyExpand Create a comment or reply — response body — results id, attachments, author, content, created At, is Deleted, is Edited, is Parent Thread, is Post, is Read, level, like Count, origin Id, platform, platform Comment Id, platform Parent Id, platform Post Id, post Id, preview Link, published At, quote Count, reaction Count, reply Count, repost Count, share Count, updated At author id, name, profile Pic
contentstringOptionalComment content. May be empty or missing for attachment-only comments.
createdAtstringOptionalTime the comment record was created in Highlevel
Format: date-time
isDeletedbooleanRequired within parentWhether the comment was deleted
isEditedbooleanRequired within parentWhether the comment was edited
isParentThreadbooleanOptionalTrue if this comment is a top-level comment on the post; false if it is a reply to another comment
isPostbooleanRequired within parentTrue if this record represents the root post (not a comment)
isReadbooleanRequired within parentWhether the comment has been read
levelJSONOptional
level (anyOf 1)numberAlternativeComment depth (0 = post, 1 = comment, 2 = reply)
level (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
likeCountJSONRequired within parent
likeCount (anyOf 1)numberAlternativeNumber of likes on the comment
likeCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
originIdstringRequired within parentConnected account / page ID on the native platform
platformstringRequired within parentPlatform the comment was posted on
platformCommentIdstringOptionalNative platform comment ID
platformParentIdstringOptionalNative platform parent ID (the post or comment this is a reply to)
platformPostIdstringOptionalNative platform post ID
postIdstringRequired within parentHighlevel post ID
previewLinkstringOptionalDirect link to view the comment on the native platform
publishedAtstringOptionalTime the comment was published on the native platform. May be missing for legacy or webhook-synced records.
Format: date-time
quoteCountJSONRequired within parent
quoteCount (anyOf 1)numberAlternativeNumber of quote posts (platform-specific)
quoteCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
reactionCountJSONRequired within parent
reactionCount (anyOf 1)numberAlternativeNumber of reactions on the comment
reactionCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
replyCountJSONRequired within parent
replyCount (anyOf 1)numberAlternativeNumber of replies to the comment
replyCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
repostCountJSONRequired within parent
repostCount (anyOf 1)numberAlternativeNumber of reposts of the comment (platform-specific)
repostCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
shareCountJSONRequired within parent
shareCount (anyOf 1)numberAlternativeNumber of shares of the comment
shareCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
updatedAtstringOptionalTime the comment record was last updated in Highlevel
Format: date-time

Referenced models: Create a comment or reply — response body — results id, attachments, author, content, created At, is Deleted, is Edited, is Parent Thread, is Post, is Read, level, like Count, origin Id, platform, platform Comment Id, platform Parent Id, platform Post Id, post Id, preview Link, published At, quote Count, reaction Count, reply Count, repost Count, share Count, updated At attachments item, Create a comment or reply — response body — results id, attachments, author, content, created At, is Deleted, is Edited, is Parent Thread, is Post, is Read, level, like Count, origin Id, platform, platform Comment Id, platform Parent Id, platform Post Id, post Id, preview Link, published At, quote Count, reaction Count, reply Count, repost Count, share Count, updated At author id, name, profile Pic

Create a comment or reply — response body — results id, attachments, author, content, created At, is Deleted, is Edited, is Parent Thread, is Post, is Read, level, like Count, origin Id, platform, platform Comment Id, platform Parent Id, platform Post Id, post Id, preview Link, published At, quote Count, reaction Count, reply Count, repost Count, share Count, updated At attachments item
FieldTypePresenceDescription and constraints
$objectRoot
thumbnailstringOptionalThumbnail URL
typestringOptionalAttachment MIME type or platform-specific type
urlstringOptionalAttachment URL
videoUrlstringOptionalVideo URL (when attachment is a video)

SDK function policy ID: gohighlevel.get_comment_list. Catalog operation: get-comment-list. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

Pinned headers: {"Version": "v3"}

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.