> For the complete documentation index, see [llms.txt](https://apidocs.cloudinvoice.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.cloudinvoice.net/documentacao-api/concelhos/get.md).

# Get

## Obter Concelho

## Devolve detalhes do Concelho a partir do seu :id.

<mark style="color:blue;">`GET`</mark> `https://api.cloudinvoice.net/localities/:id/`

#### Path Parameters

| Name                                 | Type    | Description      |
| ------------------------------------ | ------- | ---------------- |
| id<mark style="color:red;">\*</mark> | integer | O ID do Concelho |

{% tabs %}
{% tab title="Exemplo de Pedido" %}

```shell
curl https://api.cloudinvoice.net/localities/115/
    -H "Content-Type: application/json"
```

{% endtab %}

{% tab title="Exemplo de Resposta" %}

```json
{
    "id": 115,
    "code": "14",
    "description": "Tavira",
    "zip_code": "880",
    "district_id": 8,
    "district": {
        "code": "08",
        "description": "Faro"
    }
}
```

{% endtab %}
{% endtabs %}

Para ver exemplos de pedidos nas várias linguagens, consulte a página[ Exemplos de Pedidos.](/introducao/exemplos-de-pedidos.md)
