Quickstart

This guide will get you all set up and ready to use the Pdfless API. We’ll cover how to get started to generate a pdf using Pdfless API.

Choose your client

Before making your first API request, you need to pick which API client you will use. In addition to cURL HTTP requests, Pdfless offers clients for .netcore. In the following example, you can see how to install each client.

# cURL is most likely already installed on your machine
curl --version

Making your first API request

After picking your preferred client, you are ready to make your first call to the Pdfless API. Below, you can see how to send a POST request to the PDFs endpoint to generate a document.

Request

POST
/v1/pdfs
curl https://api.pdfless.com/v1/pdfs \
  -H "apikey: {apikey}" \
  -H "Content-Type: application/json" \
  -d '{"template_id":"1814309a-c198-469e-a583-227a69a6ecb2","payload": { "Company": "Company & co" } }'