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

# /2025-10/retail-media/retailers/{retailer-id}/templates/{template-id}

> Gets the template for the specified retailer id and template id



## OpenAPI

````yaml https://api.criteo.com/2025-10/retailmedia/open-api-specifications.json get /2025-10/retail-media/retailers/{retailer-id}/templates/{template-id}
openapi: 3.0.1
info:
  title: Criteo API
  description: Criteo API - RetailMedia
  version: 2025-10
servers:
  - url: https://api.criteo.com
security:
  - oauth: []
tags:
  - name: Accounts
  - name: Analytics
  - name: Audience
  - name: Balance
  - name: Billing
  - name: Campaign
  - name: Gateway
paths:
  /2025-10/retail-media/retailers/{retailer-id}/templates/{template-id}:
    get:
      tags:
        - Campaign
      summary: /2025-10/retail-media/retailers/{retailer-id}/templates/{template-id}
      description: Gets the template for the specified retailer id and template id
      operationId: GetCreativeTemplate
      parameters:
        - name: retailer-id
          in: path
          description: Retailer Id
          required: true
          schema:
            type: string
            format: int32
        - name: template-id
          in: path
          description: Template Id
          required: true
          schema:
            type: string
            format: int32
      responses:
        '200':
          description: Template found for the retailer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TemplateResponse'
      security:
        - oauth:
            - RetailMedia_Campaign_Read
components:
  schemas:
    TemplateResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/ResourceOfTemplate'
        errors:
          type: array
          items:
            $ref: '#/components/schemas/CommonProblem'
          nullable: true
          readOnly: true
        warnings:
          type: array
          items:
            $ref: '#/components/schemas/CommonProblem'
          nullable: true
          readOnly: true
      additionalProperties: false
      description: >-
        A top-level object that encapsulates a Criteo API response for a single
        entity.
    ResourceOfTemplate:
      type: object
      properties:
        attributes:
          $ref: '#/components/schemas/Template'
        id:
          type: string
          description: Unique identifier of this resource.
          nullable: true
        type:
          type: string
          nullable: true
      additionalProperties: false
      description: A class that represents a domain entity exposed by an API.
      nullable: true
    CommonProblem:
      type: object
      properties:
        code:
          type: string
          description: A machine-readable error code, expressed as a string value.
          nullable: true
        detail:
          type: string
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem
          nullable: true
        instance:
          type: string
          description: A URI that identifies the specific occurrence of the problem.
          nullable: true
        source:
          type: object
          additionalProperties:
            type: string
          description: >-
            A machine-readable structure to reference to the exact location(s)
            causing the error(s)
          nullable: true
        stackTrace:
          type: string
          nullable: true
        title:
          type: string
          description: A short human-readable description of the problem type
          nullable: true
        traceId:
          type: string
          description: The request correlation ID this problem comes from.
          nullable: true
        traceIdentifier:
          type: string
          description: >-
            The request correlation ID this problem comes from. (deprecated, use
            traceId instead)
          nullable: true
        type:
          enum:
            - unknown
            - access-control
            - authentication
            - authorization
            - availability
            - deprecation
            - quota
            - validation
          type: string
          description: The problem's category.
          nullable: true
      description: Common problem object.
    Template:
      required:
        - allCollectionsMandatory
        - createdAt
        - creativeFormat
        - name
        - sections
        - skuCollectionMin
        - skuPerCollectionMin
        - updatedAt
      type: object
      properties:
        allCollectionsMandatory:
          type: boolean
          description: Marks whether or not all collections are mandatory
        createdAt:
          type: string
          description: The time at which the template was created
          format: date-time
        creativeFormat:
          enum:
            - Unknown
            - FlagShip
            - Showcase
            - SponsoredProducts
            - Butterfly
            - BundleBoost
            - IAB
            - CUSTOM
            - DisplayPanel
            - DigitalShelfTalker
          type: string
          description: The kind of creative this template can be used to build.
        displayableSkusMax:
          type: integer
          description: Maximum number of displayable skus
          format: int32
          nullable: true
        id:
          type: string
          nullable: true
        name:
          type: string
          description: The name of the template
        sections:
          type: array
          items:
            $ref: '#/components/schemas/Section'
          description: The sections holding various template variables
        skuCollectionMax:
          type: integer
          description: Maximum number of skus in the collection
          format: int32
          nullable: true
        skuCollectionMin:
          type: integer
          description: Minimum number of skus in the collection
          format: int32
        skuPerCollectionMax:
          type: integer
          description: Maximum number of skus per collection
          format: int32
          nullable: true
        skuPerCollectionMin:
          type: integer
          description: Minimum number of skus per collection
          format: int32
        updatedAt:
          type: string
          description: The time at which the template was updated
          format: date-time
      additionalProperties: false
      description: A template for creating creatives.
      nullable: true
    Section:
      required:
        - templateVariables
      type: object
      properties:
        description:
          type: string
          nullable: true
        templateVariables:
          type: array
          items:
            $ref: '#/components/schemas/TemplateVariable'
        title:
          type: string
          nullable: true
      additionalProperties: false
      description: Section object that hold template variables
    TemplateVariable:
      required:
        - id
        - required
        - type
      type: object
      properties:
        choiceVariableSpecification:
          $ref: '#/components/schemas/ChoiceVariableSpecification'
        filesVariablesSpecification:
          $ref: '#/components/schemas/FilesVariablesSpecification'
        id:
          type: string
          description: The id of the variable
        required:
          type: boolean
          description: Whether the variable is required
        textVariableSpecification:
          $ref: '#/components/schemas/TextVariableSpecification'
        type:
          enum:
            - Text
            - Choice
            - Color
            - Files
            - Hyperlink
            - Video
          type: string
          description: The type of the variable
      additionalProperties: false
      description: A variable in a creative template
    ChoiceVariableSpecification:
      required:
        - options
      type: object
      properties:
        maxSelected:
          type: integer
          description: The maximum number of selectable options
          format: int32
          nullable: true
        minSelected:
          type: integer
          description: The minimum number of selectable options
          format: int32
          nullable: true
        options:
          type: array
          items:
            $ref: '#/components/schemas/ChoiceOption'
          description: The available options
      additionalProperties: false
      description: Specification of choice variable
      nullable: true
    FilesVariablesSpecification:
      required:
        - extensions
      type: object
      properties:
        extensions:
          type: array
          items:
            enum:
              - Unknown
              - Jpeg
              - Png
              - Gif
              - Pdf
              - Mp4
            type: string
            description: File extensions supported in templates
          description: The accepted file extensions
        maxBytes:
          type: integer
          description: The maximum amount of bytes per file
          format: int32
          nullable: true
        maxFile:
          type: integer
          description: The maximum amount of files required
          format: int32
          nullable: true
        minFiles:
          type: integer
          description: The minimum amount of files requires
          format: int32
          nullable: true
      additionalProperties: false
      description: Specification of a file variable
      nullable: true
    TextVariableSpecification:
      type: object
      properties:
        maxChars:
          type: integer
          description: The maximum amount of characters accepted for the text
          format: int32
          nullable: true
      additionalProperties: false
      description: Specification of a text variable
      nullable: true
    ChoiceOption:
      required:
        - dependentVariables
        - id
      type: object
      properties:
        dependentVariables:
          type: array
          items:
            $ref: '#/components/schemas/TemplateVariable'
          description: Template variables unblocked when the option is chosen
        id:
          type: string
          description: The id of the option
      additionalProperties: false
      description: An option given in a choice
  securitySchemes:
    oauth:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://api.criteo.com/oauth2/token
          scopes: {}
        authorizationCode:
          authorizationUrl: https://api.criteo.com/oauth2
          tokenUrl: https://api.criteo.com/oauth2/token
          scopes: {}

````