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

# Şablon oluştur

> Şablon oluştur. Bu işlem için parametreleri, örneği ve kullanılabilir yanıtları inceleyin.



## OpenAPI

````yaml tr/api-reference/meta/openapi.json POST /meta/wabas/{wabaId}/templates
openapi: 3.1.0
info:
  title: Eazybe Meta API Katmanı
  version: 1.0.0
  description: >-
    WhatsApp Business Cloud API için kimlik doğrulamalı tek bir Eazybe REST
    yüzeyi.
servers:
  - url: https://cerberus.eazybe.com/staging/api/v2
    description: Bu yer tutucuyu ortamınıza atanmış Eazybe API sunucusuyla değiştirin.
security:
  - bearerAuth: []
tags:
  - name: Telefon numaraları
    description: Bağlı WABA ve telefon numarası kimliklerini bulun.
  - name: Mesajlaşma
    description: WhatsApp mesajları gönderin ve mesaj durumunu güncelleyin.
  - name: Şablonlar
    description: WhatsApp mesaj şablonlarını yönetin.
  - name: Medya
    description: WhatsApp medya dosyalarını yükleyin, görüntüleyin ve silin.
  - name: Webhook'lar
    description: Bir WABA'nın webhook aboneliklerini yönetin.
  - name: Analizler
    description: Mesajlaşma, konuşma, fiyatlandırma ve şablon analizlerini görüntüleyin.
  - name: Profiller ve ayarlar
    description: İşletme profillerini ve telefon numarası ayarlarını yönetin.
  - name: Otomasyon
    description: Karşılama mesajlarını, başlangıç sorularını ve komutları yapılandırın.
  - name: QR kodları
    description: Sohbete yönlendiren QR kodlarını yönetin.
  - name: Flows
    description: WhatsApp Flows yaşam döngüsünü yönetin.
  - name: Numara yönetimi
    description: >-
      Numaraları kaydedin, PIN'leri yönetin ve birlikte kullanım verilerini
      eşitleyin.
  - name: Engellenenler listesi
    description: WhatsApp kullanıcılarını listeleyin, engelleyin ve engellerini kaldırın.
paths:
  /meta/wabas/{wabaId}/templates:
    post:
      tags:
        - Şablonlar
      summary: Şablon oluştur
      description: >-
        Şablon oluştur. Bu işlem için parametreleri, örneği ve kullanılabilir
        yanıtları inceleyin.
      operationId: createTemplate
      parameters:
        - $ref: '#/components/parameters/WabaId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - name
                - language
                - category
                - components
              properties:
                name:
                  type: string
                language:
                  type: string
                category:
                  type: string
                components:
                  type: array
                  items:
                    type: object
                    required:
                      - type
                      - format
                      - text
                      - example
                    properties:
                      type:
                        type: string
                      format:
                        type: string
                      text:
                        type: string
                      example:
                        type: object
                        required:
                          - header_text
                        properties:
                          header_text:
                            type: array
                            items:
                              type: string
              description: |-
                ```json
                {
                  "name": "order_update",
                  "language": "en",
                  "category": "UTILITY",
                  "components": [
                    {
                      "type": "HEADER",
                      "format": "TEXT",
                      "text": "Order {{1}}",
                      "example": {
                        "header_text": [
                          "A-1042"
                        ]
                      }
                    },
                    {
                      "type": "BODY",
                      "text": "Hi {{1}}, your order is on its way.",
                      "example": {
                        "body_text": [
                          [
                            "Ravi"
                          ]
                        ]
                      }
                    },
                    {
                      "type": "FOOTER",
                      "text": "Acme Retail"
                    }
                  ]
                }
                ```
            example:
              name: order_update
              language: en
              category: UTILITY
              components:
                - type: HEADER
                  format: TEXT
                  text: Order {{1}}
                  example:
                    header_text:
                      - A-1042
                - type: BODY
                  text: Hi {{1}}, your order is on its way.
                  example:
                    body_text:
                      - - Ravi
                - type: FOOTER
                  text: Acme Retail
      responses:
        '200':
          description: >-
            Template submitted for review


            **Failure responses**


            | **Status** | **Meaning** | **Action** |

            | --- | --- | --- |

            | `401` | Missing, invalid, or expired bearer token |
            Re-authenticate |

            | `404` | `wabaId` not linked to your organization | Verify the id |

            | `400` | Duplicate name+language, missing `example` values, invalid
            category, or malformed components | Read `error.error_user_msg` |

            | `502` | Graph unreachable or timed out | Retry with backoff |
          content:
            application/json:
              schema:
                type: object
                required:
                  - id
                  - status
                  - category
                properties:
                  id:
                    type: string
                  status:
                    type: string
                  category:
                    type: string
              example:
                id: '778899001125'
                status: PENDING
                category: UTILITY
components:
  parameters:
    WabaId:
      name: wabaId
      in: path
      required: true
      description: >-
        `GET /meta/phone-numbers` tarafından döndürülen WhatsApp Business hesabı
        kimliği.
      schema:
        type: string
      example: '1029384756'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Eazybe token
      description: >-
        Eazybe bearer tokenı. Token kuruluşu tanımlar ve sunucuda güvenli
        tutulmalıdır.

````