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

# Lista de Municípios

> Serviço para obter lista de municípios brasileiros com códigos IBGE.

## Endpoint

```
POST https://api.tiny.com.br/api2/tabelas.municipios.php
```

## Parâmetros

| Parâmetro | Tipo   | Ocorrência  | Descrição                                 |
| --------- | ------ | ----------- | ----------------------------------------- |
| token     | string | obrigatório | Chave gerada para identificar sua empresa |
| formato   | string | obrigatório | Formato do retorno (json)                 |
| uf        | string | opcional    | Sigla do estado para filtrar municípios   |

## Descrição

Retorna lista de municípios com códigos IBGE utilizados em documentos fiscais eletrônicos.

## Exemplo de chamada

```bash theme={null}
curl -X POST https://api.tiny.com.br/api2/tabelas.municipios.php \
  -d "token=SEU_TOKEN&formato=json&uf=SP"
```
