Skip to Content

Field Reference

Complete reference of all data objects returned by the LinkShark API.


Short URL Object

This is the primary object returned by the /link/external/v1/save, /link/external/v1/bulkSave, and list endpoints.

FieldTypeNullableDescription
idstringNoUnique identifier (UUID) for the short URL record.
urlstringNoThe original destination URL.
shortCodestringNoThe unique alias used in the short link.
smartLinkstringNoThe full shortened URL (e.g., https://lnk.shark/my-link).
titlestringYesDescriptive title for the link.
iosDeeplinkUrlstringYesiOS deep link URL for in-app routing.
iosFallbackUrlstringYesFallback URL for iOS when the app is not installed.
androidDeeplinkUrlstringYesAndroid deep link URL for in-app routing.
androidFallbackUrlstringYesFallback URL for Android when the app is not installed.
expirationDatestringYesISO 8601 timestamp when the link expires.
passwordstringYesPassword protecting the link (if set).
isActivebooleanNoWhether the link is currently active and resolvable.
totalClicksintegerNoTotal number of times the short link has been accessed.
tagsstring[]YesArray of tag labels for organizing links.
qrCodeUrlstringYesURL to the auto-generated QR code image for this link.
createdAtstringNoISO 8601 timestamp of when the record was created.
updatedAtstringNoISO 8601 timestamp of the last update.
orgIdstringNoOrganization ID that owns this short URL.

Note: Nullable fields are omitted from the response when their value is null.


Pagination Object

Returned by the list endpoint wrapping the results array.

FieldTypeDescription
contentarrayArray of Short URL Objects for the current page.
totalPagesintegerTotal number of pages available.
totalElementsintegerTotal number of records matching the query.
currentPageintegerCurrent page number (zero-based).
pageSizeintegerNumber of records per page.
Last updated on