Dub
Use Dub APIs to manage short links, domains, tags, folders, analytics, conversion tracking, partner programs, commissions, payouts, and webhooks.
Authentication
| Method | Kind | Status | Details |
|---|---|---|---|
| API Key | api_key | available | — |
Call a tool
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "DUB_APPROVE_BOUNTY_SUBMISSION", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("DUB_APPROVE_BOUNTY_SUBMISSION", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute DUB_APPROVE_BOUNTY_SUBMISSION --data '{ }'Tool catalog
Available tools
54 callable operations
Approve a bounty submissionDUB_APPROVE_BOUNTY_SUBMISSIONApprove a bounty submission. Optionally specify a custom reward amount.Connection
Approve a bounty submission. Optionally specify a custom reward amount.
Authentication
Connected account requiredTags
Approve a partner applicationDUB_APPROVE_PARTNER_APPLICATIONApprove a pending partner application to your program. The partner will be enrolled in the specified group and notified of the approval.Connection
Approve a pending partner application to your program. The partner will be enrolled in the specified group and notified of the approval.
Authentication
Connected account requiredTags
Ban a partnerDUB_BAN_PARTNERBan a partner from your program. This will disable all links and mark all commissions as canceled.Connection
Ban a partner from your program. This will disable all links and mark all commissions as canceled.
Authentication
Connected account requiredTags
Bulk create linksDUB_BULK_CREATE_LINKSBulk create up to 100 links for the authenticated workspace.Connection
Bulk create up to 100 links for the authenticated workspace.
Authentication
Connected account requiredTags
Bulk delete linksDUB_BULK_DELETE_LINKSBulk delete up to 100 links for the authenticated workspace.Connection
Bulk delete up to 100 links for the authenticated workspace.
Authentication
Connected account requiredTags
Bulk update commissionsDUB_BULK_UPDATE_COMMISSIONSBulk update up to 100 commissions with the same status.Connection
Bulk update up to 100 commissions with the same status.
Authentication
Connected account requiredTags
Bulk update linksDUB_BULK_UPDATE_LINKSBulk update up to 100 links with the same data for the authenticated workspace.Connection
Bulk update up to 100 links with the same data for the authenticated workspace.
Authentication
Connected account requiredTags
Check the availability of one or more domainsDUB_CHECK_DOMAIN_STATUSCheck if a domain name is available for purchase. You can check multiple domains at once.Connection
Check if a domain name is available for purchase. You can check multiple domains at once.
Authentication
Connected account requiredTags
Create commissionDUB_CREATE_COMMISSIONCreate one or more commissions (custom, lead or sale) for a partner. Commission creation is processed asynchronously. Use the List Commissions endpoint or webhooks to be notified when the commission is created.Connection
Create one or more commissions (custom, lead or sale) for a partner. Commission creation is processed asynchronously. Use the List Commissions endpoint or webhooks to be notified when the commission is created.
Authentication
Connected account requiredTags
Create a domainDUB_CREATE_DOMAINCreate a domain for the authenticated workspace.Connection
Create a domain for the authenticated workspace.
Authentication
Connected account requiredTags
Create a folderDUB_CREATE_FOLDERCreate a folder for the authenticated workspace.Connection
Create a folder for the authenticated workspace.
Authentication
Connected account requiredTags
Create a linkDUB_CREATE_LINKCreate a link for the authenticated workspace.Connection
Create a link for the authenticated workspace.
Authentication
Connected account requiredTags
Create or update a partnerDUB_CREATE_PARTNERCreates or updates a partner record (upsert behavior). If a partner with the same email already exists, their program enrollment will be updated with the provided tenantId. If no existing partner is found, a new partner will be created using the supplied information.Connection
Creates or updates a partner record (upsert behavior). If a partner with the same email already exists, their program enrollment will be updated with the provided tenantId. If no existing partner is found, a new partner will be created using the supplied information.
Authentication
Connected account requiredTags
Create a link for a partnerDUB_CREATE_PARTNER_LINKCreate a link for a partner that is enrolled in your program.Connection
Create a link for a partner that is enrolled in your program.
Authentication
Connected account requiredTags
Create a referrals embed tokenDUB_CREATE_REFERRALS_EMBED_TOKENCreate a referrals embed token for the given partner/tenant. The endpoint first attempts to locate an existing enrollment using the provided tenantId. If no enrollment is found, it resolves the partner by email and creates a new enrollment as needed. This results in an upsert-style flow that guarantees a valid enrollment and returns a usable embed token.Connection
Create a referrals embed token for the given partner/tenant. The endpoint first attempts to locate an existing enrollment using the provided tenantId. If no enrollment is found, it resolves the partner by email and creates a new enrollment as needed. This results in an upsert-style flow that guarantees a valid enrollment and returns a usable embed token.
Authentication
Connected account requiredTags
Create a tagDUB_CREATE_TAGCreate a tag for the authenticated workspace.Connection
Create a tag for the authenticated workspace.
Authentication
Connected account requiredTags
Deactivate a partnerDUB_DEACTIVATE_PARTNERThis will deactivate the partner from your program and disable all their active links. Their commissions and payouts will remain intact. You can reactivate them later if needed.Connection
This will deactivate the partner from your program and disable all their active links. Their commissions and payouts will remain intact. You can reactivate them later if needed.
Authentication
Connected account requiredTags
Delete a customerDUB_DELETE_CUSTOMERDelete a customer from a workspace.Connection
Delete a customer from a workspace.
Authentication
Connected account requiredTags
Delete a domainDUB_DELETE_DOMAINDelete a domain from a workspace. It cannot be undone. This will also delete all the links associated with the domain.Connection
Delete a domain from a workspace. It cannot be undone. This will also delete all the links associated with the domain.
Authentication
Connected account requiredTags
Delete a folderDUB_DELETE_FOLDERDelete a folder from the workspace. All existing links will still work, but they will no longer be associated with this folder.Connection
Delete a folder from the workspace. All existing links will still work, but they will no longer be associated with this folder.
Authentication
Connected account requiredTags
Delete a linkDUB_DELETE_LINKDelete a link for the authenticated workspace.Connection
Delete a link for the authenticated workspace.
Authentication
Connected account requiredTags
Delete a tagDUB_DELETE_TAGDelete a tag from the workspace. All existing links will still work, but they will no longer be associated with this tag.Connection
Delete a tag from the workspace. All existing links will still work, but they will no longer be associated with this tag.
Authentication
Connected account requiredTags
Retrieve a customerDUB_GET_CUSTOMERRetrieve a customer by ID for the authenticated workspace. To retrieve a customer by external ID, prefix the ID with `ext_`.Connection
Retrieve a customer by ID for the authenticated workspace. To retrieve a customer by external ID, prefix the ID with `ext_`.
Authentication
Connected account requiredTags
List all customersDUB_GET_CUSTOMERSRetrieve a paginated list of customers for the authenticated workspace.Connection
Retrieve a paginated list of customers for the authenticated workspace.
Authentication
Connected account requiredTags
Retrieve a linkDUB_GET_LINK_INFORetrieve the info for a link.Connection
Retrieve the info for a link.
Authentication
Connected account requiredTags
List all linksDUB_GET_LINKSRetrieve a paginated list of links for the authenticated workspace.Connection
Retrieve a paginated list of links for the authenticated workspace.
Authentication
Connected account requiredTags
Retrieve links countDUB_GET_LINKS_COUNTRetrieve the number of links for the authenticated workspace.Connection
Retrieve the number of links for the authenticated workspace.
Authentication
Connected account requiredTags
Retrieve a QR codeDUB_GET_QRCODERetrieve a QR code for a link.Connection
Retrieve a QR code for a link.
Authentication
Connected account requiredTags
List all tagsDUB_GET_TAGSRetrieve a paginated list of tags for the authenticated workspace.Connection
Retrieve a paginated list of tags for the authenticated workspace.
Authentication
Connected account requiredTags
List bounty submissionsDUB_LIST_BOUNTY_SUBMISSIONSList all submissions for a specific bounty in your partner program.Connection
List all submissions for a specific bounty in your partner program.
Authentication
Connected account requiredTags
List all commissionsDUB_LIST_COMMISSIONSRetrieve a paginated list of commissions for your partner program.Connection
Retrieve a paginated list of commissions for your partner program.
Authentication
Connected account requiredTags
List all domainsDUB_LIST_DOMAINSRetrieve a paginated list of domains for the authenticated workspace.Connection
Retrieve a paginated list of domains for the authenticated workspace.
Authentication
Connected account requiredTags
List all eventsDUB_LIST_EVENTSRetrieve a paginated list of events for the authenticated workspace.Connection
Retrieve a paginated list of events for the authenticated workspace.
Authentication
Connected account requiredTags
List all foldersDUB_LIST_FOLDERSRetrieve a paginated list of folders for the authenticated workspace.Connection
Retrieve a paginated list of folders for the authenticated workspace.
Authentication
Connected account requiredTags
List all pending partner applicationsDUB_LIST_PARTNER_APPLICATIONSRetrieve a paginated list of pending applications for your partner program.Connection
Retrieve a paginated list of pending applications for your partner program.
Authentication
Connected account requiredTags
List all partnersDUB_LIST_PARTNERSList all partners for a partner program.Connection
List all partners for a partner program.
Authentication
Connected account requiredTags
List all payoutsDUB_LIST_PAYOUTSRetrieve a paginated list of payouts for your partner program.Connection
Retrieve a paginated list of payouts for your partner program.
Authentication
Connected account requiredTags
Register a domainDUB_REGISTER_DOMAINRegister a domain for the authenticated workspace. Only available for Enterprise Plans.Connection
Register a domain for the authenticated workspace. Only available for Enterprise Plans.
Authentication
Connected account requiredTags
Reject a bounty submissionDUB_REJECT_BOUNTY_SUBMISSIONReject a bounty submission with a specified reason and optional note.Connection
Reject a bounty submission with a specified reason and optional note.
Authentication
Connected account requiredTags
Reject a partner applicationDUB_REJECT_PARTNER_APPLICATIONReject a pending partner application to your program. The partner will be notified via email that their application was not approved.Connection
Reject a pending partner application to your program. The partner will be notified via email that their application was not approved.
Authentication
Connected account requiredTags
Retrieve analytics for a link, a domain, or the authenticated workspace.DUB_RETRIEVE_ANALYTICSRetrieve analytics for a link, a domain, or the authenticated workspace. The response type depends on the `event` and `type` query parameters.Connection
Retrieve analytics for a link, a domain, or the authenticated workspace. The response type depends on the `event` and `type` query parameters.
Authentication
Connected account requiredTags
Retrieve analytics for a partnerDUB_RETRIEVE_PARTNER_ANALYTICSRetrieve analytics for a partner within a program. The response type vary based on the `groupBy` query parameter.Connection
Retrieve analytics for a partner within a program. The response type vary based on the `groupBy` query parameter.
Authentication
Connected account requiredTags
Retrieve a partner's links.DUB_RETRIEVE_PARTNER_LINKSRetrieve a partner's links by their partner ID or tenant ID.Connection
Retrieve a partner's links by their partner ID or tenant ID.
Authentication
Connected account requiredTags
Track a leadDUB_TRACK_LEADTrack a lead for a short link.Connection
Track a lead for a short link.
Authentication
Connected account requiredTags
Track a deep link open eventDUB_TRACK_OPENThis endpoint is used to track when a user opens your app via a Dub-powered deep link (for both iOS and Android).Connection
This endpoint is used to track when a user opens your app via a Dub-powered deep link (for both iOS and Android).
Authentication
Connected account requiredTags
Track a saleDUB_TRACK_SALETrack a sale for a short link.Connection
Track a sale for a short link.
Authentication
Connected account requiredTags
Update a commissionDUB_UPDATE_COMMISSIONUpdate an existing commission amount. This is useful for handling refunds (partial or full) or fraudulent sales.Connection
Update an existing commission amount. This is useful for handling refunds (partial or full) or fraudulent sales.
Authentication
Connected account requiredTags
Update a customerDUB_UPDATE_CUSTOMERUpdate a customer for the authenticated workspace.Connection
Update a customer for the authenticated workspace.
Authentication
Connected account requiredTags
Update a domainDUB_UPDATE_DOMAINUpdate a domain for the authenticated workspace.Connection
Update a domain for the authenticated workspace.
Authentication
Connected account requiredTags
Update a folderDUB_UPDATE_FOLDERUpdate a folder in the workspace.Connection
Update a folder in the workspace.
Authentication
Connected account requiredTags
Update a linkDUB_UPDATE_LINKUpdate a link for the authenticated workspace. If there's no change, returns it as it is.Connection
Update a link for the authenticated workspace. If there's no change, returns it as it is.
Authentication
Connected account requiredTags
Update a tagDUB_UPDATE_TAGUpdate a tag in the workspace.Connection
Update a tag in the workspace.
Authentication
Connected account requiredTags
Upsert a linkDUB_UPSERT_LINKUpsert a link for the authenticated workspace by its URL. If a link with the same URL already exists, return it (or update it if there are any changes). Otherwise, a new link will be created.Connection
Upsert a link for the authenticated workspace by its URL. If a link with the same URL already exists, return it (or update it if there are any changes). Otherwise, a new link will be created.
Authentication
Connected account requiredTags
Upsert a link for a partnerDUB_UPSERT_PARTNER_LINKUpsert a link for a partner that is enrolled in your program. If a link with the same URL already exists, return it (or update it if there are any changes). Otherwise, a new link will be created.Connection
Upsert a link for a partner that is enrolled in your program. If a link with the same URL already exists, return it (or update it if there are any changes). Otherwise, a new link will be created.
Authentication
Connected account requiredTags