Articles on: Developer

How to embed editor to my application?

There are two possible ways to allow your users to access the PDF Generator API editor. You can redirect users to the editor or display the editor in an iframe as part of your application.

Redirect user to the editor

Use the Open Editor endpoint to generate a unique URL you can use to redirect your user. This unique URL already contains authentication information, and you don't need to provide any additional parameters.

The API v4 equivalent for Open Editor endpoint from API v3 is the Edit Template endpoint

Open Editor request

Display the editor within your application

Use the Open Editor endpoint to generate a unique URL, and set it as the src parameter to an iframe.

Editor via Iframe

If your user is having issues with opening the editor when using iframe, make sure that your browser allows third-party cookies.

Updated on: 06/01/2023

Was this article helpful?

Share your feedback


Thank you!