Skip to main content
GET
List all programs
This endpoint requires an API key with the programs.read scope. Dub’s network program isn’t included.
Use a program’s id as the programId filter on GET /commissions, GET /payouts, and GET /customers. If a program hides revenue from you, its totalSaleAmount is null.

Authorizations

Authorization
string
header
required

Partner API key

Scopes

programs.read

Read your enrolled programs (and programs in the marketplace)

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.

status
string

Filter the list of programs by enrollment status. Pass one status or a comma-separated list, for example approved,invited. One of: pending, approved, rejected, invited, declined, deactivated, banned, archived.

Search programs by name.

Response

The list of programs you're enrolled in.

data
object[]
required
hasMore
boolean
required

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