# /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. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://apidocs.intserv.se/api-endpoints/accesslevels-list.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
