Productive icon

Productive

Interact with the Productive API

Actions508

Team Memberships → Get team memberships

AI-generated

Summary

Retrieve one or more team membership records from Productive, optionally filtered and paginated.

Inputs

  • Return All — Boolean to decide whether to return all available results or limit the number returned.
  • Limit — Maximum number of results to return when 'Return All' is false.
  • Page Number — Page number to retrieve, starting at 1, applicable when pagination is used.
  • Page Size — Number of items per page, with a default of 30 and a max of 200, applicable when pagination is used.
  • Filter Query String — Raw Productive API filter query string; overrides other filters if provided.
  • Filters — Structured filters to apply on fields such as ID, Person ID, or Team ID; ignored if a filter query string is given.

Output shape

A list of team membership records matching the specified filters and pagination parameters.

If 'Return All' is true, pagination parameters are ignored and all matching records are returned. If filters are provided both as structured fields and a query string, only the query string is used. Errors on individual items can be returned as error objects if 'Continue On Fail' is enabled.

Examples

Example 1: Get up to 50 team memberships for a specific team ID with pagination.

Set Return All to false, Limit to 50, specify Page Number and Page Size, and add a filter for Team ID equals the desired ID.

Example 2: Get all team memberships without filtering.

Set Return All to true to ignore pagination and filters, returning all records.

Discussion