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

# Get message template

> Retrieves one template, including its current Meta review status — use it to poll after creating a template.



## OpenAPI

````yaml openapi-v2 GET /api/v2/message_templates/{template_id}
openapi: 3.1.0
info:
  title: Take App Merchant API V2
  version: 2.0.0
  description: >-
    Authenticated Merchant API for stores. All money values are integers in the
    smallest currency unit (e.g. cents).
servers:
  - url: https://take.app
security:
  - bearerAuth: []
paths:
  /api/v2/message_templates/{template_id}:
    get:
      tags:
        - Message templates
      summary: Get a message template
      description: >-
        Retrieves one template, including its current Meta review status — use
        it to poll after creating a template.
      operationId: getMessageTemplate
      parameters:
        - schema:
            type: string
          required: true
          name: template_id
          in: path
      responses:
        '200':
          description: Message template
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MessageTemplate'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    MessageTemplate:
      type: object
      properties:
        id:
          type: string
        object:
          type: string
          enum:
            - message_template
        name:
          type: string
        status:
          type: string
          enum:
            - APPROVED
            - IN_APPEAL
            - PENDING
            - REJECTED
            - PENDING_DELETION
            - DELETED
            - DISABLED
            - PAUSED
            - LIMIT_EXCEEDED
          description: Meta review status. Only APPROVED templates can be sent.
        category:
          type: string
          enum:
            - MARKETING
            - UTILITY
            - AUTHENTICATION
        language:
          type: string
        header:
          type:
            - string
            - 'null'
        header_image_url:
          type:
            - string
            - 'null'
        body:
          type: string
        footer:
          type:
            - string
            - 'null'
        buttons:
          type: array
          items:
            $ref: '#/components/schemas/MessageTemplateButton'
        parameters:
          type: array
          items:
            type: string
          description: >-
            Named body variables this template expects, e.g. ["customer_name"].
            Pass them as `parameters` when sending.
        rejected_reason:
          type:
            - string
            - 'null'
      required:
        - id
        - object
        - name
        - status
        - category
        - language
        - header
        - header_image_url
        - body
        - footer
        - buttons
        - parameters
        - rejected_reason
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
                - invalid_request_error
                - authentication_error
                - permission_error
                - not_found_error
                - rate_limit_error
                - api_error
            code:
              type: string
            message:
              type: string
            param:
              type: string
            request_id:
              type: string
          required:
            - type
            - code
            - message
            - request_id
      required:
        - error
    MessageTemplateButton:
      type: object
      properties:
        type:
          type: string
          enum:
            - QUICK_REPLY
            - URL
            - PHONE_NUMBER
            - FLOW
        text:
          type: string
        url:
          type: string
        phone_number:
          type: string
      required:
        - type
        - text
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Merchant API V2 token. Pass as `Authorization: Bearer <token>`.'

````