Dub API guide
dub.co
Use Dub to review workspace short links, find dormant links, and check click metrics and partner performance.
Actions and inputs
links listList short links in your workspace.
links staleFind archived, expired, or inactive workspace links.
Inputs inactivity window in days
dub-analytics retrieve-analyticsRetrieve analytics for a short link, domain, or your workspace.
Inputs Scope of the report and optional event or report type
partners retrieve-analyticsGet performance metrics for a partner in a program.
Inputs Partner and program, optional grouping
Dub workspace short link
- Create
Create a short link in your Dub workspace.
Inputs destination URL, optional domain and slug
- Read
View a workspace short link's destination and click count.
Inputs link ID
- Update
Change the destination of your workspace short link.
Inputs link ID, new destination URL
- Delete
Delete a short link from your Dub workspace.
Inputs link ID