PDF.co Web API (Application Programming Interface)

Get Your Free API Key

Supported Formats

json

Errors

Code Description
400 bad input parameters
401 unauthorized
403 not enough credits
405 Timeout error. To process large documents or files please use asynchronous mode ( set async parameter to true) and then check the status using /job/check endpoint. If file contains many pages then specify a page range using pages parameter. The number of pages of the document can be obtained using the endpoint /pdf/info

Params

Param name Description
name
optional

The name the file will be stored with.

  • Must be a String

contenttype
optional

Content-Type describing the data contained in the request body, Use 'binary/octet-stream'.

  • Must be a String

encrypt
optional

Enable encryption for output file.

  • Must be one of: true, false.