---
title: "Get a reference entity"
method: GET
path: "/api/rest/v1/reference-entities/{code}"
tags: ["Reference entity"]
---

# Get a reference entity

`GET /api/rest/v1/reference-entities/{code}`

## Request

- Base URL: `http://demo.akeneo.com`
- URL: `http://demo.akeneo.com/api/rest/v1/reference-entities/{code}`
- Auth: none declared

This endpoint allows you to get the information about a given reference entity.

## Path parameters

- `code` string, required

## Response `200`

OK

- object
  - `_links` object
    - `image_download` object
      - `href` string: URI to download the binaries of the reference entity image file
  - `code` string, required: Reference entity code
  - `labels` object: Reference entity labels for each locale
    - `localeCode` string: Reference entity label for the locale `localeCode`
  - `image` string: Code of the reference entity image

## Other responses

- `401`: Authentication required
- `404`: Resource not found
- `406`: Not Acceptable

---

[API](https://skmtc.dev/akeneo/apis/akeneo-pim-rest-api.md) - [All operations](https://skmtc.dev/akeneo/apis/akeneo-pim-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/akeneo/apis/akeneo-pim-rest-api/revisions/d8bda9b93b59?raw)
