---
title: "Get a reference file"
method: GET
path: "/api/rest/v1/assets/{asset_code}/reference-files/{locale_code}"
tags: ["PAM asset reference file"]
---

# Get a reference file

`GET /api/rest/v1/assets/{asset_code}/reference-files/{locale_code}`

## Request

- Base URL: `http://demo.akeneo.com`
- URL: `http://demo.akeneo.com/api/rest/v1/assets/{asset_code}/reference-files/{locale_code}`
- Auth: none declared

This endpoint allows you to get the information about a reference file of a given PAM asset.

## Path parameters

- `asset_code` string, required
- `locale_code` string, required

## Response `200`

OK

- object
  - `code` string: Code of the PAM asset reference file
  - `locale` string: Locale of the PAM asset reference file, equal to `null` if the asset is not localizable
  - `_link` object: Links to get and download the reference file
    - `download` object
      - `href` string: URI to download the reference file

## Other responses

- `401`: Authentication required
- `403`: Access forbidden
- `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)
