> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gestio.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Obter Grupo de Categoria por código ou listar todos

> Quando `codigo` é zero/ausente, retorna a lista completa de Grupos de Categoria. Quando informado (maior que zero), retorna apenas o Grupo com aquele código.

<Note horizontal>
  Passe o `codigo` do registro no caminho da URL. Um código inexistente retorna `400`.
</Note>


## API Specification

The full API specification for this endpoint is available in the [documentation index](https://docs.gestio.com.br/llms.txt).
