API V2

Create Barcode

Connector ID: Create Barcode

Create compliant Barcodes or QR codes using the Create Barcode action from PDF4me. Pass the data for generating Barcodes or QR codes and use it in any following action as you desire.

  • Method: POST
  • Endpoint: /api/v2/CreateBarcode

Parameters

File NameString, Required

Name of the file.

File Contentbase64, Required

The content of the input file.

Barcode TypeString, Required

Select the type of barcode to be created:

  • none
  • code11
  • code2Of5Standard
  • code2Of5Interleaved
  • code2Of5Iata
  • code2Of5Matrix
  • code2Of5DataLogic
  • code2Of5Industry
  • code39
  • code39Extended
  • ean8
  • ean8With2Addon
  • ean8With5Addon
  • ean13
  • ean13With2Addon
  • ean13With5Addon
  • eanUcc128
  • upc12
  • codabar2
  • codabar18
  • code128
  • deutschePostLeitcode
  • deutschePostIdentcode
  • isbn13With5Addon
  • ismn
  • code93
  • issn
  • issnWith2Addon
  • flattermarken
  • gs1DataBar
  • gs1DataBarLimited
  • gs1DataBarExpanded
  • telepenAlpha
  • ucc128
  • upcA
  • upcAWith2Addon
  • upcAWith5Addon
  • upcE
  • upcEWith2Addon
  • upcEWith5Addon
  • uspsPostnet5
  • uspsPostnet6
  • uspsPostnet9
  • uspsPostnet10
  • uspsPostnet11
  • uspsPostnet12
  • plessey
  • msi
  • sscc18
  • fim
  • logmars
  • pharmacodeOneTrack
  • pzn7
  • pharmacodeTwoTrack
  • cepNet
  • pdf417
  • pdf417Truncated
  • maxicode
  • qrCode
  • code128SubsetA
  • code128SubsetB
  • code128SubsetC
  • code93Extended
  • australianPostCustom
  • australianPostCustom2
  • australianPostCustom3
  • australianPostReplyPaid
  • australianPostRouting
  • australianPostRedirection
  • isbn13
  • rm4Scc
  • dataMatrix
  • ean14
  • vin
  • codablockF
  • nve18
  • japanesePostal
  • koreanPostalAuthority
  • gs1DataBarTruncated
  • gs1DataBarStacked
  • gs1DataBarStackedOmnidirectional
  • gs1DataBarExpandedStacked
  • planet12
  • planet14
  • microPdf417
  • uspsIntelligentMail
  • plesseyBidirectional
  • telepen
  • gs1_128
  • itf14
  • kix
  • code32
  • aztec
  • italianPostal2Of5
  • italianPostal3Of9
  • dpd
  • microQRCode
  • hibcLic128
  • hibcLic3OF9
  • hibcPas128
  • hibcPas3OF9
  • hibcLicDataMatrix
  • hibcPasDataMatrix
  • hibcLicQRCode
  • hibcPasQRCode
  • hibcLicPDF417
  • hibcPasPDF417
  • hibcLicMPDF417
  • hibcPasMPDF417
  • hibcLicCODABLOCK_F
  • hibcPasCODABLOCK_F
  • qrcode2005
  • pzn8
  • dotCode
  • hanXin
  • uSPSIMPackage
  • swedishPostalShipmentId
  • mailmark_2D
  • upuS10
  • mailmark_4state
  • hibcLicAztec
  • hibcPasAztec
  • ppn
  • ntin
  • swissQrCode
TextString, Required

Enter the text that you want to convert into a barcode. The system will take this text and generate a scannable barcode image based on it.
For example, entering hello will create a barcode that represents the word hello

Hide TextBoolean, Required
Default: Yes
  • Selecting true will hide the text, so only the barcode will be visible.
  • Selecting false will display the text alongside the barcode, making both the barcode and its text visible.

Output

File Content

The output Barcode image.

Header
Content-Type: application/json
Authorization: Please copy key from the link.

Payload

{
  "text": "hello",
  "barcodeType": "qrCode",
  "hideText": true
}

PDF4me api samples

CSharp(C#)
Java
JavaScript
Python
Salesforce
n8n
Google Script
AWS Lambda