Chatlabs icon

Chatlabs

Interaja com a API do Chatlabs

Setor → Listar

AI-generated

Summary

List setors (departments) with optional pagination and filtering by name.

Inputs

  • Por Página — Number of setors (departments) to return per page, with a minimum of 1 and a maximum of 100. Defaults to 10.
  • Cursor — Optional pagination cursor for fetching subsequent pages.
  • Campo de Pesquisa — Optional field to filter the setors by; currently supports filtering by 'Nome' (name) or no filter.
  • Valor da Pesquisa — Search value to filter the setors when filtering by 'Nome' is selected.

Output shape

a JSON object representing the list of setors (departments), typically paginated with possible inclusion of a cursor for next pages

The response includes setors according to the specified 'Por Página' parameter and may use 'Cursor' for pagination. If 'Campo de Pesquisa' and 'Valor da Pesquisa' are set to 'Nome' and a search term, the results filter setors by name.

Links

Discussion