# Manufacturing facilities of the active organisation

> `GET /facilities` · Scope: `read` · operationId `listFacilities`

Any member. Ordered by name, then id.

## Query parameters

- **limit** `integer` (default: 50): Maximum number of items to return.
- **cursor** `string`: Opaque cursor from a previous page's `next_cursor`.

## Responses

### 200 (`application/json`)

One page of facilities.

- **items** `Facility[]` (required)
  - **address** `Address` (required): A postal address (ADR-022). `street` is the first address line, street and house number as written in the country; `extra_line` the second (building, floor, c/o). `region` is the administrative area where the country's format has one (`getAddressFormats`; required for IT and ES). Postal codes are checked against the country's pattern. `place_id` and `confirmed_source` say how the address was entered; they are never part of signed or public passports.
  - **created_at** `string (date-time)` (required)
  - **gln** `string`: GS1 Global Location Number, 13 digits with a valid check digit.
  - **id** `string (uuid)` (required)
  - **name** `string` (required)
  - **row_version** `integer (int64)` (required): Optimistic-concurrency version; send it back as `If-Match` when updating.
  - **updated_at** `string (date-time)` (required)
- **next_cursor** `string | null` (required): Cursor for the next page, or null when this is the last page.

### 400 (`application/problem+json`)

The request is malformed or failed validation (`validation_error`), or a token is invalid or expired (`invalid_token`).

### 401 (`application/problem+json`)

The API key is missing, unknown or revoked (`unauthenticated`).

### 403 (`application/problem+json`)

The API key may not perform this action (`forbidden`): it lacks the operation's scope, or the action needs more than a viewer's rights.

### default (`application/problem+json`)

Any other problem, e.g. `internal_error`.

## Example

```bash title="cURL"
curl -X GET "https://passport.kabin.sh/api/v1/facilities" \
  -H "Authorization: Bearer $BATTERYPASS_API_KEY"
```
