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.
Use the Open Editor endpoint to generate a unique URL, and set it as the src parameter to an iframe. We have created an example application using Javascript and HTML in CodePen that you can find here.
If your user is having issues with opening the editor when using iframe, make sure that your browser allows third-party cookies.
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.
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. We have created an example application using Javascript and HTML in CodePen that you can find here.
If your user is having issues with opening the editor when using iframe, make sure that your browser allows third-party cookies.
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.
Updated on: 20/07/2023
Thank you!