curl --request POST \ --url 'https://api.apyhub.com/generate/qr-code/file?output=sample.png' \ --header 'Content-Type: application/json' \ --header 'apy-token: APY0BOODK2plpXgxRjezmBOXqID51DGpFq8QnHJeBQrrzuIBc25UIglN93bbwvnkBWlUia1' \ --data '{ "content": "https://apyhub.com", "logo": "https://apyhub.com/logo.svg", "background_color": "#000000", "foreground_color": ["#e8bf2a", "#e8732a"] }'
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter