> ## Documentation Index
> Fetch the complete documentation index at: https://docs.appcharge.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Content Translations

> Retrieves all existing translations for a content item.

```bash Get Content Translations theme={"system"}
curl -X GET \
  'https://api.appcharge.com/v1/portal-content/507f1f77bcf86cd799439011/translations' \
  -H 'x-publisher-token: <x-publisher-token>'
```

```json Get Content Translations theme={"system"}
{
  "items": [
    {
      "isoCode": "fr-FR",
      "title": "Bienvenue dans notre jeu",
      "subTitle": "Tout ce que vous devez savoir",
      "bodyText": "Ceci est le contenu principal de l'article en français...",
      "headerImage": "https://cdn.example.com/images/header-fr.jpg",
      "thumbnailImage": "https://media.appcharge.com/media/25cb4861ec8924a6b69a0f59/book-shelf1920.jpg",
      "labels": ["tutoriel", "débutant"]
    },
    {
      "isoCode": "es-ES",
      "title": "Bienvenido a nuestro juego",
      "subTitle": "Todo lo que necesitas saber",
      "bodyText": "Este es el cuerpo principal del artículo en español...",
      "headerImage": "https://cdn.example.com/images/header-es.jpg",
      "thumbnailImage": "https://media.appcharge.com/media/25cb4861ec8924a6b69a0f59/book-shelf1920.jpg",
      "labels": ["tutorial", "principiante"]
    }
  ]
}
```

```json 401 theme={"system"}
{
  "message": "UNAUTHORIZED",
  "requestUrl": "/v1/portal-content/{contentId}/translations",
  "body": "Invalid or missing publisher token."
}
```

```json 404 theme={"system"}
{
  "message": "NOT_FOUND",
  "requestUrl": "/v1/portal-content/{contentId}/translations",
  "body": "Content not found."
}
```

```json 500 theme={"system"}
{
  "message": "INTERNAL_SERVER_ERROR",
  "requestUrl": "/v1/portal-content/{contentId}/translations",
  "body": "Server error."
}
```


## OpenAPI

````yaml openapi-portal-content.json GET /v1/portal-content/{contentId}/translations
openapi: 3.0.0
info:
  title: Portal Content API
  description: API for managing Game Portal content items.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.appcharge.com
security: []
tags: []
paths:
  /v1/portal-content/{contentId}/translations:
    get:
      tags:
        - Portal Content
      summary: Get Content Translations
      description: Retrieves all existing translations for a content item.
      operationId: get-content-translations
      parameters:
        - name: contentId
          required: true
          in: path
          description: Content ID.
          schema:
            type: string
        - name: x-publisher-token
          required: true
          in: header
          description: Publisher token.
          schema:
            type: string
      responses:
        '200':
          description: Translations retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetContentTranslationsResponse'
        '401':
          description: Invalid or missing publisher token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                message: UNAUTHORIZED
                requestUrl: /v1/portal-content/{contentId}/translations
                body: Invalid or missing publisher token.
        '404':
          description: Content not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                message: NOT_FOUND
                requestUrl: /v1/portal-content/{contentId}/translations
                body: Content not found.
        '500':
          description: Server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                message: INTERNAL_SERVER_ERROR
                requestUrl: /v1/portal-content/{contentId}/translations
                body: Server error.
components:
  schemas:
    GetContentTranslationsResponse:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/TranslationResponse'
          description: >-
            List of translations for the content item. Each item represents a
            locale and its translations.
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
          description: Error message.
        requestUrl:
          type: string
          description: URL of the request that caused the error.
        body:
          type: string
          description: Error description.
    TranslationResponse:
      type: object
      properties:
        isoCode:
          type: string
          description: >-
            The locale code. Both
            [ISO-639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code
            and [ISO-3166-1
            alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country
            code formats are supported.
          example: fr-FR
        title:
          type: string
          description: Translated title.
          example: Bienvenue dans notre jeu
        subTitle:
          type: string
          description: Translated description.
          example: Tout ce que vous devez savoir
        bodyText:
          type: string
          description: Translated body text.
          example: Ceci est le contenu principal de l'article en français...
        headerImage:
          type: string
          description: Translated header image URL.
          example: https://cdn.example.com/images/header-fr.jpg
        thumbnailImage:
          type: string
          description: Translated thumbnail image URL.
          example: >-
            https://media.appcharge.com/media/25cb4861ec8924a6b69a0f59/book-shelf1920.jpg
        labels:
          type: array
          items:
            type: string
          description: Translated labels.
          example:
            - tutoriel
            - débutant

````