Share
The Sharing module simplifies the creation and sharing of QR codes and short links. Use it to generate QR codes for apps, products, collections, and URLs. Create short links for long URLs and retrieve them, along with the original URLs, using their respective codes.
QR Code & Short Link
You can utilize this to create a shortened URL from a long URL, product slug, or collection slug. Given the character limit of URLs in SMS communication (30 characters), employing this shortened URL facilitates easy sharing via SMS and email.
Operations
POST
# Create short link
GET
# Get short links
GET
# Get short link by hash
PATCH
# Update short link
POST
Create short link
Generate a shortened URL link for sharing.
Parameters
company_id
string
Required
Company Id
application_id
string
Required
Application Id
Request body
title
string
Required
Give a name to the link.
url
string
Required
The web address to shorten.
hash
string
active
boolean
expire_at
string
enable_tracking
boolean
personalized
boolean
To create personalized short links.
campaign
object (CampaignShortLink)
CampaignShortLink
redirects
object (Redirects)
Redirects
attribution
object (Attribution)
Attribution
social_media_tags
object (SocialMediaTags)
SocialMediaTags
count
integer
Response
200
4XX
Success
ShortLinkRes
title
string
url
object (UrlInfo)
UrlInfo
created_by
string
app_redirect
boolean
fallback
string
Enum
active
boolean
_id
string
enable_tracking
boolean
expire_at
string
application
string
user_id
string
created_at
string
meta
object
updated_at
string
personalized
boolean
To create personalized short links
campaign
object (CampaignShortLink)
CampaignShortLink
redirects
object (Redirects)
Redirects
attribution
object (Attribution)
Attribution
social_media_tags
object (SocialMediaTags)
SocialMediaTags
count
integer
Examples
Parameters
companyId:
"value"
applicationId:
"value"
body:
body
Was this section helpful?
POST
Loading...
Response
Loading...
Create short link
createShortLink
GET
Get short links
Retrieve a list of all generated short links.
Parameters
company_id
string
Required
Company Id
application_id
string
Required
Application Id
page_no
integer
Current page number
Default Value : 1
page_size
integer
Current page size
Default Value : 10
created_by
string
Short link creator
Enum
active
string
Short link active status
Enum
short_url
string
Search for short url
original_url
string
Search for original url
title
string
Search text for title
Response
200
4XX
Success
ShortLinkList
items
array of object (ShortLinkRes)
Array of ShortLinkRes
page
object (Page)
Page
Examples
Parameters
companyId:
"value"
applicationId:
"value"
pageNo:
1
pageSize:
1
createdBy:
"value"
active:
"value"
shortUrl:
"value"
originalUrl:
"value"
title:
"value"
Was this section helpful?
GET
Loading...
Response
Loading...
Get short links
getShortLinks
GET
Get short link by hash
Retrieve a specific short link by its unique hash.
Parameters
company_id
string
Required
Company Id
application_id
string
Required
Application Id
hash
string
Required
Hash of short url
Response
200
4XX
Success
ShortLinkRes
title
string
url
object (UrlInfo)
UrlInfo
created_by
string
app_redirect
boolean
fallback
string
Enum
active
boolean
_id
string
enable_tracking
boolean
expire_at
string
application
string
user_id
string
created_at
string
meta
object
updated_at
string
personalized
boolean
To create personalized short links
campaign
object (CampaignShortLink)
CampaignShortLink
redirects
object (Redirects)
Redirects
attribution
object (Attribution)
Attribution
social_media_tags
object (SocialMediaTags)
SocialMediaTags
count
integer
Examples
Parameters
companyId:
"value"
applicationId:
"value"
hash:
"value"
Was this section helpful?
GET
Loading...
Response
Loading...
Get short link by hash
getShortLinkByHash
PATCH
Update short link
Update details of a specific short link by its ID.
Parameters
company_id
string
Required
Company Id
application_id
string
Required
Application Id
id
string
Required
Short link document identifier
Request body
title
string
Required
Give a name to the link.
url
string
Required
The web address to shorten.
hash
string
active
boolean
expire_at
string
enable_tracking
boolean
personalized
boolean
To create personalized short links.
campaign
object (CampaignShortLink)
CampaignShortLink
redirects
object (Redirects)
Redirects
attribution
object (Attribution)
Attribution
social_media_tags
object (SocialMediaTags)
SocialMediaTags
count
integer
Response
200
4XX
Success
ShortLinkRes
title
string
url
object (UrlInfo)
UrlInfo
created_by
string
app_redirect
boolean
fallback
string
Enum
active
boolean
_id
string
enable_tracking
boolean
expire_at
string
application
string
user_id
string
created_at
string
meta
object
updated_at
string
personalized
boolean
To create personalized short links
campaign
object (CampaignShortLink)
CampaignShortLink
redirects
object (Redirects)
Redirects
attribution
object (Attribution)
Attribution
social_media_tags
object (SocialMediaTags)
SocialMediaTags
count
integer
Examples
Parameters
companyId:
"value"
applicationId:
"value"
id:
"value"
body:
body
Was this section helpful?
PATCH
Loading...
Response
Loading...