# Merge Rest API - how to flatten PDF?

**URL:** <https://pdfjs.community/t/merge-rest-api-how-to-flatten-pdf/328>\
**Category:** Technical Support\
**Created:** [October 12, 2020, 9:09am UTC](https://pdfjs.community/t/merge-rest-api-how-to-flatten-pdf/328 "2020-10-12T09:09:32Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![appdevsa](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@appdevsa](https://pdfjs.community/u/appdevsa)\
**Post date:** [October 12, 2020, 9:09am UTC](https://pdfjs.community/t/merge-rest-api-how-to-flatten-pdf/328/1 "2020-10-12T09:09:32Z")

</div>

Hi, is there a way to “flatten” a PDF. After the merge all annotations are editable in the output PDF. I would like it to be readonly and almost form part of the PDF and not appear as annotations…hope this makes sense.

---

_[View the full topic](https://pdfjs.community/t/merge-rest-api-how-to-flatten-pdf/328)._
