Dub

Dub Commissions API

The Commissions API from Dub — 3 operation(s) for commissions.

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

POST /commissions Create a commission · Create commission #
Ask an LLM
“How do I add a custom commission for a partner?”
“Can I create a clawback commission with a negative amount?”
Tell an agent
Create a commission for this partner.
Add a custom commission with a negative amount for a clawback.
GET /commissions List commissions · List all commissions #
Ask an LLM
“Which commissions have been paid out to partners?”
“Can I list commissions for one partner or group?”
Tell an agent
List commissions with status {status}.
Show commissions for partner {partnerId} in {interval}.
PATCH /commissions/{id} Update a commission's amount · Update a commission #
Ask an LLM
“How do I refund a commission?”
“Can I mark a commission as fraudulent?”
Tell an agent
Update commission {id} to amount {amount}.
Mark commission {id} as {status}.
PATCH /commissions/bulk Bulk update commissions · Bulk update commissions #
Ask an LLM
“Can I change the status of many commissions at once?”
“What is the maximum number of commissions I can update in one batch?”
Tell an agent
Set commissions {commissionIds} to status {status}.
Bulk update these commissions to {status}.

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-commissions-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-commissions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dub Commissions 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 (59 KB total) ---
# Full source: https://artifacts.apis.io/dub/openapi/dub-commissions-api-openapi.yml