The CodeQR API enables you to create and manage dynamic QR Codes, shorten URLs, capture leads, and track engagement through powerful analytics. By integrating CodeQR with Pipedream, you can automate the generation of QR Codes and short links across a wide range of workflows — from marketing automation to customer support — and seamlessly connect these actions to over 2,500 apps. fileciteturn3file0
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
codeqr: {
type: "app",
app: "codeqr",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.codeqr.io/links/count`,
headers: {
Authorization: `Bearer ${this.codeqr.$auth.oauth_access_token}`,
},
})
},
})
Dynamic QR Code Generation for Marketing Campaigns Automatically generate campaign-specific QR Codes when a new campaign is launched in your CRM or marketing tool. Store the QR code image in your cloud drive (e.g., Google Drive or Dropbox), and attach it to your newsletters or printed materials.
URL Shortening with Pre-Redirect Lead Capture When a new record is added to Airtable or a Google Sheet with a destination URL, create a short link using CodeQR that optionally includes a lead capture page before redirection. Use this to qualify traffic before they reach your landing page.
Automated Feedback Collection Trigger the creation of a QR code linked to a feedback form after each customer interaction in platforms like Zendesk, Intercom, or HubSpot. Easily track which customers scanned the code and filled the form, and centralize the responses.
Analytics Monitoring and Reporting Use Pipedream workflows to pull scan and click analytics from CodeQR at regular intervals. Send the data to Slack, update a Google Sheet, or visualize trends on a custom dashboard.
Creates a short link in CodeQR using the CodeQR API. See the documentation
Creates a new QR Code in CodeQR using the QR Codes API. See the documentation
Deletes a short link in CodeQR by linkId or externalId. See the documentation
Deletes a QR Code in CodeQR by qrcodeId or externalId. See the documentation
Retrieves a short link from CodeQR by linkId, externalId, or domain/key via query string parameters. See the documentation
CodeQR uses OAuth authentication. When you connect your CodeQR account, Pipedream will open a popup window where you can sign into CodeQR and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any CodeQR API.
Pipedream requests the following authorization scopes when you connect your account:
qrcodes.read
links.read
tags.read
pages.read
links.write
qrcodes.write
GET
https://app.codeqr.io/oauth/authorize
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
&
code_challenge={{oauth.token}}
&
code_challenge_method=S256
POST
https://api.codeqr.io/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
&
code_verifier={{oauth.verifier}}
POST
https://api.codeqr.io/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}