
Input
| Name | Description | Required |
|---|---|---|
| Input URL | Provide the URL of the source file (PDF, PNG, JPG, TIFF) or a filetoken:// link from PDF.co Built-In Files Storage. Ensure the link is publicly accessible if using cloud services like Google Drive or Dropbox. | Yes |
| Barcode Type to Read | Select the barcode type for decoding. Defaults to QR Codes, with support for various other formats. | No |
| Pages to Read From | Specify page numbers or ranges for barcode reading. Leave blank to scan all pages. The first page starts at 0. Example: 0,2-5,7-. | No |
| Custom Profiles | A JSON string which adds options for the conversion process. See Custom Profiles for more. | No |
Source PDF URL & Google
When using Google Drive, it’s typically recommended to choose the File option. For more advanced file integration techniques, see Integrating File Sources with pdf.co.

Output
| Name | Description |
|---|---|
barcode1 | An Object containing form barcode information such as Barcode 1 Value, Barcode 1 Type Name, Barcode 1 Rect, Barcode 1 Page etc. |
barcode2 | An object holding another barcode information, following the same pattern as barcode1 for each output file. |
error | Details of any errors (if any). |
status | The response status code. If all good this will be 200. |
jobId | The unique identifier for the job. |
credits | The credits spent on the process. |
remainingCredits | The credits left on your account. |
duration | The time it took for the process. |
Custom profiles
Use Custom Profiles to enhance your workflow with additional processing options. EnterJSON configuration to customize OCR settings, output format, text extraction methods, and more.

Sample JSON
| Parameter | Type | Default | Description |
|---|---|---|---|
DataEncryptionAlgorithm | string | - | Controls the encryption algorithm used for data encryption. See User-Controlled Encryption for more information. The available algorithms are: AES128, AES192, AES256. |
DataEncryptionKey | string | - | Controls the encryption key used for data encryption. See User-Controlled Encryption for more information. |
DataEncryptionIV | string | - | Controls the encryption IV used for data encryption. See User-Controlled Encryption for more information. |
DataDecryptionAlgorithm | string | - | Controls the decryption algorithm used for data decryption. See User-Controlled Encryption for more information. The available algorithms are: AES128, AES192, AES256. |
DataDecryptionKey | string | - | Controls the decryption key used for data decryption. See User-Controlled Encryption for more information. |
DataDecryptionIV | string | - | Controls the decryption IV used for data decryption. See User-Controlled Encryption for more information. |