[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"glossary-en-api-qr-code-generation":3,"glossary-related-en-api-qr-code-generation":287},{"id":4,"title":5,"body":6,"category":274,"cta":275,"description":276,"extension":277,"meta":278,"navigation":279,"path":280,"related":281,"seo":284,"stem":285,"__hash__":286},"glossary\u002Fi18n\u002Fen\u002Fglossary\u002Fapi-qr-code-generation.md","API QR Code Generation",{"type":7,"value":8,"toc":269},"minimark",[9,16,19,22,27,30,35,155,160,219,221,225,253,255,259,262,265],[10,11,12,15],"p",{},[13,14,5],"strong",{}," is the method of creating static or dynamic QR codes programmatically using web services (typically RESTful APIs). Instead of manually building codes using a dashboard generator, developers send HTTP requests containing target data, branding, and color parameters, and receive print-ready images or short links instantly.",[10,17,18],{},"Automated QR code generation is essential for platforms handling inventory, ticket bookings, personalized direct mail campaigns, and automated invoice billing.",[20,21],"hr",{},[23,24,26],"h2",{"id":25},"example-api-request-and-response","Example API Request and Response",[10,28,29],{},"To generate a QR code programmatically, developers typically send a POST request with a JSON payload to the API server:",[10,31,32],{},[13,33,34],{},"Request Payload:",[36,37,42],"pre",{"className":38,"code":39,"language":40,"meta":41,"style":41},"language-json shiki shiki-themes github-light github-dark","{\n    \"name\": \"Order QR Code\",\n    \"type\": \"dynamic\",\n    \"destination_url\": \"https:\u002F\u002Fexample.com\u002Forders\u002F9876\",\n    \"design\": {\n        \"foreground_color\": \"#1e293b\",\n        \"frame\": \"scan-me\",\n        \"logo_url\": \"https:\u002F\u002Fexample.com\u002Fassets\u002Flogo.png\"\n    }\n}\n","json","",[43,44,45,54,71,84,97,106,119,132,143,149],"code",{"__ignoreMap":41},[46,47,50],"span",{"class":48,"line":49},"line",1,[46,51,53],{"class":52},"sVt8B","{\n",[46,55,57,61,64,68],{"class":48,"line":56},2,[46,58,60],{"class":59},"sj4cs","    \"name\"",[46,62,63],{"class":52},": ",[46,65,67],{"class":66},"sZZnC","\"Order QR Code\"",[46,69,70],{"class":52},",\n",[46,72,74,77,79,82],{"class":48,"line":73},3,[46,75,76],{"class":59},"    \"type\"",[46,78,63],{"class":52},[46,80,81],{"class":66},"\"dynamic\"",[46,83,70],{"class":52},[46,85,87,90,92,95],{"class":48,"line":86},4,[46,88,89],{"class":59},"    \"destination_url\"",[46,91,63],{"class":52},[46,93,94],{"class":66},"\"https:\u002F\u002Fexample.com\u002Forders\u002F9876\"",[46,96,70],{"class":52},[46,98,100,103],{"class":48,"line":99},5,[46,101,102],{"class":59},"    \"design\"",[46,104,105],{"class":52},": {\n",[46,107,109,112,114,117],{"class":48,"line":108},6,[46,110,111],{"class":59},"        \"foreground_color\"",[46,113,63],{"class":52},[46,115,116],{"class":66},"\"#1e293b\"",[46,118,70],{"class":52},[46,120,122,125,127,130],{"class":48,"line":121},7,[46,123,124],{"class":59},"        \"frame\"",[46,126,63],{"class":52},[46,128,129],{"class":66},"\"scan-me\"",[46,131,70],{"class":52},[46,133,135,138,140],{"class":48,"line":134},8,[46,136,137],{"class":59},"        \"logo_url\"",[46,139,63],{"class":52},[46,141,142],{"class":66},"\"https:\u002F\u002Fexample.com\u002Fassets\u002Flogo.png\"\n",[46,144,146],{"class":48,"line":145},9,[46,147,148],{"class":52},"    }\n",[46,150,152],{"class":48,"line":151},10,[46,153,154],{"class":52},"}\n",[10,156,157],{},[13,158,159],{},"Response Payload:",[36,161,163],{"className":38,"code":162,"language":40,"meta":41,"style":41},"{\n    \"id\": \"qr_019ec1ac\",\n    \"short_url\": \"https:\u002F\u002Fqrz.am\u002Ft3y12\",\n    \"qr_image_url\": \"https:\u002F\u002Fcdn.qrzam.com\u002Fcodes\u002Fqr_019ec1ac.png\",\n    \"vector_url\": \"https:\u002F\u002Fcdn.qrzam.com\u002Fcodes\u002Fqr_019ec1ac.svg\"\n}\n",[43,164,165,169,181,193,205,215],{"__ignoreMap":41},[46,166,167],{"class":48,"line":49},[46,168,53],{"class":52},[46,170,171,174,176,179],{"class":48,"line":56},[46,172,173],{"class":59},"    \"id\"",[46,175,63],{"class":52},[46,177,178],{"class":66},"\"qr_019ec1ac\"",[46,180,70],{"class":52},[46,182,183,186,188,191],{"class":48,"line":73},[46,184,185],{"class":59},"    \"short_url\"",[46,187,63],{"class":52},[46,189,190],{"class":66},"\"https:\u002F\u002Fqrz.am\u002Ft3y12\"",[46,192,70],{"class":52},[46,194,195,198,200,203],{"class":48,"line":86},[46,196,197],{"class":59},"    \"qr_image_url\"",[46,199,63],{"class":52},[46,201,202],{"class":66},"\"https:\u002F\u002Fcdn.qrzam.com\u002Fcodes\u002Fqr_019ec1ac.png\"",[46,204,70],{"class":52},[46,206,207,210,212],{"class":48,"line":99},[46,208,209],{"class":59},"    \"vector_url\"",[46,211,63],{"class":52},[46,213,214],{"class":66},"\"https:\u002F\u002Fcdn.qrzam.com\u002Fcodes\u002Fqr_019ec1ac.svg\"\n",[46,216,217],{"class":48,"line":108},[46,218,154],{"class":52},[20,220],{},[23,222,224],{"id":223},"key-benefits-of-api-based-generation","Key Benefits of API-Based Generation",[226,227,228,235,241,247],"ul",{},[229,230,231,234],"li",{},[13,232,233],{},"Mass Scale:"," Generate thousands of unique QR codes per minute for tickets, shipping labels, or transactions automatically.",[229,236,237,240],{},[13,238,239],{},"Workflow Automation:"," Integrate QR generation directly into CRM systems, e-commerce checkouts, and shipping platforms.",[229,242,243,246],{},[13,244,245],{},"Dynamic Link Provisioning:"," Programmatically create dynamic links, allowing your application to update the destination URL of a code automatically in response to database changes.",[229,248,249,252],{},[13,250,251],{},"Design Consistency:"," Standardize QR code design across your entire organization by enforcing brand colors, quiet zones, and logo layouts in the API schema.",[20,254],{},[23,256,258],{"id":257},"integrate-qr-zam-developer-api","Integrate QR Zam Developer API",[10,260,261],{},"Read our API documentation, retrieve your secure API keys, and start generating dynamic, customized QR codes at scale within your applications.",[263,264],"dynamic-cta",{},[266,267,268],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":41,"searchDepth":56,"depth":56,"links":270},[271,272,273],{"id":25,"depth":56,"text":26},{"id":223,"depth":56,"text":224},{"id":257,"depth":56,"text":258},"Developer Tools","Integrate QR Code API","API QR Code Generation is the programmatic creation of QR codes via developer endpoints, enabling businesses to generate customized codes at scale within their own apps.","md",{},true,"\u002Fi18n\u002Fen\u002Fglossary\u002Fapi-qr-code-generation",[282,283],"dynamic-qr-code","vector-qr-code",{"title":5,"description":276},"i18n\u002Fen\u002Fglossary\u002Fapi-qr-code-generation","_FIgoeJFjafk3qbn-VSKQkJP6kAV6UXmNQf0E2tAAsw",[288,496],{"id":289,"title":290,"body":291,"category":485,"cta":486,"description":487,"extension":277,"meta":488,"navigation":279,"path":489,"related":490,"seo":493,"stem":494,"__hash__":495},"glossary\u002Fi18n\u002Fen\u002Fglossary\u002Fdynamic-qr-code.md","Dynamic QR Code",{"type":7,"value":292,"toc":479},[293,299,302,304,308,311,342,344,348,374,376,380,468,470,474,477],[10,294,295,296,298],{},"A ",[13,297,290],{}," is an advanced type of Quick Response (QR) code that uses a short redirection URL to point to its target content. Unlike static QR codes, the actual data is not encoded directly into the QR pattern. Instead, it routes scanners through a secure redirect link. This architectural design enables you to change the destination URL, update the underlying file, or modify the user experience at any time without having to reprint the physical QR code.",[10,300,301],{},"In addition to editing capability, dynamic routing enables robust scan analytics, capturing critical performance data such as total scans, unique visitors, scan locations, operating systems, and time-of-scan details.",[20,303],{},[23,305,307],{"id":306},"how-dynamic-qr-codes-work","How Dynamic QR Codes Work",[10,309,310],{},"When a user scans a dynamic QR code:",[312,313,314,324,330,336],"ol",{},[229,315,316,319,320,323],{},[13,317,318],{},"Initial Scan:"," The camera app or scanner reads the QR pattern, which translates to a short link hosted on QR Zam (e.g., ",[43,321,322],{},"qrz.am\u002Fxyz123",").",[229,325,326,329],{},[13,327,328],{},"Server Lookup:"," The redirection engine query retrieves the current destination URL associated with that short link.",[229,331,332,335],{},[13,333,334],{},"Analytics Tracking:"," The system records anonymous scan metadata (timestamp, device type, location) in the database.",[229,337,338,341],{},[13,339,340],{},"Instant Redirection:"," The server redirects the user's browser to the target destination. This entire process happens seamlessly in less than 150 milliseconds.",[20,343],{},[23,345,347],{"id":346},"key-benefits-of-dynamic-qr-codes","Key Benefits of Dynamic QR Codes",[226,349,350,356,362,368],{},[229,351,352,355],{},[13,353,354],{},"Editability:"," Update campaign links, correct typos, or change target content (like replacing a PDF menu) instantly.",[229,357,358,361],{},[13,359,360],{},"Analytics & Tracking:"," Monitor scan volumes, geographic performance, and peak scan times to measure campaign ROI.",[229,363,364,367],{},[13,365,366],{},"Enhanced Security:"," Protect links with passwords, set expiry dates, or limit scan counts.",[229,369,370,373],{},[13,371,372],{},"Cleaner Design:"," Since the encoded URL is short, the QR code pattern remains simple and highly scannable, even at small print sizes.",[20,375],{},[23,377,379],{"id":378},"dynamic-qr-code-vs-static-qr-code","Dynamic QR Code vs. Static QR Code",[381,382,383,399],"table",{},[384,385,386],"thead",{},[387,388,389,394,396],"tr",{},[390,391,393],"th",{"align":392},"left","Feature",[390,395,290],{"align":392},[390,397,398],{"align":392},"Static QR Code",[400,401,402,416,429,442,455],"tbody",{},[387,403,404,410,413],{},[405,406,407],"td",{"align":392},[13,408,409],{},"Editable Content",[405,411,412],{"align":392},"Yes, anytime",[405,414,415],{"align":392},"No, locked after creation",[387,417,418,423,426],{},[405,419,420],{"align":392},[13,421,422],{},"Scan Tracking",[405,424,425],{"align":392},"Yes (Location, Device, Time)",[405,427,428],{"align":392},"No tracking possible",[387,430,431,436,439],{},[405,432,433],{"align":392},[13,434,435],{},"Short URL Redirection",[405,437,438],{"align":392},"Yes",[405,440,441],{"align":392},"No, direct encoding",[387,443,444,449,452],{},[405,445,446],{"align":392},[13,447,448],{},"QR Code Density",[405,450,451],{"align":392},"Low & simple (highly scan-friendly)",[405,453,454],{"align":392},"High (dense patterns for long URLs)",[387,456,457,462,465],{},[405,458,459],{"align":392},[13,460,461],{},"Use Cases",[405,463,464],{"align":392},"Marketing, menus, brochures",[405,466,467],{"align":392},"Wi-Fi setup, vCards, static text",[20,469],{},[23,471,473],{"id":472},"generate-a-dynamic-qr-code","Generate a Dynamic QR Code",[10,475,476],{},"Below is our interactive link generator tool. Try entering a URL to see how a simple QR code is structured, or sign up on QR Zam to access full editing, customization, and tracking capabilities.",[263,478],{},{"title":41,"searchDepth":56,"depth":56,"links":480},[481,482,483,484],{"id":306,"depth":56,"text":307},{"id":346,"depth":56,"text":347},{"id":378,"depth":56,"text":379},{"id":472,"depth":56,"text":473},"QR Code Types","Create a Dynamic QR Code","A Dynamic QR Code is an editable quick response code that allows you to change its target URL or content after printing, while also tracking scan data such as location, time, and device type.",{},"\u002Fi18n\u002Fen\u002Fglossary\u002Fdynamic-qr-code",[491,492],"static-qr-code","deep-linking",{"title":290,"description":487},"i18n\u002Fen\u002Fglossary\u002Fdynamic-qr-code","AS_YWC4SPdoxL8SN3GdB9izn62dF31izRaDk7EmOT7s",{"id":497,"title":498,"body":499,"category":647,"cta":648,"description":649,"extension":277,"meta":650,"navigation":279,"path":651,"related":652,"seo":655,"stem":656,"__hash__":657},"glossary\u002Fi18n\u002Fen\u002Fglossary\u002Fvector-qr-code.md","Vector QR Code (SVG)",{"type":7,"value":500,"toc":642},[501,506,509,511,515,597,599,603,631,633,637,640],[10,502,295,503,505],{},[13,504,498],{}," is a QR code saved in a vector graphics format—most commonly SVG (Scalable Vector Graphics), EPS, or PDF. Unlike raster formats (like PNG or JPEG) which are made of pixels, vector graphics are defined by mathematical formulas representing lines, points, and curves.",[10,507,508],{},"This distinction makes vector formats the industry standard for professional printing. A vector QR code can be scaled to the size of a giant billboard or reduced to a tiny business card without any blurriness or loss of detail, ensuring it remains fully scannable.",[20,510],{},[23,512,514],{"id":513},"vector-vs-raster-formats-for-qr-codes","Vector vs. Raster Formats for QR Codes",[381,516,517,530],{},[384,518,519],{},[387,520,521,524,527],{},[390,522,523],{"align":392},"Characteristic",[390,525,526],{"align":392},"Vector Format (SVG \u002F PDF \u002F EPS)",[390,528,529],{"align":392},"Raster Format (PNG \u002F JPG \u002F WebP)",[400,531,532,545,558,571,584],{},[387,533,534,539,542],{},[405,535,536],{"align":392},[13,537,538],{},"Scalability",[405,540,541],{"align":392},"Infinite (no loss of detail)",[405,543,544],{"align":392},"Limited (becomes pixelated)",[387,546,547,552,555],{},[405,548,549],{"align":392},[13,550,551],{},"Print Quality",[405,553,554],{"align":392},"Crisp, sharp edges",[405,556,557],{"align":392},"Can become blurry in print",[387,559,560,565,568],{},[405,561,562],{"align":392},[13,563,564],{},"File Editing",[405,566,567],{"align":392},"Fully editable in Illustrator",[405,569,570],{"align":392},"Hard to edit path structures",[387,572,573,578,581],{},[405,574,575],{"align":392},[13,576,577],{},"File Size",[405,579,580],{"align":392},"Small (text-based paths)",[405,582,583],{"align":392},"Larger for high resolutions",[387,585,586,591,594],{},[405,587,588],{"align":392},[13,589,590],{},"Best Used For",[405,592,593],{"align":392},"Packaging, billboards, design",[405,595,596],{"align":392},"Websites, emails, digital use",[20,598],{},[23,600,602],{"id":601},"why-vector-formats-are-crucial-for-printing","Why Vector Formats are Crucial for Printing",[226,604,605,611,617],{},[229,606,607,610],{},[13,608,609],{},"Scannability Guarantee:"," QR code scanners rely on detecting clean, sharp contrast borders between dark and light modules. If a raster image is resized and becomes blurry or pixelated, the edges smudge, leading to scan failures.",[229,612,613,616],{},[13,614,615],{},"Design Flexibility:"," Design agencies and print shops can import SVG QR codes directly into layout software (like Adobe Illustrator or Figma) to adjust colors, align branding elements, and incorporate custom frames.",[229,618,619,622,623,626,627,630],{},[13,620,621],{},"Small File Footprint:"," Because SVG files are written in XML code (e.g., ",[43,624,625],{},"\u003Crect>"," and ",[43,628,629],{},"\u003Cpath>","), they take up only a fraction of the storage space required by high-resolution PNGs.",[20,632],{},[23,634,636],{"id":635},"download-print-ready-vector-qr-codes","Download Print-Ready Vector QR Codes",[10,638,639],{},"Create a dynamic QR code on QR Zam to export your codes in high-resolution, print-ready SVG and PDF vector formats.",[263,641],{},{"title":41,"searchDepth":56,"depth":56,"links":643},[644,645,646],{"id":513,"depth":56,"text":514},{"id":601,"depth":56,"text":602},{"id":635,"depth":56,"text":636},"Design & Customization","Generate Vector QR Codes","A Vector QR Code (SVG) is a resolution-independent QR code format that can be scaled infinitely without losing quality, making it ideal for high-quality printing.",{},"\u002Fi18n\u002Fen\u002Fglossary\u002Fvector-qr-code",[653,654],"qr-code-frame","api-qr-code-generation",{"title":498,"description":649},"i18n\u002Fen\u002Fglossary\u002Fvector-qr-code","HNlxEvwEhzHalrGhddHXsYVNvOuAxPjNoiq04e4ONMw"]