> ## Documentation Index
> Fetch the complete documentation index at: https://docs.joyfill.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Joyfill Managed

> Generate PDF files with the Joyfill API

# Overview

In this guide I'm going to show you how to utilize the Joyfill Managed PDF Export API to generate downloadable PDFs.

# Guide

## Setup Requirements

* Complete [Setup](/joyfill-dev-sandbox/setup)

## Implementation

### Step 1: Retrieve identifier

You can retrieve the document or template identifier that you want to export via the Joyfill Manager (see screenshot below) or by using the Joyfill API.

<Frame caption="Joyfill Manager Example">
  <img src="https://mintcdn.com/joyfill/buGUBbB6UrQ9Ghr1/images/docs/7d5785c-Screen_Shot_2023-02-09_at_11.44.12_AM.png?fit=max&auto=format&n=buGUBbB6UrQ9Ghr1&q=85&s=5015ef3b4058575591f523b4ef07161e" width="2864" height="1020" data-path="images/docs/7d5785c-Screen_Shot_2023-02-09_at_11.44.12_AM.png" />
</Frame>

Identifiers will be unique to your organization. Ensure you use the identifiers from your account. Do not use the ID from the screenshot above because it will not work for you.

### Step 2: Generate PDF

Once you have your identifier you can generate a PDF by using the [Export PDF API route](/api/documents/create-a-document-pdf-export).

## Examples

### Postman

To send our HTTP request we are going to be using postman. Feel free to use whatever tool you want to make an http request to our Export API.

**a. Add URL**

<img src="https://mintcdn.com/joyfill/buGUBbB6UrQ9Ghr1/images/docs/5e74e7e-Screen_Shot_2023-10-17_at_3.04.43_PM.png?fit=max&auto=format&n=buGUBbB6UrQ9Ghr1&q=85&s=d0fdac2dd5fd1bc65b336cb1b902b949" alt="" width="1918" height="112" data-path="images/docs/5e74e7e-Screen_Shot_2023-10-17_at_3.04.43_PM.png" />

**b. Configure Authorization**

* **Type:** API KEY
* **Key:** Authorization
* **Value:** Bearer \<User\_Access\_Token>
* **Add to:** Header

<img src="https://mintcdn.com/joyfill/buGUBbB6UrQ9Ghr1/images/docs/c80782e-Screen_Shot_2023-10-17_at_3.06.28_PM.png?fit=max&auto=format&n=buGUBbB6UrQ9Ghr1&q=85&s=cd6dcab8610c3305d7ecfcfbc653a7eb" alt="" width="2134" height="452" data-path="images/docs/c80782e-Screen_Shot_2023-10-17_at_3.06.28_PM.png" />

**c. Add Body**

**Important Note:** You must add an empty object in the body.

<img src="https://mintcdn.com/joyfill/buGUBbB6UrQ9Ghr1/images/docs/3d39398-Screen_Shot_2023-10-17_at_3.10.22_PM.png?fit=max&auto=format&n=buGUBbB6UrQ9Ghr1&q=85&s=cd2a3e12bf72983d8e5443cecf12ef90" alt="" width="2122" height="676" data-path="images/docs/3d39398-Screen_Shot_2023-10-17_at_3.10.22_PM.png" />

***
