AACFlow

Dub

Link-Management mit Dub

Dub is an open-source link management platform for modern marketing teams. It provides powerful short link creation, analytics, and tracking capabilities with enterprise-grade infrastructure.

With the Dub integration in AACFlow, you can:

  • Create short links: Generate branded short links with custom domains, slugs, and UTM parameters
  • Upsert links: Create or update links idempotently by destination URL
  • Retrieve link info: Look up link details by ID, external ID, or domain + key combination
  • Update links: Modify destination URLs, metadata, UTM parameters, and link settings
  • Delete links: Remove short links by ID or external ID
  • List links: Search and filter links with pagination, sorting, and tag filtering
  • Get analytics: Retrieve click, lead, and sales analytics with grouping by time, geography, device, browser, referer, and more

In AACFlow, the Dub integration enables your agents to manage short links and track their performance programmatically. Use it to create trackable links as part of marketing workflows, monitor link engagement, and make data-driven decisions based on click analytics and conversion metrics.

Nutzungsanleitung

Create, manage, and track short links with Dub. Supports custom domains, UTM parameters, link analytics, and more.

Tools

Create a new short link with Dub. Supports custom domains, slugs, UTM parameters, and more.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaDub API key
urlstringJaThe destination URL of the short link
domainstringNeinCustom domain for the short link (defaults to dub.sh)
keystringNeinCustom slug for the short link (randomly generated if not provided)
externalIdstringNeinExternal ID for the link in your database
tagIdsstringNeinComma-separated tag IDs to assign to the link
commentsstringNeinComments for the short link
expiresAtstringNeinExpiration date in ISO 8601 format
passwordstringNeinPassword to protect the short link
rewritebooleanNeinWhether to enable link cloaking
archivedbooleanNeinWhether to archive the link
titlestringNeinCustom OG title for the link preview
descriptionstringNeinCustom OG description for the link preview
utm_sourcestringNeinUTM source parameter
utm_mediumstringNeinUTM medium parameter
utm_campaignstringNeinUTM campaign parameter
utm_termstringNeinUTM term parameter
utm_contentstringNeinUTM content parameter

Ausgabe

ParameterTypBeschreibung
idstringUnique ID of the created link
domainstringDomain of the short link
keystringSlug of the short link
urlstringDestination URL
shortLinkstringFull short link URL
qrCodestringQR code URL for the short link
archivedbooleanWhether the link is archived
externalIdstringExternal ID
titlestringOG title
descriptionstringOG description
tagsjsonTags assigned to the link (id, name, color)
clicksnumberNumber of clicks
leadsnumberNumber of leads
salesnumberNumber of sales
saleAmountnumberTotal sale amount in cents
lastClickedstringLast clicked timestamp
createdAtstringCreation timestamp
updatedAtstringLast update timestamp
utm_sourcestringUTM source parameter
utm_mediumstringUTM medium parameter
utm_campaignstringUTM campaign parameter
utm_termstringUTM term parameter
utm_contentstringUTM content parameter

Create or update a short link by its URL. If a link with the same URL already exists, update it. Otherwise, create a new link.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaDub API key
urlstringJaThe destination URL of the short link
domainstringNeinCustom domain for the short link (defaults to dub.sh)
keystringNeinCustom slug for the short link (randomly generated if not provided)
externalIdstringNeinExternal ID for the link in your database
tagIdsstringNeinComma-separated tag IDs to assign to the link
commentsstringNeinComments for the short link
expiresAtstringNeinExpiration date in ISO 8601 format
passwordstringNeinPassword to protect the short link
rewritebooleanNeinWhether to enable link cloaking
archivedbooleanNeinWhether to archive the link
titlestringNeinCustom OG title for the link preview
descriptionstringNeinCustom OG description for the link preview
utm_sourcestringNeinUTM source parameter
utm_mediumstringNeinUTM medium parameter
utm_campaignstringNeinUTM campaign parameter
utm_termstringNeinUTM term parameter
utm_contentstringNeinUTM content parameter

Ausgabe

ParameterTypBeschreibung
idstringUnique ID of the link
domainstringDomain of the short link
keystringSlug of the short link
urlstringDestination URL
shortLinkstringFull short link URL
qrCodestringQR code URL for the short link
archivedbooleanWhether the link is archived
externalIdstringExternal ID
titlestringOG title
descriptionstringOG description
tagsjsonTags assigned to the link (id, name, color)
clicksnumberNumber of clicks
leadsnumberNumber of leads
salesnumberNumber of sales
saleAmountnumberTotal sale amount in cents
lastClickedstringLast clicked timestamp
createdAtstringCreation timestamp
updatedAtstringLast update timestamp
utm_sourcestringUTM source parameter
utm_mediumstringUTM medium parameter
utm_campaignstringUTM campaign parameter
utm_termstringUTM term parameter
utm_contentstringUTM content parameter

Retrieve information about a short link by its link ID, external ID, or domain + key combination.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaDub API key
linkIdstringNeinThe unique ID of the short link
externalIdstringNeinThe external ID of the link in your database
domainstringNeinThe domain of the link (use with key)
keystringNeinThe slug of the link (use with domain)

Ausgabe

ParameterTypBeschreibung
idstringUnique ID of the link
domainstringDomain of the short link
keystringSlug of the short link
urlstringDestination URL
shortLinkstringFull short link URL
qrCodestringQR code URL for the short link
archivedbooleanWhether the link is archived
externalIdstringExternal ID
titlestringOG title
descriptionstringOG description
tagsjsonTags assigned to the link (id, name, color)
clicksnumberNumber of clicks
leadsnumberNumber of leads
salesnumberNumber of sales
saleAmountnumberTotal sale amount in cents
lastClickedstringLast clicked timestamp
createdAtstringCreation timestamp
updatedAtstringLast update timestamp
utm_sourcestringUTM source parameter
utm_mediumstringUTM medium parameter
utm_campaignstringUTM campaign parameter
utm_termstringUTM term parameter
utm_contentstringUTM content parameter

Update an existing short link. You can modify the destination URL, slug, metadata, UTM parameters, and more.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaDub API key
linkIdstringJaThe link ID or external ID prefixed with ext_
urlstringNeinNew destination URL
domainstringNeinNew custom domain
keystringNeinNew custom slug
titlestringNeinCustom OG title
descriptionstringNeinCustom OG description
externalIdstringNeinExternal ID for the link
tagIdsstringNeinComma-separated tag IDs
commentsstringNeinComments for the short link
expiresAtstringNeinExpiration date in ISO 8601 format
passwordstringNeinPassword to protect the link
rewritebooleanNeinWhether to enable link cloaking
archivedbooleanNeinWhether to archive the link
utm_sourcestringNeinUTM source parameter
utm_mediumstringNeinUTM medium parameter
utm_campaignstringNeinUTM campaign parameter
utm_termstringNeinUTM term parameter
utm_contentstringNeinUTM content parameter

Ausgabe

ParameterTypBeschreibung
idstringUnique ID of the updated link
domainstringDomain of the short link
keystringSlug of the short link
urlstringDestination URL
shortLinkstringFull short link URL
qrCodestringQR code URL for the short link
archivedbooleanWhether the link is archived
externalIdstringExternal ID
titlestringOG title
descriptionstringOG description
tagsjsonTags assigned to the link (id, name, color)
clicksnumberNumber of clicks
leadsnumberNumber of leads
salesnumberNumber of sales
saleAmountnumberTotal sale amount in cents
lastClickedstringLast clicked timestamp
createdAtstringCreation timestamp
updatedAtstringLast update timestamp
utm_sourcestringUTM source parameter
utm_mediumstringUTM medium parameter
utm_campaignstringUTM campaign parameter
utm_termstringUTM term parameter
utm_contentstringUTM content parameter

Delete a short link by its link ID or external ID (prefixed with ext_).

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaDub API key
linkIdstringJaThe link ID or external ID prefixed with ext_

Ausgabe

ParameterTypBeschreibung
idstringID of the deleted link

Retrieve a paginated list of short links for the authenticated workspace. Supports filtering by domain, search query, tags, and sorting.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaDub API key
domainstringNeinFilter by domain
searchstringNeinSearch query matched against the short link slug and destination URL
tagIdsstringNeinComma-separated tag IDs to filter by
showArchivedbooleanNeinWhether to include archived links (defaults to false)
sortBystringNeinSort by field: createdAt, clicks, saleAmount, or lastClicked
sortOrderstringNeinSort order: asc or desc
pagenumberNeinPage number (default: 1)
pageSizenumberNeinNumber of links per page (default: 100, max: 100)

Ausgabe

ParameterTypBeschreibung
linksjsonArray of link objects (id, domain, key, url, shortLink, clicks, tags, createdAt)
countnumberNumber of links returned

dub_get_analytics

Retrieve analytics for links including clicks, leads, and sales. Supports filtering by link, time range, and grouping by various dimensions.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaDub API key
eventstringNeinEvent type: clicks (default), leads, sales, or composite
groupBystringNeinGroup results by: count (default), timeseries, countries, cities, devices, browsers, os, referers, top_links, top_urls
linkIdstringNeinFilter by link ID
externalIdstringNeinFilter by external ID (prefix with ext_)
domainstringNeinFilter by domain
intervalstringNeinTime interval: 24h (default), 7d, 30d, 90d, 1y, mtd, qtd, ytd, or all
startstringNeinStart date/time in ISO 8601 format (overrides interval)
endstringNeinEnd date/time in ISO 8601 format (defaults to now)
countrystringNeinFilter by country (ISO 3166-1 alpha-2 code)
timezonestringNeinIANA timezone for timeseries data (defaults to UTC)

Ausgabe

ParameterTypBeschreibung
clicksnumberTotal number of clicks
leadsnumberTotal number of leads
salesnumberTotal number of sales
saleAmountnumberTotal sale amount in cents
datajsonGrouped analytics data (timeseries, countries, devices, etc.)

On this page

Heute mit dem Aufbau beginnen
Über 100 000 Entwickler vertrauen uns.
Die SaaS-Plattform zum Aufbau von KI-Agenten und für Ihre agentische Belegschaft.
Loslegen