> For the complete documentation index, see [llms.txt](https://apidocs.intserv.se/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.intserv.se/api-endpoints/accesslevels-list.md).

# /accesslevels/list

<img src="/files/-M5VUbC0pXukjxeyjAz2" alt="" data-size="line">**`https://api.intserv.se/v1/accesslevels/list`**

Retrieves all access levels as configured in each access control system that the integrator has access to.

> Authentication Type: Integration API Key

### :envelope\_with\_arrow: Request Body Parameters

There is no parameters for this request.

### Responses

#### :white\_check\_mark:200 OK Response Body Parameters

{% tabs %}
{% tab title="Sample Response" %}

```
{
    "levels": 
    [ 
        { 
            "id": "d344c359-9fd9-48ed-bb02-7426a831dfac",
            "name": "access-level-name", 
            "system_id": "abc123-001" 
        },
        { 
            "id": "e287a335-d082-4313-85ea-32f4291134ce",
            "name": "another level", 
            "system_id": "abc123-001" 
        }
    ]
}
```

{% endtab %}

{% tab title="Model Schema" %}

```
AccessLevelResponse {
    levels (array[AccessLevel])
}

AccessLevel {
    id (string),
    name (string),
    system_id (string)
}
```

{% endtab %}
{% endtabs %}

#### AccessLevelResponse Model

| Field    | Type                | Description             |
| -------- | ------------------- | ----------------------- |
| `levels` | array\[AccessLevel] | Array of access levels. |

#### AccessLevel Model

| Field       | Type   | Description                                                          |
| ----------- | ------ | -------------------------------------------------------------------- |
| `id`        | string | The id of the access level.                                          |
| `name`      | string | The name of the access level.                                        |
| `system_id` | string | Identifier of the access control system the access level belongs to. |
