You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 834e8e9
Browse filesBrowse the repository at this point in the historyBrowse files
feat(credentials): wave 1b — v3 credential-only versions and Flint
Blocks that already had a v2 get a credential-only v3 that spreads it:
cursor, dub, extend, fireflies, intercom, pulse, quiver, reducto. The v2
becomes legacy and every older version's replacedBy points at v3. Extend,
Pulse, and Reducto's v2 builders trimmed the key inline, so each is
extracted into a builder that takes the key as an argument; the legacy v2
passes the trimmed key exactly as before.
Flint gets flint_v2 with a dedicated validator: its API has no read
endpoint, so an unknown task id answering 404 proves the key.
tokenCheckValidator gains rejectsKey for vendors that answer a bad key
with a server error (Fireflies returns 500 auth_failed), so the user is
told the key is wrong rather than the vendor down.
Copy file name to clipboardExpand all lines: apps/docs/content/docs/integrations/dub.mdx
+1-18Lines changed: 1 addition & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Dub
3
3
description: Link management with Dub
4
4
integration:
5
-
type: "dub_v2"
5
+
type: "dub_v3"
6
6
color: "#181C1E"
7
7
---
8
8
@@ -31,7 +31,6 @@ Create a new short link with Dub. Supports custom domains, slugs, UTM parameters
31
31
32
32
| Parameter | Type | Required | Description |
33
33
| --------- | ---- | -------- | ----------- |
34
-
| `apiKey` | string | Yes | Dub API key |
35
34
| `url` | string | Yes | The destination URL of the short link |
36
35
| `domain` | string | No | Custom domain for the short link \(defaults to dub.sh\) |
37
36
| `key` | string | No | Custom slug for the short link \(randomly generated if not provided\) |
@@ -97,7 +96,6 @@ Create or update a short link by its URL. If a link with the same URL already ex
97
96
98
97
| Parameter | Type | Required | Description |
99
98
| --------- | ---- | -------- | ----------- |
100
-
| `apiKey` | string | Yes | Dub API key |
101
99
| `url` | string | Yes | The destination URL of the short link |
102
100
| `domain` | string | No | Custom domain for the short link \(defaults to dub.sh\) |
103
101
| `key` | string | No | Custom slug for the short link \(randomly generated if not provided\) |
@@ -163,7 +161,6 @@ Retrieve information about a short link by its link ID, external ID, or domain +
163
161
164
162
| Parameter | Type | Required | Description |
165
163
| --------- | ---- | -------- | ----------- |
166
-
| `apiKey` | string | Yes | Dub API key |
167
164
| `linkId` | string | No | The unique ID of the short link |
168
165
| `externalId` | string | No | The external ID of the link in your database |
169
166
| `domain` | string | No | The domain of the link \(use with key\) |
@@ -213,7 +210,6 @@ Update an existing short link's destination URL, domain, slug, link-preview titl
213
210
214
211
| Parameter | Type | Required | Description |
215
212
| --------- | ---- | -------- | ----------- |
216
-
| `apiKey` | string | Yes | Dub API key |
217
213
| `linkId` | string | Yes | The link ID or external ID prefixed with ext_ |
218
214
| `url` | string | No | New destination URL |
219
215
| `domain` | string | No | New custom domain |
@@ -280,7 +276,6 @@ Delete a short link by its link ID or external ID (prefixed with ext_).
280
276
281
277
| Parameter | Type | Required | Description |
282
278
| --------- | ---- | -------- | ----------- |
283
-
| `apiKey` | string | Yes | Dub API key |
284
279
| `linkId` | string | Yes | The link ID or external ID prefixed with ext_ |
285
280
286
281
#### Output
@@ -301,7 +296,6 @@ Retrieve a paginated list of short links for the authenticated workspace. Suppor
301
296
302
297
| Parameter | Type | Required | Description |
303
298
| --------- | ---- | -------- | ----------- |
304
-
| `apiKey` | string | Yes | Dub API key |
305
299
| `domain` | string | No | Filter by domain |
306
300
| `search` | string | No | Search query matched against the short link slug and destination URL |
307
301
| `tagIds` | string | No | Comma-separated tag IDs to filter by |
@@ -332,7 +326,6 @@ Retrieve the number of short links for the authenticated workspace, optionally f
332
326
333
327
| Parameter | Type | Required | Description |
334
328
| --------- | ---- | -------- | ----------- |
335
-
| `apiKey` | string | Yes | Dub API key |
336
329
| `domain` | string | No | Filter by domain |
337
330
| `search` | string | No | Search query matched against the short link slug and destination URL |
338
331
| `tagIds` | string | No | Comma-separated tag IDs to filter by |
@@ -360,7 +353,6 @@ Create up to 100 short links in a single request. Returns the created links alon
360
353
361
354
| Parameter | Type | Required | Description |
362
355
| --------- | ---- | -------- | ----------- |
363
-
| `apiKey` | string | Yes | Dub API key |
364
356
| `links` | json | Yes | JSON array of link objects to create. Each object requires a "url" and may include domain, key, tagIds, and other link fields \(max 100\). |
365
357
366
358
#### Output
@@ -383,7 +375,6 @@ Apply the same set of field updates to up to 100 links at once, selected by link
383
375
384
376
| Parameter | Type | Required | Description |
385
377
| --------- | ---- | -------- | ----------- |
386
-
| `apiKey` | string | Yes | Dub API key |
387
378
| `linkIds` | string | No | Comma-separated link IDs to update \(max 100, takes precedence over externalIds\) |
388
379
| `externalIds` | string | No | Comma-separated external IDs to update \(max 100\) |
389
380
| `data` | json | Yes | JSON object of fields to apply to every selected link \(e.g. \{ "archived": true, "tagIds": \["..."\] \}\) |
@@ -407,7 +398,6 @@ Delete up to 100 short links in a single request by their link IDs. Non-existing
407
398
408
399
| Parameter | Type | Required | Description |
409
400
| --------- | ---- | -------- | ----------- |
410
-
| `apiKey` | string | Yes | Dub API key |
411
401
| `linkIds` | string | Yes | Comma-separated link IDs to delete \(max 100\) |
412
402
413
403
#### Output
@@ -428,7 +418,6 @@ Retrieve analytics for links including clicks, leads, and sales. Supports filter
428
418
429
419
| Parameter | Type | Required | Description |
430
420
| --------- | ---- | -------- | ----------- |
431
-
| `apiKey` | string | Yes | Dub API key |
432
421
| `event` | string | No | Event type: clicks \(default\), leads, sales, or composite |
0 commit comments