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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
