Dub icon

Dub

Interact with the Dub API

Customer → Get Many

AI-generated

Summary

Gets a list of customers from the Dub API with optional limit and pagination.

Inputs

  • returnAll — Whether to return all results or only up to a given limit
  • limit — Max number of results to return
  • page — Page number for pagination

Output shape

Array of customer objects

When returnAll is true (default), all customers are returned. When false, limit and page constrain the result set, with limit capped at 100 and page 1-indexed.

Examples

Example 1: Return up to 20 customers on page 2

returnAll: false, limit: 20, page: 2

Links

Discussion