List companies
Retrieve a paginated list of companies in your account. The response includes company details and pagination information.
This endpoint returns a paginated list of companies associated with your account. Each company object includes its attributes, relationships, and metadata.
Query parameters
Specifies the maximum number of items to return in a single response. The value must be between 1 and 100. If not specified, defaults to 20 items per page.
Specifies the starting point for the next page of results. The response will include items that come after (but not including) the object with this ID. To get the next page, use the ID of the last item from your previous request. The easiest way is to use the list object’s cursor field. If not provided, the API will return items from the beginning of the list.
See Expanding objects. Available options:
memberships
: Include basic membership data for each companymemberships.user
: Include both membership and associated user detailsusers
: Include all users associated with the company- You can request multiple expansions:
expand[]=memberships&expand[]=users
Response
Returns a list object containing an array of company objects in the results
property. The response includes pagination information in the next
and previous
fields.