Productive icon

Productive

Interact with the Productive API

Actions508

Memberships → Get memberships

AI-generated

Summary

Retrieve memberships from Productive, supporting pagination, filtering by specified fields or a custom filter query string, and optionally returning all results or a limited subset.

Inputs

  • Return All — Boolean to decide whether to return all memberships or limit the results.
  • Limit — Maximum number of memberships to return when not returning all.
  • Page Number — The page number of results to retrieve, starting at 1.
  • Page Size — The number of memberships to return per page, between 1 and 200.
  • Filter Query String — Literal filter query string that overrides all other filter options if provided.
  • Filters — One or more field-based filters (such as Person ID, Project ID, etc.) with operations like equals, contains, greater than, etc., applied if no filter query string is set.

Output shape

an array of membership records in JSON format

If 'Return All' is true, all matching memberships are returned; otherwise, results respect pagination settings. Filters apply if a filter query string is not provided. Errors for individual items can be included if 'Continue On Fail' is enabled.

Examples

Example 1: Get first page of memberships with page size 30

Return All: false, Page Number: 1, Page Size: 30

Example 2: Get all memberships filtered by a specific Person ID

Return All: true, Filters: Person ID equals

Discussion