Skip to content

CreateLinkInput

Defined in: src/core.ts:91

Input for LinksCore.createLink. Everything but url is optional.

Property Type Description Defined in
android? string | null - src/core.ts:113
archived? boolean - src/core.ts:120
deepLink? | LinkDeepLink | null - src/core.ts:114
description? string | null - src/core.ts:100
disabled? boolean - src/core.ts:119
domain? string Default: the tenant’s default domain, then the shared default domain. src/core.ts:95
expiredUrl? string | null - src/core.ts:104
expiresAt? string | null - src/core.ts:103
externalId? string | null - src/core.ts:102
indexable? boolean - src/core.ts:118
ios? string | null - src/core.ts:112
maxClicks? number | null - src/core.ts:105
metadata? | JsonObject | null - src/core.ts:121
passQuery? boolean - src/core.ts:117
password? string | null Plain-text password; stored as a PBKDF2 hash. src/core.ts:107
preview? | LinkPreview | null - src/core.ts:109
redirectStatus? | RedirectStatus | null - src/core.ts:115
rules? (Omit<LinkRule, "id"> & object)[] Rule ids are generated when omitted. src/core.ts:111
slug? string Default: generated (ADR 0012). src/core.ts:97
tags? string[] - src/core.ts:101
tenant? string Default DEFAULT_TENANT. src/core.ts:93
title? string | null - src/core.ts:99
trackConversions? boolean - src/core.ts:116
url string - src/core.ts:98
utm? Utm | null - src/core.ts:108