Dub · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Dub Links API

11 actions 11 updates phrasing extends openapi/dub-links-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Dub's API. It is a proposal applied on top of the contract, not a document Dub publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 11

$.info
$.paths['/links'].get
$.paths['/links'].post
$.paths['/links/count'].get
$.paths['/links/info'].get
$.paths['/links/{linkId}'].delete
$.paths['/links/{linkId}'].patch
$.paths['/links/bulk'].post
$.paths['/links/bulk'].delete
$.paths['/links/bulk'].patch
$.paths['/links/upsert'].put

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Dub Links API
  version: 1.0.0
extends: openapi/dub-links-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-19'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 10
- target: $.paths['/links'].get
  update:
    x-apievangelist-phrasing:
      intent: List short links
      effect: read
      questions:
      - Which short links exist in my workspace?
      - Can I list only the links for one domain or folder?
      - How do I include archived links in my list?
      instructions:
      - text: List all short links in my workspace.
      - text: List links for domain {domain} in folder {folderId}.
        slots:
          domain: query.domain
          folderId: query.folderId
      - text: Find links matching {search}.
        slots:
          search: query.search
      method: generated
      generated: '2026-11-19'
- target: $.paths['/links'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a short link
      effect: write
      questions:
      - How do I create a short link that tracks conversions?
      - Can I set a password or an expiry on a new short link?
      - Is it possible to create a short link for a specific affiliate program?
      instructions:
      - text: Create a short link for {url}.
        slots:
          url: requestBody.url
      - text: Create a short link for {url} on domain {domain} with key {key}.
        slots:
          url: requestBody.url
          domain: requestBody.domain
          key: requestBody.key
      - text: Create a short link for {url} that expires at {expiresAt}.
        slots:
          url: requestBody.url
          expiresAt: requestBody.expiresAt
      method: generated
      generated: '2026-11-19'
- target: $.paths['/links/count'].get
  update:
    x-apievangelist-phrasing:
      intent: Count short links
      effect: read
      questions:
      - How many short links do I have in total?
      - Can I count only the links for one tenant or folder?
      - What's the link count grouped by folder?
      instructions:
      - text: Count all my short links.
      - text: Count links for tenant {tenantId}.
        slots:
          tenantId: query.tenantId
      - text: Count links grouped by {groupBy}.
        slots:
          groupBy: query.groupBy
      method: generated
      generated: '2026-11-19'
- target: $.paths['/links/info'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a short link's details
      effect: read
      questions:
      - What destination and settings does a particular short link have?
      - Can I look up a link by its slug instead of its ID?
      instructions:
      - text: Get the details of short link {key} on {domain}.
        slots:
          key: query.key
          domain: query.domain
      - text: Show short link {linkId}.
        slots:
          linkId: query.linkId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/links/{linkId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a short link
      effect: destructive
      questions:
      - How do I delete a short link I no longer need?
      - Can I remove a single short link by its ID?
      instructions:
      - text: Delete short link {linkId}.
        slots:
          linkId: path.linkId
      - text: Remove the short link {linkId} from my workspace.
        slots:
          linkId: path.linkId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/links/{linkId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a short link
      effect: write
      questions:
      - How do I change the destination URL of an existing short link?
      - Can I archive a short link or set a new expiry on it?
      instructions:
      - text: Change the destination of short link {linkId} to {url}.
        slots:
          linkId: path.linkId
          url: requestBody.url
      - text: Archive short link {linkId}.
        slots:
          linkId: path.linkId
      - text: Set the expiry of short link {linkId} to {expiresAt}.
        slots:
          linkId: path.linkId
          expiresAt: requestBody.expiresAt
      method: generated
      generated: '2026-11-19'
- target: $.paths['/links/bulk'].post
  update:
    x-apievangelist-phrasing:
      intent: Create many short links at once
      effect: write
      questions:
      - Can I create up to 100 short links in one request?
      - What's the maximum number of links I can bulk create?
      instructions:
      - text: Bulk create these short links in one request.
      - text: Create a batch of short links for my affiliate program.
      method: generated
      generated: '2026-11-19'
- target: $.paths['/links/bulk'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete many short links at once
      effect: destructive
      questions:
      - How do I delete several short links in a single call?
      - Can I bulk remove links by their IDs?
      instructions:
      - text: Bulk delete short links {linkIds}.
        slots:
          linkIds: query.linkIds
      - text: 'Remove these links from my workspace in one request: {linkIds}.'
        slots:
          linkIds: query.linkIds
      method: generated
      generated: '2026-11-19'
- target: $.paths['/links/bulk'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update many short links with the same data
      effect: write
      questions:
      - Can I apply the same change to a batch of short links?
      - What happens if I bulk update links by their external ID?
      instructions:
      - text: Apply {data} to short links {linkIds}.
        slots:
          data: requestBody.data
          linkIds: requestBody.linkIds
      - text: Bulk update links {linkIds} with {data}.
        slots:
          linkIds: requestBody.linkIds
          data: requestBody.data
      method: generated
      generated: '2026-11-19'
- target: $.paths['/links/upsert'].put
  update:
    x-apievangelist-phrasing:
      intent: Create or update a short link by URL
      effect: write
      questions:
      - How do I create a short link only if it doesn't exist yet?
      - Can I update a short link's settings if it already points to the same URL?
      instructions:
      - text: Upsert a short link for {url}.
        slots:
          url: requestBody.url
      - text: Create or update the short link for {url} with key {key}.
        slots:
          url: requestBody.url
          key: requestBody.key
      method: generated
      generated: '2026-11-19'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/dub-links-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.