Skip to main content

Link Object

This section describes the elements of the Link object.

These fields and values make up the JSON object that gets returned with successful requests.

AttributeData TypeDescription
date_accessed
read only
stringThe date and time when the link was accessed.
date_created
read only
stringThe date and time when the link was created.
destination_urlstringThe site where the user will be sent.
hits
read only
integerThe number of times that the link has been hit.
link_sid
read only
stringThe link secure ID.
maximum_ttlintegerThe link lifetime in seconds. Entering the -1 value means that the link will never expire. The default value is -1.
modestringThe mode of the link. Values accepted in this field are:
  • proxy_pass to serve the contents of the page directly.
  • redirect_permanent to return the permanent redirect status code before redirect.
  • redirect_temporary to return the temporary redirect status code before redirect.
The default value is redirect_temporary.
partner_sid
read only
stringThe secure ID of the partner associated with the link.
short_namestringThe short portion of the URL. If there is no value in this field, it will be automatically generated. This value is unique to domain_sid.
url
read only
stringThe URL to get access to destination_url. This field value is generated automatically.
{
"date_accessed": null,
"date_created": "2024-01-18T19:26:02.553Z",
"destination_url": "http://destinationurl.com",
"link_sid": "330a8a83-d4bb-4f39-ae54-c59c8d87cd44",
"hits": 0,
"link_sid": "a533f53a-7e6f-4822-be3c-3767924ee2a9",
"maximum_ttl": -1,
"mode": "redirect_temporary",
"partner_sid": "e00430c3-a7d0-4666-ab5c-f7202448382f",
"short_name": "eOtEtO",
"url": "http://newdomain.com/eOtEtO"
}