Skip to content
Maua.Culturewire

Dub

Short links with analytics: links, domains, tags and clicks

MarketingCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • Workspace API key (dub_…)SecretRequired

    Where to find them

    1. In Dub open “Settings” → “API Keys” of the workspace and create a key with the permissions you need.
    2. Copy it (dub_…).

Tools (1)

  • Dub API requestDUB_SEND_REQUEST

    Authenticated call to the Dub API (https://api.dub.co). Any endpoint of the API is allowed. Examples: POST /links {"url": "https://…", "domain": "dub.sh", "key": "deal"}, GET /links?pageSize=20, GET /links/info?domain=…&key=…, PATCH /links/{linkId} {…}, GET /analytics?event=clicks&interval=30d&groupBy=timeseries, GET /analytics?groupBy=countries&linkId=…, GET /domains, GET /tags.

    Required scopes

    No scopes required

    Input

    Dub API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.