PAL Gate icon

PAL Gate

Consume PAL Portal API

Organization → Get Tree

AI-generated

Summary

Retrieves the hierarchical tree structure of organizations from the PAL Gate portal.

Inputs

  • returnAll — Whether to return all results or only up to a given limit. When true, enables pagination.
  • limit — Max number of results to return. Required when returnAll is false (1-100).
  • skip — Number of records to skip for pagination.
  • filter — Optional search filter string.

Output shape

A list of items, each representing an organization node in the tree.

The API endpoint is /orgs-tree. Pagination behavior depends on the returnAll and limit settings.

Examples

Example 1: Retrieve a paginated list of organizations with a custom limit.

returnAll: false, limit: 20, skip: 0, filter: ''

Example 2: Enable returnAll to fetch the entire organizations tree without manual pagination.

returnAll: true, limit: 50, skip: 0, filter: ''

Links

Discussion