Articles on: Developer

How to generate your first document with API v3 using Postman

Making your first API v3 call with Postman


Postman allows you to easily test all the API endpoints without developing and coding, making it an ideal tool for both beginners and experienced developers. With its intuitive user interface, you can quickly send requests, analyze responses, and debug issues in real time. You can download our Postman collection here.


In this tutorial, we will cover:


  • Setting up the Postman app
  • JWT introduction
  • Input the JWT token to the Postman app
  • Create a template using Postman - your first API call
  • Merge a template with your JSON data using Postman


JWT introduction


The PDF Generator API uses JSON Web Tokens (JWT) to authenticate all API requests. These tokens offer a method to establish secure server-to-server authentication by transferring a compact JSON object with a signed payload of your account’s API Key and Secret. When authenticating to the PDF Generator API, a JWT should be generated uniquely by a server-side application and included as a Bearer Token in the header of each request.


More information on creating a JSON Web Token can be found in this article.


Setting up the Postman App


You can download Postman collection for PDF Generator API here.


After the import, in the left sidebar, you should be able to see the list of 11 different requests, copying the logic in our API documentation.



Input the JWT token to the Postman app



Create a template using Postman - your first API call


After the request is send, the ID of your template is returned back via the JSON file. Hooray, your first successful API call!



Merge a template with your JSON data using Postman


Merges template with data and returns a public URL to a document. You should send the JSON encoded data in the request body as the data parameter. After the request is send, the URL for the generated document is returned. You can read more about all the parameters in our API documentation.




Updated on: 04/06/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!