---
title: "Get OEREBlex documents for a municipality (FSO number)"
description: "Returns OEREBlex legal documents associated with a Swiss municipality, identified by its Federal Statistical Office (FSO) number."
---

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

Path: RES API (public) › Parcel

`GET /res_api/fso-docs/{fsoNum}`

Returns OEREBlex legal documents associated with a Swiss municipality, identified by its Federal Statistical Office (FSO) number.

## Authentication

- `ResApiToken`, apiKey, in header, header `token`

## Path parameters

- `fsoNum` (`getFsoDocs.path.fsoNum`; string, required): Municipality FSO number.

## Query parameters

- `limit` (`getFsoDocs.query.limit`; integer, optional): Maximum number of documents to return.
  - min 1; max 1000; default `10`

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://res.aireon.ch/res_api/fso-docs/<fsoNum>' \
  --header 'token: <token>'
```

### TypeScript

```typescript
const url = 'https://res.aireon.ch/res_api/fso-docs/<fsoNum>';
const options = {method: 'GET', headers: {token: '<token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://res.aireon.ch/res_api/fso-docs/<fsoNum>"

headers = {"token": "<token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

OEREBlex documents.

#### Example

```json
{}
```

### 401

Authentication missing or invalid.

#### Example

```json
{
  "error": "string",
  "message": "string"
}
```

- `error` (`getFsoDocs.response.401.error`; string, required): Human-readable error description.
- `message` (`getFsoDocs.response.401.message`; string, optional): Optional underlying error message.

### 500

Upstream OEREBlex request failed.

#### Example

```text
string
```


Source: https://docs.aireon.ch/res/get-fso-docs/index.md
