Dub

Dub Customers API

The Customers API from Dub — 2 operation(s) for customers.

GitHub OpenAPI

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /customers List customers · List all customers #
Ask an LLM
“Which customers have signed up for my affiliate program?”
“Can I find a customer by their external ID?”
Tell an agent
List all customers in my workspace.
Find the customer with external ID {externalId}.
GET /customers/{id} Retrieve a customer · Retrieve a customer #
Ask an LLM
“How do I look up a customer by their external ID?”
“Can I see the partner and discount linked to a customer?”
Tell an agent
Get customer {id}.
Show customer {id} with expanded fields.
PATCH /customers/{id} Update a customer · Update a customer #
Ask an LLM
“How do I change a customer's email or name?”
“Can I mark a customer's subscription as canceled?”
Tell an agent
Set customer {id}'s email to {email}.
Rename customer {id} to {name}.
DELETE /customers/{id} Delete a customer · Delete a customer #
Ask an LLM
“Can I remove a customer from my workspace?”
“What happens to a customer's conversions when I delete them?”
Tell an agent destructive · confirm first
Delete customer {id}.
Remove the customer with external ID {id}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/dub:dub-customers-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

dub-customers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dub Customers API
  description: Dub is the modern link attribution platform for short links, conversion tracking, and affiliate programs.
  version: 0.0.1
  contact:
    name: Dub Support
    email: support@dub.co
    url: https://dub.co/support
  license:
    name: AGPL-3.0 license
    url: https://github.com/dubinc/dub/blob/main/LICENSE.md
servers:
- url: https://api.dub.co
  description: Production API
tags:


# --- truncated at 32 KB (45 KB total) ---
# Full source: https://artifacts.apis.io/dub/openapi/dub-customers-api-openapi.yml