---
title: "Get unit attribute list"
method: GET
path: "/inventory/v0-nsfw/unit-attributes"
tags: ["UnitAttribute"]
---

# Get unit attribute list

`GET /inventory/v0-nsfw/unit-attributes`

## Request

- Base URL: `https://api.apaleo.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.apaleo.com/inventory/v0-nsfw/unit-attributes`
- Auth: OAuth 2
  - Implicit: `https://identity.apaleo.com/connect/authorize`
  - Scopes: `unitattributes.read`, `setup.read`, `setup.manage`, `admin`

Get unit attribute list<br>You must have at least one of these scopes: 'unitattributes.read, setup.read, setup.manage'.

## Query parameters

- `pageNumber` integer
- `pageSize` integer

## Response `200`

Returns unit attribute list for given account

- UnitAttributeDefinitionListModel
  - `unitAttributes` UnitAttributeDefinitionModel[], required: List of unit attributes
    - `id` string, required: The id of the unit attribute
    - `name` string, required: The name of the unit attribute
    - `description` string, nullable: The description of the unit attribute
  - `count` integer, required: Total count of items

## Other responses

- `204`: No unit attributes present for given account
- `400`: Bad request.
- `401`: You are unauthorized.
- `403`: Forbidden.
- `404`: The Request-URI could not be found.
- `422`: Validation errors in the request body or query params.
- `499`: Client closed request.
- `500`: An unexpected error occurred.
- `503`: The server is currently unavailable. Please try later.

---

[API](https://skmtc.dev/apaleo/apis/apaleo-inventory-api-not-safe-for-work.md) - [All operations](https://skmtc.dev/apaleo/apis/apaleo-inventory-api-not-safe-for-work/llms.txt) - [OpenAPI document](https://skmtc.dev/apaleo/apis/apaleo-inventory-api-not-safe-for-work/revisions/64434c68f85d?raw)
