get_comments
Reads every comment on a page, with everything the AI needs to find and fix it.
What it does#
Returns each open comment with the element it's pinned to and its CSS selector, the screen size (Desktop, Tablet or Mobile), the version it was left on, the page path on a multi-page site, the reviewer's words, suggested text, priority, labels, status, assignee, replies and a link to the screenshot. The same comes back as structured data for apps that use it.
Inputs#
| Name | Type | Required | What to pass |
|---|---|---|---|
page or manage_link | string | Yes | Signed in: the page's name, review link or manage link. Without an account: the page's private manage link (manage_link). |
include_resolved | boolean | No | Also list resolved comments. Default false. |
include_screenshots | boolean | No | Also return the reviewers' screenshots as images, up to 4 per call, in comment order. Default false. |
Example#
Try askingWhat did the client say about the Fernhill home page?
What comes back
Feedback on fernhill-home.html (3 open of 4). Review link: https://htmlannotate.com/v/fernhill-home
#1 · version 2 (latest) · Desktop · on heading "Handmade stoneware"
Selector: main > section.hero > h1
Maya Chen: Can we say small-batch instead of handmade?
Screenshot of what the reviewer saw: https://drop.htmlannotate.site/_hs/c/fernhill-home/k3v9qa/shot
Suggested text change: "Handmade stoneware" -> "Small-batch stoneware"
#2 · version 2 (latest) · Mobile · on button "Book a class"
Selector: .classes a.btn
Maya Chen: The button text wraps onto two lines on my phone.
Priority: high
Labels: Bug
#4 [team only] · version 2 (latest) · Desktop · on image "Glaze samples"
Tom Reyes: Swap for the new photo before Friday.
Assigned to: Tom Reyes
To mark one done after changing it, use resolve_comment with its number.Good to know#
- Comments marked
[team only]are between you and your teammates. A good AI won't quote them to the client. - A comment left on an earlier version says so, like version 1 (earlier, latest is 2), so feedback on an old layout isn't mistaken for feedback on the new one.
- Need to see one comment's screenshot? get_comment returns it as an image.
Written by the HTMLAnnotate team · Updated 23 November 2026 · View as Markdown · Something unclear? Tell us