Skip to main content
GET
List all commissions
This endpoint requires an API key with the commissions.read scope. Commissions from Dub’s network program aren’t included.

Authorizations

Authorization
string
header
required

Partner API key

Scopes

commissions.read

Read your commissions

Headers

Dub-Version
enum<string>

The API version to use. Defaults to the version your API key was created with.

Available options:
mozart

Query Parameters

pageSize
integer
default:50

The number of items per page.

Required range: 1 <= x <= 100
Example:

50

startingAfter
string

The ID of the last item on the current page. Returns the page after it.

endingBefore
string

The ID of the first item on the current page. Returns the page before it.

programId
string

The ID or slug of the program to filter commissions by. If not provided, commissions across all programs are returned.

status
enum<string>

Filter the list of commissions by status.

Available options:
pending,
processed,
paid,
refunded,
duplicate,
fraud,
canceled,
hold
type
enum<string>

Filter the list of commissions by type.

Available options:
click,
lead,
sale,
referral,
custom
payoutId
string

Filter the list of commissions by the associated payout.

Filter the list of commissions by the associated link.

customerId
string

Filter the list of commissions by the associated customer.

interval
enum<string>

The date range to return commissions from. Ignored when start is provided.

Available options:
24h,
7d,
30d,
90d,
1y,
mtd,
qtd,
ytd,
all
start
string

Only return commissions created at or after this date (ISO 8601). Rounded to the start of the day when timezone is provided.

end
string

Only return commissions created at or before this date (ISO 8601). Rounded to the end of the day when timezone is provided.

timezone
string

The IANA time zone used to resolve interval, start and end.

sortBy
enum<string>
default:createdAt

The field to sort the list of commissions by. saleAmount requires a programId for a program that shares revenue with you.

Available options:
createdAt,
earnings,
saleAmount
sortOrder
enum<string>
default:desc

The sort order for the list of commissions.

Available options:
asc,
desc

Response

The list of commissions.

data
object[]
required
hasMore
boolean
required

Whether there are more commissions in the direction you're paging.