Create a link
name and destinationUrl are required; everything else has a sensible default. The slug is generated when you omit it.https://api.clicklookup.com/v1/linksRequires an API key
Request body24
destinationUrlstring · urlrequiredAbsolute http(s) URL
namestringrequiredDisplay name, shown in the dashboard and reports.
1–120 charsbackupUrlstring · urlnullableAbsolute http(s) URL
blankReferrerbooleannullableblockedUrlstring · urlnullableAbsolute http(s) URL
campaignstringnullablemax 120 charscapsobjectnullableShow 4 child attributesHide child attributes
maxRawintegernullable1–9007199254740990maxRawDailyintegernullable1–9007199254740990maxUniqueintegernullable1–9007199254740990maxUniqueDailyintegernullable1–9007199254740990
cloakobjectnullableShow 4 child attributesHide child attributes
descriptionstringnullablemax 300 charsenabledbooleanWhether the item is active.
DefaultfalseimageUrlstring · urlnullableAbsolute http(s) URL
titlestringnullablemax 120 chars
costnumbernullablemin 0costTypeenumnullableOne oftotalcpccpcRawcpacpsdailymonthlydisablePixelsbooleannullabledomainIdstring · uuidnullablefiltersobjectnullableShow 8 child attributesHide child attributes
blockedIpenumMatches the workspace IP block list
One ofoffflagblockDefault"block"datacenterenumHosting / cloud ASN — servers, not people
One ofoffflagblockDefault"flag"noCookieenumAdvanced: visitor refused the cookie
One ofoffflagblockDefault"off"noJsenumAdvanced: visitor never ran the beacon
One ofoffflagblockDefault"off"proxyenumKnown anonymous proxy / VPN exit
One ofoffflagblockDefault"flag"serverenumScripted clients: curl, python-requests…
One ofoffflagblockDefault"flag"spiderenumSearch-engine and social crawlers
One ofoffflagblockDefault"block"velocityenum30+ clicks from one visitor within a minute
One ofoffflagblockDefault"flag"
funnelEntrybooleannullablegroupIdstring · uuidnullableGroup to file this under;
nullfor none.notesstringnullablemax 2000 charspixelIdsarray of strings · uuidnullableRetargeting pixels fired on the interstitial.
max 20 itemsredirectTypeenumnullableHTTP status used for the redirect.
One of301302307rulesarray of objectsnullablemax 50 itemsShow 5 child attributesHide child attributes
actionobjectrequiredWhat to do.
Show 2 child attributesHide child attributes
typeenumrequiredOne ofredirectblockpassurlstring · urlnullableRequired when type = redirect
conditionsarray of objectsrequiredmax 10 itemsShow 3 child attributesHide child attributes
fieldenumrequiredOne ofcountrycontinenttier1deviceosbrowserlanguagereferrerHostsub1sub2sub3sub4sub5hourweekdayisRepeatqualityScoreopenumrequiredOne ofinnotIneqneqgtltcontainsregexvaluesarray of stringsrequiredmax 250 items
idstringrequiredClient-generated short id, stable across edits
1–32 charsenabledbooleanWhether the item is active.
DefaulttruenamestringnullableDisplay name, shown in the dashboard and reports.
max 80 chars
skipUrlCheckbooleannullableslugstringnullableOmit to auto-generate
3–64 charstagsarray of stringsnullableFree-form labels for filtering.
max 20 itemstrafficSourcestringnullablemax 80 charsuniqueScopeenumnullableOne oflinkgroupworkspace
Response · 20129
backupUrlstring · urlrequiredWhere capped or rule-excluded visitors go
blankReferrerbooleanrequiredStrip the referrer so the destination cannot see the source
blockedUrlstring · urlrequiredWhere blocked (filtered) visitors go; null = 404
campaignstringrequiredmax 120 charscapsobjectrequiredShow 4 child attributesHide child attributes
maxRawintegernullable1–9007199254740990maxRawDailyintegernullable1–9007199254740990maxUniqueintegernullable1–9007199254740990maxUniqueDailyintegernullable1–9007199254740990
cloakobjectrequiredShow 4 child attributesHide child attributes
descriptionstringnullablemax 300 charsenabledbooleanWhether the item is active.
DefaultfalseimageUrlstring · urlnullableAbsolute http(s) URL
titlestringnullablemax 120 chars
costnumberrequiredWhat the traffic costs, interpreted by costType
min 0costTypeenumrequiredOne oftotalcpccpcRawcpacpsdailymonthlycreatedAtstring · date-timerequiredISO-8601 timestamp with offset
destinationUrlstring · urlrequiredAbsolute http(s) URL
disablePixelsbooleanrequireddomainIdstring · uuidrequiredCustom tracking domain; null = default domain
filtersobjectrequiredShow 8 child attributesHide child attributes
blockedIpenumMatches the workspace IP block list
One ofoffflagblockDefault"block"datacenterenumHosting / cloud ASN — servers, not people
One ofoffflagblockDefault"flag"noCookieenumAdvanced: visitor refused the cookie
One ofoffflagblockDefault"off"noJsenumAdvanced: visitor never ran the beacon
One ofoffflagblockDefault"off"proxyenumKnown anonymous proxy / VPN exit
One ofoffflagblockDefault"flag"serverenumScripted clients: curl, python-requests…
One ofoffflagblockDefault"flag"spiderenumSearch-engine and social crawlers
One ofoffflagblockDefault"block"velocityenum30+ clicks from one visitor within a minute
One ofoffflagblockDefault"flag"
funnelEntrybooleanrequiredThis link is the front of a funnel; children roll up into it
groupIdstring · uuidrequiredGroup to file this under;
nullfor none.idstring · uuidrequiredUUID primary key
namestringrequiredDisplay name, shown in the dashboard and reports.
1–120 charsnotesstringrequiredmax 2000 charspixelIdsarray of strings · uuidrequiredRetargeting pixels fired on the interstitial.
max 20 itemsredirectTypeenumrequiredHTTP status used for the redirect.
One of301302307rulesarray of objectsrequiredmax 50 itemsShow 5 child attributesHide child attributes
actionobjectrequiredWhat to do.
Show 2 child attributesHide child attributes
typeenumrequiredOne ofredirectblockpassurlstring · urlnullableRequired when type = redirect
conditionsarray of objectsrequiredmax 10 itemsShow 3 child attributesHide child attributes
fieldenumrequiredOne ofcountrycontinenttier1deviceosbrowserlanguagereferrerHostsub1sub2sub3sub4sub5hourweekdayisRepeatqualityScoreopenumrequiredOne ofinnotIneqneqgtltcontainsregexvaluesarray of stringsrequiredmax 250 items
idstringrequiredClient-generated short id, stable across edits
1–32 charsenabledbooleanWhether the item is active.
DefaulttruenamestringnullableDisplay name, shown in the dashboard and reports.
max 80 chars
skipUrlCheckbooleanrequiredDo not probe the destination for liveness
slugstringrequiredURL-safe slug
3–64 charsstatusenumrequiredLifecycle state.
One ofactivepausedarchivedtagsarray of stringsrequiredFree-form labels for filtering.
max 20 itemstrafficSourcestringrequirede.g. facebook, google-ads, newsletter
max 80 charsuniqueScopeenumrequiredOne oflinkgroupworkspaceupdatedAtstring · date-timerequiredISO-8601 timestamp with offset
workspaceIdstring · uuidrequiredUUID primary key