PDF Generator API

The PDF Generator API modules allow you to generate documents in your  PDF Generator API  account.

Getting Started with PDF Generator API 

Prerequisites

The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Connecting PDF Generator API to Integromat

To connect your PDF Generator API account to Integromat you need to obtain the API Key, API Secret, and Workspace Identifier from your PDF Generator API account and insert it in the Create a connection dialog in the Integromat module.

1. Log in to your PDF Generator API account.

2. From the left menu, click Account Settings.

3. Copy the API Key and Secret values to a safe place.

4. Go to Integromat and open the PDF Generator API module's Create a connection dialog.

5. In the Connection name field, enter a name for the connection.

6. In the API Key and API Secret fields, enter the details copied in step 3.

7. In the Workspace Identifier field, enter the email address of the user with which you want to establish the connection and click Continue.

The connection has been established. 

Documents

Generate Document

Merges template with data and returns base64 encoded document or a public URL to a document. You can send JSON encoded data in the request body or a public URL to your JSON file as the data parameter. When the public URL option is used, the document is stored for 30 days and automatically deleted.

ConnectionEstablish a connection to your PDF Generator API account.
Template IDSelect or map the Template ID for the document you want to generate.
Document NameEnter (map) the document name.
Data FormatSelect or map the document format in which you want to generate:
  • JSON String
  • URL to JSON file
JSON StringEnter (map) the JSON string for the document. For example, {"Name":"John Smith","DueDate":"2020-07-01"} .
URL to JSON FileEnter (map) URL to the JSON file from which you want to generate the document.
OutputSelect or map the output format:
  • Base64 encoded document
  • Public URL (valid for 30 days)

Other

Make an API Call

Performs an arbitrary authorized API call.

ConnectionEstablish a connection to your PDF Generator API account.
URL

Enter a path relative to https://us1.pdfgeneratorapi.com/api/{version} For example: /templates

For the list of available endpoints, refer to the PDF Generator API Documentation.

Method

Select the HTTP method you want to use:

GET
to retrieve information for an entry.

POST
to create a new entry.

PUT
to update/replace an existing entry.

PATCH
to make a partial entry update.

DELETE
to delete an entry.

HeadersEnter the desired request headers. You don't have to add authorization headers; we already did that for you.
Query StringEnter the request query string.
BodyEnter the body content for your API call.

Example of Use - List Templates

The following API call returns all the templates from your PDF Generator API account:

URL:
/templates

Method:
GET


Matches of the search can be found in the module's Output under Bundle > Response content
In our example, 2 templates were returned:


Popular use cases from our blog

trello2

How to Automatically Turn Tweets Into Inspiring Images [Tutorial]

part4

How to Automate Procurement in Your Shopify Store - Part 4

part3

How to Automate Procurement in Your Shopify Store - Part 3

shopify

How to Automate Procurement in Your Shopify Store - Part 2

crm

8 Powerful and Free CRM Integrations to Boost Your Work

procur

How to Automate Procurement in Your Shopify Store - Part 1

Didn’t find what you were looking for?

Ticket

Create a ticket

Contact our world-class support team and tell us what’s happening.

Create a ticket
Expert

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.