Query API and get the HTML for rich text

Is there a way to query the prismic API and get the rich text fields as HTML? We want to use that with Java.

Hello @ionut.terhes,

Welcome to Prismic community forum, and thanks for reaching out to us! :slightly_smiling_face:

You can do that using the HTML Serializer. HTML Serializer defines how Rich Text content is converted and rendered on your website. Learn more in this article: HTML Serializer - Documentation - Prismic

Let me know if this is helpful.

Thanks,
Racheal.