Productive icon

Productive

Interact with the Productive API

Actions508

Organizations → Get organizations

AI-generated

Summary

Retrieve a list of organizations from Productive, either returning all available organizations or a paginated subset based on specified parameters.

Inputs

  • Return All — Boolean to choose whether to retrieve all organizations or limit results.
  • Limit — Maximum number of organizations to return when not returning all.
  • Page Number — Page number to retrieve when not returning all, defaults to 1.
  • Page Size — Number of organizations per page to return (between 1 and 200) when not returning all.

Output shape

A list of organization objects.

If Return All is true, all organizations are returned. Otherwise, results are paginated according to Page Number and Page Size parameters, limited by the Limit parameter.

Examples

Example 1: Retrieve all organizations

Set 'Return All' to true.

Example 2: Retrieve first 50 organizations

Set 'Return All' to false, 'Limit' to 50 (default).

Example 3: Retrieve page 2 with 30 organizations per page

Set 'Return All' to false, 'Page Number' to 2, 'Page Size' to 30.

Discussion