---
title: "Get list of attribute options"
method: GET
path: "/api/rest/v1/attributes/{attribute_code}/options"
tags: ["Attribute option"]
---

# Get list of attribute options

`GET /api/rest/v1/attributes/{attribute_code}/options`

This endpoint allows you to get a list of attribute options. Attribute options are paginated and sorted by code.

## Path parameters

- `attribute_code` string, required

## Query parameters

- `page` integer
- `limit` integer
- `with_count` boolean

## Response `200`

Return attribute options paginated

- object
  - `_links` object
    - `self` object
      - `href` string — URI of the current page of resources
    - `first` object
      - `href` string — URI of the first page of resources
    - `previous` object
      - `href` string — URI of the previous page of resources
    - `next` object
      - `href` string — URI of the next page of resources
  - `current_page` integer — Current page number
  - `_embedded` object
    - `items` object[]
      - `_links` object
        - `self` object
          - `href` string — URI of the resource
      - `code` string, required — Code of option
      - `attribute` string — Code of attribute related to the attribute option
      - `sort_order` integer — Order of attribute option
      - `labels` object — Attribute option labels for each locale
        - `localeCode` string — Attribute option label for the locale `localeCode`

## Other responses

- `401` — Authentication required
- `403` — Access forbidden
- `406` — Not Acceptable

---

[API](https://skmtc.net/akeneo/apis/akeneo-pim-rest-api.md) · [All operations](https://skmtc.net/akeneo/apis/akeneo-pim-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akeneo/akeneo-pim-rest-api/versions/d8bda9b93b59/schema)
