LinkTwin
link_twinLinkTwin is a link management platform for creating shortened deep links, tracking analytics, and managing domains, pixels, QR codes, and collections.
Acciones disponibles (10)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create LinkLINK_TWIN_CREATE_LINKAcciónCreate a shortened deep link with optional access limits, targeting, query parameters, and pixel or collection assignments. Free accounts can shorten only LinkTwin-approved destination domains and apps; arbitrary destination websites require a paid plan.
LINK_TWIN_CREATE_LINKAcciónCreate a shortened deep link with optional access limits, targeting, query parameters, and pixel or collection assignments. Free accounts can shorten only LinkTwin-approved destination domains and apps; arbitrary destination websites require a paid plan.
Parámetros de entrada
notestringPrivate note used to identify or organize the link.
ab_testsobject[]Alternative destinations and optional traffic percentages for A/B routing.
passwordstringPassword visitors must enter before redirecting.
expires_atstringDate and time after which the link expires.
click_limitintegerMaximum successful redirects before the link expires.
geo_targetsobject[]Country-based redirect destinations; country must be a full, case-sensitive country name.
short_domainstringExisting LinkTwin short domain returned by LINK_TWIN_LIST_DOMAINS. Branded domains require a plan that enables them.
display_titlestringCustom display title for the link.
device_targetsobject[]Device-based redirect destinations.
destination_urlstringObligatorioDestination URL to shorten. On Free, it must belong to a LinkTwin-approved domain or app.
language_targetsobject[]Language-based redirect destinations.
query_parametersobject[]Query parameters LinkTwin appends during redirect.
pixel_ids_or_namesanyTracking pixels to assign. Use all numeric IDs or all names in one call; do not mix forms.
collection_ids_or_namesanyCollections to assign. Use all numeric IDs or all names in one call; do not mix forms.
expiration_redirect_urlstringFallback destination used after expiry or the click limit is reached.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete LinkLINK_TWIN_DELETE_LINKAcciónPermanently delete one shortened link by numeric ID. This destructive action removes the link and its redirect and cannot be undone; use it only when the caller explicitly intends permanent deletion.
LINK_TWIN_DELETE_LINKAcciónPermanently delete one shortened link by numeric ID. This destructive action removes the link and its redirect and cannot be undone; use it only when the caller explicitly intends permanent deletion.
Parámetros de entrada
link_idintegerObligatorioNumeric ID of the shortened link to permanently delete.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Account InfoLINK_TWIN_GET_ACCOUNT_INFOAcciónReturn the connected LinkTwin account's plan, usage, timezone, and feature limits. Use this before creating or updating links when plan availability is uncertain.
LINK_TWIN_GET_ACCOUNT_INFOAcciónReturn the connected LinkTwin account's plan, usage, timezone, and feature limits. Use this before creating or updating links when plan availability is uncertain.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get LinkLINK_TWIN_GET_LINKAcciónReturn one shortened link's destination, targeting rules, assignments, access controls, and summary click analytics.
LINK_TWIN_GET_LINKAcciónReturn one shortened link's destination, targeting rules, assignments, access controls, and summary click analytics.
Parámetros de entrada
timezonestringIANA timezone for returned analytics; defaults to the account timezone.
link_id_or_short_urlanyObligatorioNumeric link ID or full LinkTwin short URL. Full URLs are safely encoded as one path segment.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Link AnalyticsLINK_TWIN_GET_LINK_ANALYTICSAcciónReturn detailed clicks, unique clicks, time series, and geography, referrer, browser, device, language, and city breakdowns for one link. Free accounts retain only 14 days of analytics.
LINK_TWIN_GET_LINK_ANALYTICSAcciónReturn detailed clicks, unique clicks, time series, and geography, referrer, browser, device, language, and city breakdowns for one link. Free accounts retain only 14 days of analytics.
Parámetros de entrada
to_datestringdateInclusive end date as YYYY-MM-DD. Use only when from_date is an explicit date; omit it for a preset window.
timezonestringIANA timezone for date boundaries and chart timestamps; defaults to the account timezone.
from_dateanyObligatorioPreset analytics window or explicit inclusive start date as YYYY-MM-DD. Results cannot exceed the account's retention period.
link_id_or_short_urlanyObligatorioNumeric link ID or full LinkTwin short URL. Full URLs are safely encoded as one path segment.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List CollectionsLINK_TWIN_LIST_COLLECTIONSAcciónReturn one page of link collections available for organizing or assigning shortened links.
LINK_TWIN_LIST_COLLECTIONSAcciónReturn one page of link collections available for organizing or assigning shortened links.
Parámetros de entrada
limitintegerMaximum collections to request in this page. LinkTwin does not publish a maximum.
cursorstringOpaque continuation cursor returned by a previous call. Omit for the first page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List DomainsLINK_TWIN_LIST_DOMAINSAcciónReturn standard LinkTwin short domains and branded domains available to the connected account. Branded domains are disabled on Free accounts.
LINK_TWIN_LIST_DOMAINSAcciónReturn standard LinkTwin short domains and branded domains available to the connected account. Branded domains are disabled on Free accounts.
Parámetros de entrada
limitintegerMaximum branded domains to request in this page. Standard LinkTwin domains may be returned in addition to this limit.
cursorstringOpaque continuation cursor returned by a previous call. Omit for the first page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List LinksLINK_TWIN_LIST_LINKSAcciónReturn one filtered page of shortened links owned by the connected account, including destination URLs, click totals, and assignments.
LINK_TWIN_LIST_LINKSAcciónReturn one filtered page of shortened links owned by the connected account, including destination URLs, click totals, and assignments.
Parámetros de entrada
limitintegerMaximum links to request in this page. LinkTwin does not publish a maximum.
orderstringenumSort order for the returned links.
datedate_descdate_ascclicks_descclicks_ascname_ascname_desccursorstringOpaque continuation cursor returned by a previous call. Omit for the first page.
searchstringSearch text used to filter links.
date_tostringInclusive creation-date upper bound as YYYY-MM-DD or an ISO 8601 datetime.
timezonestringIANA timezone used to interpret date filters; defaults to the account timezone.
date_fromstringInclusive creation-date lower bound as YYYY-MM-DD or an ISO 8601 datetime.
collection_idsinteger[]Collection IDs to filter by. They are serialized as the JSON-encoded collections query value LinkTwin expects.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List PixelsLINK_TWIN_LIST_PIXELSAcciónReturn one page of tracking pixels available for assignment to shortened links.
LINK_TWIN_LIST_PIXELSAcciónReturn one page of tracking pixels available for assignment to shortened links.
Parámetros de entrada
limitintegerMaximum tracking pixels to request in this page. LinkTwin does not publish a maximum.
cursorstringOpaque continuation cursor returned by a previous call. Omit for the first page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update LinkLINK_TWIN_UPDATE_LINKAcciónPartially update a shortened link's destination, access limits, targeting, query parameters, or assignments. Only explicitly supplied fields are changed; replacement arrays overwrite the complete existing value. Changing the destination URL requires a paid LinkTwin plan.
LINK_TWIN_UPDATE_LINKAcciónPartially update a shortened link's destination, access limits, targeting, query parameters, or assignments. Only explicitly supplied fields are changed; replacement arrays overwrite the complete existing value. Changing the destination URL requires a paid LinkTwin plan.
Parámetros de entrada
notestringReplacement private note. Pass null to clear it; omit to leave unchanged.
link_idintegerObligatorioNumeric ID of the shortened link to update.
ab_testsobject[]Complete replacement A/B destination list. Pass [] to clear A/B routing.
passwordstringReplacement visitor password. Pass null to clear it; omit to leave unchanged.
expires_atstringReplacement expiry datetime. Pass null to clear it; omit to leave unchanged.
click_limitintegerReplacement successful-redirect limit. Pass null to clear it; omit to leave unchanged.
geo_targetsobject[]Complete replacement country-target list. Pass [] to clear all country targets.
short_domainstringExisting LinkTwin short domain returned by LINK_TWIN_LIST_DOMAINS. Omit to leave unchanged; null is not accepted.
display_titlestringReplacement display title. Pass null to clear it; omit to leave unchanged.
device_targetsobject[]Complete replacement device-target list. Pass [] to clear all device targets.
destination_urlstringNew destination URL. Changing a link's destination requires a paid LinkTwin plan, even when the new URL uses an approved domain. Omit to leave unchanged; null is not accepted.
language_targetsobject[]Complete replacement language-target list. Pass [] to clear all language targets.
query_parametersobject[]Complete replacement redirect-query list. Pass [] to clear all query parameters.
pixel_ids_or_namesarrayComplete replacement pixel assignment list. Use either all numeric IDs or all names in one call; pass [] to clear all assignments.
collection_ids_or_namesarrayComplete replacement collection assignment list. Use either all numeric IDs or all names in one call; pass [] to clear all assignments.
expiration_redirect_urlstringReplacement destination used after expiry or the click limit. Pass null to clear it; omit to leave unchanged.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not