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

# List Templates



## OpenAPI

````yaml get /v1/channels/{channelId}/templates
openapi: 3.1.0
info:
  version: 1.0.0
  title: every public api
servers:
  - url: https://api.goevery.co
security:
  - bearerAuth: []
paths:
  /v1/channels/{channelId}/templates:
    get:
      parameters:
        - schema:
            type: string
            description: The unique identifier of the channel.
            example: 6633a1b2c4d5e6f7a8b9c0d1
          required: true
          description: The unique identifier of the channel.
          name: channelId
          in: path
        - schema:
            type:
              - number
              - 'null'
            exclusiveMinimum: 0
            maximum: 100
            example: 50
          required: false
          name: pageSize
          in: query
          description: >-
            The maximum number of templates to return. Defaults to 50 if not
            specified.
        - schema:
            type:
              - string
              - 'null'
          required: false
          name: pageToken
          in: query
          description: A token to retrieve the next page of results.
      responses:
        '200':
          description: Successfully retrieved list of approved templates.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListTemplatesResponse'
components:
  schemas:
    ListTemplatesResponse:
      type: object
      properties:
        templates:
          type: array
          items:
            $ref: '#/components/schemas/Template'
          description: An array of approved templates.
        nextPageToken:
          type:
            - string
            - 'null'
          description: A token to retrieve the next page of results, if any.
      required:
        - templates
    Template:
      type: object
      properties:
        name:
          type: string
          description: The display name of the template on the messaging platform.
          example: order_status_update
        language:
          type: string
          description: The BCP-47 language code.
          example: es
        category:
          type: string
          enum:
            - UTILITY
            - MARKETING
          description: The template category.
          example: UTILITY
        header:
          type: object
          properties:
            text:
              type: string
              description: The header text. May contain {{parameter}} placeholders.
              example: Hola {{customerName}}
            parameters:
              type: array
              items:
                $ref: '#/components/schemas/TemplateParameter'
              description: The parameters used in the header text.
          required:
            - text
            - parameters
          description: The optional header component.
        body:
          type: object
          properties:
            text:
              type: string
              description: The body text. May contain {{parameter}} placeholders.
              example: Tu pedido {{orderNumber}} está {{status}}.
            parameters:
              type: array
              items:
                $ref: '#/components/schemas/TemplateParameter'
              description: The parameters used in the body text.
          required:
            - text
            - parameters
          description: The body component.
        footer:
          type: string
          description: The footer text.
          example: GoEvery
        buttons:
          type: array
          items:
            type: string
            description: The button label text.
            example: Ver pedido
          description: Quick reply button labels.
      required:
        - name
        - language
        - category
        - body
        - buttons
    TemplateParameter:
      type: object
      properties:
        name:
          type: string
          description: The parameter name.
          example: customerName
        example:
          type: string
          description: An example value for this parameter.
          example: Juan
      required:
        - name
        - example
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````