domain
andkey
.linkId
.externalId
.
Authorizations
Default authentication mechanism
Query Parameters
The slug of the project to which the link belongs. For example, for app.codeqr.io/acme
, the projectSlug is acme
.
1
The domain of the link to be retrieved. For example, for codeqr.link/github
, the domain is codeqr.link
.
1
The key of the link to be retrieved. For example, for codeqr.link/github
, the key is github
.
1
The unique ID of the short link.
"clux0rgak00011..."
This is the ID of the link in your database. Must be prefixed with ext_
when passed as a query parameter.
"ext_123456"
Response
The retrieved link
The unique ID of the short link.
The domain of the short link. If not provided, the main domain of the project will be used (or codeqr.link
if the project has no domains).
The slug of the short link. If not provided, a random 7-character slug will be generated.
The destination URL of the short link.
Whether the short link is archived.
The date and time when the short link will expire in ISO-8601 format. Must be in the future.
The URL to redirect to when the short link expires.
[BETA] Whether to track conversions for the short link.
Whether the short link is flexible.
Whether search engines can index the short link.
The password required to access the short link destination URL.
This is the ID of the link in your database.
Whether the short link uses the custom link preview feature.
The title of the short link generated via api.codeqr.io/metatags
. Will be used for custom link preview if proxy
is true.
The description of the short link generated via api.codeqr.io/metatags
. Will be used for custom link preview if proxy
is true.
The image of the short link generated via api.codeqr.io/metatags
. Will be used for custom link preview if proxy
is true.
The video of the short link.
Whether the short link uses link cloaking.
The iOS destination URL for the short link for iOS device targeting.
The Android destination URL for the short link for Android device targeting.
Geographic targeting information for the short link in JSON format {[COUNTRY]: https://example.com }
. Learn more: https://codeqr.link/geo
Whether the short link statistics are publicly accessible.
[DEPRECATED (use tags
instead)]: The unique ID of the tag assigned to the short link.
The tags assigned to the short link.
The comments for the short link.
The notification token of the short link.
The UTM source of the short link.
The UTM medium of the short link.
The UTM campaign of the short link.
The UTM term of the short link.
The UTM content of the short link.
The ID of the user who created the short link.
The ID of the project of the short link.
The number of clicks on the short link.
The number of leads generated by the short link.
The number of sales generated by the short link.
The amount of the sale generated by the link.
The date and time when the short link was last clicked.
The date and time when the short link was created.
The date and time when the short link was last updated.
Whether the short link has pre-redirection.
If the form is mandatory for the page.
Whether the link is filled or not.
The complete URL of the short link, including the https protocol (for example, https://codeqr.link/try
).
The complete QR code URL for the short link (for example, https://api.codeqr.io/qr?url=https://codeqr.link/try
).
The ID of the page to redirect to before the link destination.
The URL of the page to redirect to before the link destination.