Last updated
Last updated
Your API requests are authenticated using the API key. Any request that doesn't include an API key will return an error.
You can generate an API key from your page at any time.
Your API key is shown only once when it is generated. Make sure to note it down securely. If you lost it you can regenerate it again from the same page.
To make your first request, send an authenticated request to the upload
endpoint with your PDF URL. This will create a document ID docId
for your PDF using which you can chat or get the summary of the PDF.
POST
https://pdf.ai/api/v1/upload/url
To get a document ID for your PDF
POST
https://pdf.ai/api/v1/summary
To summarize your PDF using docId
url*
string
URL of your PDF file
isPrivate
boolean
If your PDF file is private(true or false)
X-API-Key*
string
<API-Key>
docId*
string
Document ID obtained after uploading PDF
X-API-Key*
string
<API-Key>