---
title: "Retrieve locale strings for a MessageFragment"
method: GET
path: "/shop/message-fragments/{messageFragmentId}/locale-strings/{locale}"
tags: ["MessageFragments"]
---

# Retrieve locale strings for a MessageFragment

`GET /shop/message-fragments/{messageFragmentId}/locale-strings/{locale}`

Returns the localised `name` and `message` for the given locale.

## Response `200`

The locale strings for the message fragment were successfully retrieved.

- object
  - `data` MessageFragmentLocaleStrings, required
    - `name` string, nullable, required — The localised name for this message fragment in the given locale.
    - `message` string, nullable, required — The localised message body for this message fragment in the given locale.

## Other responses

- `401` — The user is unauthenticated
- `403` — The authenticated user does not have permission.
- `404` — The resource couldn't be found
- `422` — The request didn't pass validation

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
