Productive icon

Productive

Interact with the Productive API

Actions508

Approval Policies → Get approval policies

AI-generated

Summary

Retrieve a list of approval policies from the Productive API, optionally filtering and paginating the results.

Inputs

  • Return All — Choose whether to return all approval policies or limit to a subset.
  • Limit — Maximum number of approval policies to return when not returning all (default 50).
  • Page Number — Page number of results to retrieve when not returning all (default 1).
  • Page Size — Number of approval policies per page when paginating (default 30, max 200).
  • Filter Query String — Specify a literal filter query string to override other filters using Productive API syntax.
  • Filters — Define one or more filters on approval policy fields: Custom, ID, Status, or Type ID; selecting an operation such as equals, contains, greater than, etc., and a value to filter by. Ignored if Filter Query String is provided.

Output shape

a list of approval policy objects

Returns either all approval policies or a paginated subset based on input. Filters can refine results. Errors are returned per item if configured to continue on fail.

Examples

Example 1: Get all approval policies without filters

Set 'Return All' to true to retrieve all approval policies.

Example 2: Get a limited page of approval policies filtered by status

Set 'Return All' to false, specify 'Limit', 'Page Number', 'Page Size', and apply filters on 'Status' with appropriate operation and value.

Discussion