# How to create custom annotation comment with id?

**URL:** <https://pdfjs.community/t/how-to-create-custom-annotation-comment-with-id/1240>\
**Category:** Technical Support\
**Tags:** pdfjs-express\
**Created:** [December 13, 2021, 6:07am UTC](https://pdfjs.community/t/how-to-create-custom-annotation-comment-with-id/1240 "2021-12-13T06:07:27Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [December 13, 2021, 6:07am UTC](https://pdfjs.community/t/how-to-create-custom-annotation-comment-with-id/1240/3 "2021-12-13T06:07:32Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [Create highlight annotations in PDF.js Express - Other examples](https://pdfjs.express/documentation/annotation/create-annotation-highlight#other-examples)
- [Create rectangle annotations in PDF.js Express - Other examples](https://pdfjs.express/documentation/annotation/create-annotation-rectangle#other-examples)
- [Create image stamp annotations in PDF.js Express - Other examples](https://pdfjs.express/documentation/annotation/create-annotation-stamp#other-examples)

APIs:
- [Core.AnnotationManager - createAnnotationReply(annotation, initialText)](https://pdfjs.express/api/Core.AnnotationManager.html#createAnnotationReply__anchor)
- [Core.Annotations.CustomAnnotation - new CustomAnnotation(type [, initializer])](https://pdfjs.express/api/Core.Annotations.CustomAnnotation.html#CustomAnnotation__anchor)
- [Core.Tools.TextAnnotationCreateTool - new TextAnnotationCreateTool(docViewer, textAnnotationPrototype)](https://pdfjs.express/api/Core.Tools.TextAnnotationCreateTool.html#TextAnnotationCreateTool__anchor)

Forums:
- [How to keep the top-level note/comment of an annotation with its original date?](https://pdfjs.community/t/how-to-keep-the-top-level-note-comment-of-an-annotation-with-its-original-date/894/5)
- [How to get the annotation id when I highlight some text and also how to get the page no, quads and highlighted text from my annotations object?](https://pdfjs.community/t/how-to-get-the-annotation-id-when-i-highlight-some-text-and-also-how-to-get-the-page-no-quads-and-highlighted-text-from-my-annotations-object/977/3)
- [I want to create custom circle annotation which I want to use as a stamp](https://pdfjs.community/t/i-want-to-create-custom-circle-annotation-which-i-want-to-use-as-a-stamp/662/1)

---

_[View the full topic](https://pdfjs.community/t/how-to-create-custom-annotation-comment-with-id/1240)._
