Input

NameDescriptionRequired
Barcode ValueSpecify the value to be encoded into the barcode.Yes
Barcode TypeChoose the type of barcode to generate. Defaults to QR Code, with various other formats available.No
Output File NameSpecify a custom file name for the output file.No
InlineSet to true to generate URL as inline datauri link that you can embed directly into HTML. Important: you need to switch to JSON as output instead of Download File so it will generate a link with datauri inline data.No
Execution ModeSelect Sync for small tasks up to 10 seconds. Choose Async for standard jobs, or Async For Large Docs for tasks over 30 seconds. Use Job Check module for retrieving results in large tasks.No
ProfilesAdd custom options for the process in a JSON string format. See API Profiles for more details.No
Output Links ExpirationSet the expiration time in minutes for output links. Default is 60 minutes. Increase this limit with a Business Plan or higher, see plans here for details.No
Export TypeChoose between Download a File or JSON Output. Default is Download a File.No

Output

NameDescription
urlThis is the temporary URL provided by the PDF.co file server.
DataRepresents the output binary data. This data is generated only when the Export Type option is set to Download a File.
StatusIndicates the response status code. A success status is returned if the operation is successful.
outputLinkValidTillSpecifies the timestamp until which the url remains accessible.
errorProvides details about any errors encountered during the process, if applicable.
nameThe designated name of the output file.
Job IdA unique identifier assigned to the job.
creditsThe amount of credits utilized for the process.
Remaining CreditsDisplays the balance of credits available in your account.
durationThe duration of time the process took to complete.