Explore Plans
Mobile menu Close menu
CodeQR

Create a Link

Creates a new short link.

Developer info

API endpoint slug
codeqr.create_link
Filter code method
Codeqr.createLink.skip(string?: reason)
Runtime method
runAction("codeqr.create_link", {})

Action fields

Url Text input > Link

Label
URL
Helper text
The destination URL of the short link.
Slug
url
Required
true
Can have default value
true
Filter code method
Codeqr.createLink.setUrl(string: url)

Key Text input > Title

Label
Key
Helper text
The short link slug. If not provided, a random 7-character slug will be generated.
Slug
key
Required
false
Can have default value
true
Filter code method
Codeqr.createLink.setKey(string: key)

Comments Text input > Title

Label
Comments
Helper text
Comments or notes about the short link.
Slug
comments
Required
false
Can have default value
true
Filter code method
Codeqr.createLink.setComments(string: comments)

Title Text input > Short text

Label
Title
Helper text
The title displayed on the short link page.
Slug
title
Required
false
Can have default value
true
Filter code method
Codeqr.createLink.setTitle(string: title)

Description Text input > Long text

Label
Description
Helper text
A description displayed on the short link page.
Slug
description
Required
false
Can have default value
true
Filter code method
Codeqr.createLink.setDescription(string: description)

Image Text input > Photo

Label
Image URL
Helper text
URL of the image displayed on the short link page.
Slug
image
Required
false
Can have default value
true
Filter code method
Codeqr.createLink.setImage(string: image)

Video Text input > Link

Label
Video URL
Helper text
URL of the video displayed on the short link page. If both video and image are provided, video takes priority; image is used as a fallback.
Slug
video
Required
false
Can have default value
true
Filter code method
Codeqr.createLink.setVideo(string: video)

Ios Text input > Link

Label
iOS
Helper text
The iOS destination URL for device-specific redirection.
Slug
ios
Required
false
Can have default value
true
Filter code method
Codeqr.createLink.setIos(string: ios)

Android Text input > Link

Label
Android
Helper text
The Android destination URL for device-specific redirection.
Slug
android
Required
false
Can have default value
true
Filter code method
Codeqr.createLink.setAndroid(string: android)

Expiresat Text input > ISO 8601 date and time

Label
Expiration Date
Helper text
The date and time when the short link will expire
Slug
expiresAt
Required
false
Can have default value
true
Filter code method
Codeqr.createLink.setExpires At(string: expiresAt)

Expiredurl Text input > Link

Label
Expired Redirect URL
Helper text
The URL to redirect to when the short link has expired.
Slug
expiredUrl
Required
false
Can have default value
true
Filter code method
Codeqr.createLink.setExpired Url(string: expiredUrl)