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
.
The domain to filter the links. For example, ac.me
. If not provided, all links of the project will be returned.
[OBSOLETO (use tagIds em vez disso)]: The unique ID of the tag assigned to the short link.
The IDs of the tags to filter the links.
The unique name of the tags assigned to the short link (case insensitive).
The search term to filter the links. The search term will be matched against the short link slug and the destination URL.
The ID of the user to filter by.
If should include archived links in the response. The default is false
if not provided.
The password to filter by.
The date and time the short link will expire in ISO-8601 format. Must be in the future.
Geographic segmentation information for the short link in JSON format {[COUNTRY]: https://example.com }
.
The iOS device to filter by.
The Android device to filter by.
The comments to filter by.
If should include tags in the response. The default is false
if not provided.
If should include links with conversion tracking enabled. The default is false
if not provided.
Filter links that have password protection (any password)
Filter links that have expiration date (any expiration)
Filter links that have UTM parameters
Filter links that have custom social media cards
Filter links that have geo-targeting
Filter links that have device targeting
Filter links that have comments (any comments)
Filter links that have tags (any tags)
Created after date (ISO string)
Created before date (ISO string)
Expires after date (ISO string)
Expires before date (ISO string)
Minimum number of clicks
x >= 0
Maximum number of clicks
x >= 0
The field to sort the links by. The default is createdAt
, and sort order is always descending.
createdAt
, clicks
, lastClicked
Link IDs to filter by.
The page number for pagination.
x > 0
1
The number of items per page.
0 < x <= 100
50
Response
A list of links
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.