Note
Events endpoints require a Business plan subscription or higher.
Events endpoints require a Business plan subscription or higher.
Default: "clicks"
clicksleadssales-). Examples: dub.co, dub.co,google.com, -spam.com.domain of the short link to fetch analytics for a specific short link.-). Examples: link_123, link_123,link_456, -link_789.-). Examples: tenant_123, tenant_123,tenant_456, -tenant_789.-). Examples: tag_123, tag_123,tag_456, -tag_789.-). Examples: folder_123, folder_123,folder_456, -folder_789. If not provided, return analytics for all links.-). Examples: ptag_123, ptag_123,ptag_456, -ptag_789.-). Examples: grp_123, grp_123,grp_456, -grp_789.-). Examples: pn_123, pn_123,pn_456, -pn_789.24h7d30d90d1ymtdqtdytdallinterval.start, takes precedence over interval.Default: "UTC"
-). Examples: US, US,BR,FR, -US.-). Examples: New York, New York,London, -New York.-). Examples: NY, NY,CA, -NY.-). Examples: NA, NA,EU, -AS.-). Examples: Desktop, Mobile,Tablet, -Mobile.-). Examples: Chrome, Chrome,Firefox,Safari, -IE.-). Examples: Windows, Mac,Windows,Linux, -Windows.-). Examples: qr, qr,link, -qr. If undefined, returns all trigger types.-). Examples: Sign up, Sign up,Purchase, -Sign up.-). Examples: google.com, google.com,twitter.com, -facebook.com.-). Examples: https://google.com, https://google.com,https://twitter.com, -https://spam.com.-). Examples: https://example.com, https://example.com,https://other.com, -https://spam.com.-). Examples: google, google,twitter, -spam.-). Examples: cpc, cpc,social, -email.-). Examples: summer_sale, summer_sale,winter_sale, -old_campaign.-).-).newrecurringmetadata['key']:'value'Length: max 10000
tagId instead. The tag IDs to retrieve analytics for.trigger field instead. Filter for QR code scans. If true, filter for QR codes only. If false, filter for links only. If undefined, return both.1.Default: 1
Range: true < x <= 9007199254740991
timestamp.Default: "timestamp"
timestampclickdub.sh if the workspace has no domains).proxy is true.proxy is true.proxy is true.proxy is true. Learn more: https://d.to/og{[COUNTRY]: https://example.com }. See https://d.to/geo for more information.https://dub.sh/try).https://api.dub.co/qr?url=https://dub.sh/try).Items: 2–4
Default: 0
Default: 0
tags instead. The unique ID of the tag assigned to the short link.workspaceId instead. The project ID of the short link.click.id instead.link.id instead.link.domain instead.link.key instead.click.url instead.click.continent instead.click.country instead.click.city instead.click.device instead.click.browser instead.click.os instead.click.qr instead.click.ip instead.leaddub.sh if the workspace has no domains).proxy is true.proxy is true.proxy is true.proxy is true. Learn more: https://d.to/og{[COUNTRY]: https://example.com }. See https://d.to/geo for more information.https://dub.sh/try).https://api.dub.co/qr?url=https://dub.sh/try).Items: 2–4
Default: 0
Default: 0
tags instead. The unique ID of the tag assigned to the short link.workspaceId instead. The project ID of the short link.id on Dub (obtained via /customers endpoint) or their externalId (unique ID within your system, prefixed with ext_, e.g. ext_123).click.id instead.link.id instead.link.domain instead.link.key instead.click.url instead.click.continent instead.click.country instead.click.city instead.click.device instead.click.browser instead.click.os instead.click.qr instead.click.ip instead.sale1580 JPY). Learn more: https://d.to/currencyRange: 0–9007199254740991
Default: null
Default: "custom"
stripeshopifypolarpaddleapplerevenuecatlemonsqueezydubcustomdub.sh if the workspace has no domains).proxy is true.proxy is true.proxy is true.proxy is true. Learn more: https://d.to/og{[COUNTRY]: https://example.com }. See https://d.to/geo for more information.https://dub.sh/try).https://api.dub.co/qr?url=https://dub.sh/try).Items: 2–4
Default: 0
Default: 0
tags instead. The unique ID of the tag assigned to the short link.workspaceId instead. The project ID of the short link.id on Dub (obtained via /customers endpoint) or their externalId (unique ID within your system, prefixed with ext_, e.g. ext_123).sale.amount instead.sale.invoiceId instead.sale.paymentProcessor instead.click.id instead.link.id instead.link.domain instead.link.key instead.click.url instead.click.continent instead.click.country instead.click.city instead.click.device instead.click.browser instead.click.os instead.click.qr instead.click.ip instead.