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
application/json: {"error": {"code": "bad_request", "message": "The requested resource was not found.", "doc_url": "https://dub.co/docs/api-reference/errors#bad-request"}}
|`id`|*str*|:heavy_check_mark:| The unique ID of the short link. |
9
+
|`domain`|*str*|:heavy_check_mark:| The domain of the short link. If not provided, the primary domain for the workspace will be used (or `dub.sh` if the workspace has no domains). |
10
+
|`key`|*str*|:heavy_check_mark:| The short link slug. If not provided, a random 7-character slug will be generated. |
11
+
|`short_link`|*str*|:heavy_check_mark:| The full URL of the short link, including the https protocol (e.g. `https://dub.sh/try`). |
12
+
|`url`|*str*|:heavy_check_mark:| The destination URL of the short link. |
13
+
|`partner_id`|*Nullable[str]*|:heavy_check_mark:| The ID of the partner the short link is associated with. |
14
+
|`program_id`|*Nullable[str]*|:heavy_check_mark:| The ID of the program the short link is associated with. |
15
+
|`tenant_id`|*Nullable[str]*|:heavy_check_mark:| The ID of the tenant that created the link inside your system. If set, it can be used to fetch all links for a tenant. |
16
+
|`external_id`|*Nullable[str]*|:heavy_check_mark:| The ID of the link in your database. If set, it can be used to identify the link in future API requests (must be prefixed with 'ext_' when passed as a query parameter). This key is unique across your workspace. |
0 commit comments