> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.pdfgeneratorapi.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 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](https://app.getpostman.com/run-collection/329f09618ec8a957dbc4).

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](/en/article/how-to-create-a-json-web-token-jwt-anv0ot/).

### Setting up the Postman App

You can download Postman collection for PDF Generator API [here](https://app.getpostman.com/run-collection/329f09618ec8a957dbc4).

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](https://docs.pdfgeneratorapi.com/v3/).

![](https://storage.crisp.chat/users/helpdesk/website/11e0e518fc48ce00/postman1png_15ti3ut.png)

### Input the JWT token to the Postman

${frame}[Input the JWT Token to the Postman](https://www.loom.com/embed/de67df1ddf754b0c913d310d8a485d95)

### 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!

${frame}[Create a Template Using Postman](https://www.loom.com/embed/1ed24dfea0694622bc6f0f123bac496d)

### 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](https://docs.pdfgeneratorapi.com/v3/).

${frame}[Merge a Template with your JSON Data Using Postman](https://www.loom.com/embed/ba4d56d2bbf948ec9a0d3f26ef8358d7)
---
### Related articles you may find helpful

* [Common use-cases of the Expression language](https://support.pdfgeneratorapi.com/en/article/common-use-cases-of-the-expression-language-1seclga/)
* [Header & Footer Component](https://support.pdfgeneratorapi.com/en/article/header-and-footer-component-gso8pw/)
* [What is the difference between master and regular user?](https://support.pdfgeneratorapi.com/en/article/what-is-the-difference-between-master-and-regular-user-1f3usg0/)
