Welcome to PDF.ai API

PDF.ai API access allows you to chat with your PDF files easily by integrating it with your own application or setup.

Here you'll find all the documentation you need to get up and running with our PDF.ai API.

Let's dive in 👇

Steps involved in using our API

  1. You need to generate your API key from your developer page to call our API endpoints (Note: you need to be on Ultimate or Enterprise plan to get your API key)

  2. In order to chat with any PDF you need to have a docId of it

  3. To get the docId, upload the PDF using a file or a URL. Or, if the file is uploaded via the web portal, the docId is the last part of the URL

  1. After you get the docId use that in your summary or chat endpoints to get the summary or responses to your questions by sending a message

  2. If you no longer want to chat with a PDF, then you can remove the PDF using its docId through delete endpoint.

Want to jump right in?

Feeling like an eager beaver? Jump into the quick start docs and get making your first request

pageQuick start

Want to deep dive?

Dive a little deeper and start exploring our API reference to get an idea of everything that's possible with our API endpoints

pageUpload PDF

Try it out right now

Here is our public Postman collection which you can use to try all our API endpoints in no time

Postman collection of PDF.ai API

Last updated