# IBGE

## Get Code

<mark style="color:blue;">`GET`</mark> `https://api.acessorh.com.br/v1/ibge/code`

Lista o código IBGE do município.

#### Query Parameters

| Name | Type   | Description                       |
| ---- | ------ | --------------------------------- |
| uf   | string | Sigla do estado a ser consultado. |
| city | string | Município a ser consultado.       |

#### Headers

| Name          | Type   | Description                                                 |
| ------------- | ------ | ----------------------------------------------------------- |
| Authorization | string | Token de acesso adquirido pela plataforma Identity (Bearer) |

{% tabs %}
{% tab title="200 Código recuperado com sucesso." %}

```
{ 
    "code": "2338990"
}
```

{% endtab %}

{% tab title="404 Código não encontrado com os parâmetros fornecidos." %}

```
"not found"
```

{% endtab %}
{% endtabs %}
