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

# Herkese açık kanal dizinine göz at veya dizinde ara

> Resmî istemcilerin "Kanal bul" ekranını yansıtır. `search_text` olmadan bir `view` içinde gezinir ve en az bir ülke
kodu gerektirir; `search_text` ile kanalları ada göre arar (arama
ülke kodlarını desteklemez). `cursor` ile sayfalayın;
`has_more` true olduğu sürece devam edin. WhatsApp Web üzerinden yakalanmış,
önceden bildirilmeden değişebilecek belgelenmemiş WhatsApp sorgularını kullanır.




## OpenAPI

````yaml /tr/openapi.yml get /newsletter/directory
openapi: 3.0.0
info:
  title: WhatsApp Çoklu Cihaz API’si
  version: 9.7.0
  description: >
    Bu API, API üzerinden WhatsApp mesajları göndermek için kullanılır.


    Web panosu ayrı bir projedir (gowa-ui); sunucu bu projenin

    en son sürüm dosyasını indirir ve `/` yolunda sunar (veya

    APP_UI_ENABLED=false olduğunda bir JSON başlığı döndürür).


    Cihaz kapsamı:

    - Cihaz kapsamındaki tüm REST çağrılarında `X-Device-Id` gönderin.

    - WebSocket: `/ws?device_id=<id>` adresine bağlanın.

    - WebSocket kimlik doğrulaması (temel kimlik doğrulaması etkinken):
    tarayıcılar WebSocket bağlantılarında
      Authorization üst bilgisi ayarlayamaz; bu nedenle sorgu dizesinde ayrıca
      `&authorization=<base64(user:pass)>` geçirin. Kimlik bilgisi URL’de göründüğünden
      üretim ortamında TLS kullanın.
servers:
  - url: http://localhost:3000
security:
  - basicAuth: []
tags:
  - name: app
    description: WhatsApp sunucusuna ilk bağlantı
  - name: device
    description: Çoklu cihaz desteği için cihaz yönetimi
  - name: user
    description: Bilgi alma
  - name: send
    description: Mesaj gönderme (Metin/Görsel/Dosya/Video).
  - name: message
    description: Mesaj işlemleri (geri alma/tepki verme/güncelleme).
  - name: call
    description: Arama yönetimi (gelen aramaları reddetme)
  - name: chat
    description: Sohbetler ve mesajlaşma
  - name: group
    description: Grup ayarları
  - name: newsletter
    description: Bülten ayarları
  - name: chatwoot
    description: Müşteri desteği için Chatwoot entegrasyonu
paths:
  /newsletter/directory:
    get:
      tags:
        - newsletter
      summary: Herkese açık kanal dizinine göz at veya dizinde ara
      description: >
        Resmî istemcilerin "Kanal bul" ekranını yansıtır. `search_text` olmadan
        bir `view` içinde gezinir ve en az bir ülke

        kodu gerektirir; `search_text` ile kanalları ada göre arar (arama

        ülke kodlarını desteklemez). `cursor` ile sayfalayın;

        `has_more` true olduğu sürece devam edin. WhatsApp Web üzerinden
        yakalanmış,

        önceden bildirilmeden değişebilecek belgelenmemiş WhatsApp sorgularını
        kullanır.
      operationId: searchNewsletterDirectory
      parameters:
        - $ref: '#/components/parameters/DeviceIdHeader'
        - name: view
          in: query
          required: false
          schema:
            type: string
            enum:
              - RECOMMENDED
              - TRENDING
              - POPULAR
              - NEW
              - FEATURED
            default: RECOMMENDED
        - name: search_text
          in: query
          required: false
          schema:
            type: string
          example: news
        - name: country_codes
          in: query
          required: false
          description: >-
            Tekrarlanan veya virgülle ayrılmış ISO 3166-1 alpha-2 kodları. Bir
            görünümde gezinirken zorunludur.
          schema:
            type: array
            items:
              type: string
          example:
            - ID
        - name: categories
          in: query
          required: false
          schema:
            type: array
            items:
              type: string
              enum:
                - BUSINESS
                - ENTERTAINMENT
                - LIFESTYLE
                - NEWS
                - ORGANIZATIONS
                - PEOPLE
                - SPORTS
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 20
            minimum: 1
            maximum: 50
        - name: cursor
          in: query
          required: false
          description: Önceki sayfadaki next_cursor
          schema:
            type: string
      responses:
        '200':
          description: Tamam
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NewsletterDirectoryResponse'
        '400':
          description: Geçersiz İstek
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBadRequest'
        '500':
          description: Dahili Sunucu Hatası
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorInternalServer'
components:
  parameters:
    DeviceIdHeader:
      name: X-Device-Id
      in: header
      required: false
      description: >
        Çoklu cihaz desteği için cihaz tanımlayıcısı. Birden fazla cihaz
        kayıtlıysa zorunludur.

        Yalnızca bir cihaz kayıtlıysa varsayılan olarak kullanılır.

        `device_id` sorgu parametresi olarak da belirtilebilir.
      schema:
        type: string
        example: my-device-id
  schemas:
    NewsletterDirectoryResponse:
      type: object
      properties:
        code:
          type: string
          example: SUCCESS
        message:
          type: string
          example: Success search newsletter directory
        results:
          type: object
          properties:
            data:
              type: array
              items:
                $ref: '#/components/schemas/Newsletter'
            next_cursor:
              type: string
              example: GTby6Oiy0/jOqwPYxYXQtvjOqwPC0uaVue3OqwMZ
            has_more:
              type: boolean
              example: true
    ErrorBadRequest:
      type: object
      properties:
        code:
          type: string
          example: 400
          description: HTTP Durum Kodu
        message:
          type: string
          example: field cannot be blank
          description: Ayrıntılı hata mesajı
        results:
          type: object
          example: null
          description: ek veriler
    ErrorInternalServer:
      type: object
      properties:
        code:
          type: string
          example: INTERNAL_SERVER_ERROR
          description: SYSTEM_CODE_ERROR
        message:
          type: string
          example: you are not loggin
          description: Ayrıntılı hata mesajı
        results:
          type: object
          example: null
          description: ek veriler
    Newsletter:
      type: object
      properties:
        id:
          type: string
          example: 120363144038483540@newsletter
        state:
          type: object
          properties:
            type:
              type: string
              example: active
        thread_metadata:
          type: object
          properties:
            creation_time:
              type: string
              example: '1688746895'
            invite:
              type: string
              example: 0029Va4K0PZ5a245NkngBA2M
            name:
              type: object
              properties:
                text:
                  type: string
                  example: WhatsApp
                id:
                  type: string
                  example: '1688746895480511'
                update_time:
                  type: string
                  example: '1688746895480511'
            description:
              type: object
              properties:
                text:
                  type: string
                  example: >-
                    WhatsApp's official channel. Follow for our latest feature
                    launches, updates, exclusive drops and more.
                id:
                  type: string
                  example: '1689653839450668'
                update_time:
                  type: string
                  example: '1689653839450668'
            subscribers_count:
              type: string
              example: '0'
            verification:
              type: string
              example: verified
            picture:
              type: object
              properties:
                url:
                  type: string
                  example: ''
                id:
                  type: string
                  example: '1707950960975554'
                type:
                  type: string
                  example: IMAGE
                direct_path:
                  type: string
                  example: >-
                    /v/t61.24694-24/416962407_970228831134395_8869146381947923973_n.jpg?ccb=11-4&oh=01_Q5AaIIvOIeu3l0HCZWILrmr-dGR_vXFqnhUeytw0-ojPc4hL&oe=670D95B1&_nc_sid=5e03e0&_nc_cat=110
            preview:
              type: object
              properties:
                url:
                  type: string
                  example: ''
                id:
                  type: string
                  example: '1707950960975554'
                type:
                  type: string
                  example: PREVIEW
                direct_path:
                  type: string
                  example: >-
                    /v/t61.24694-24/416962407_970228831134395_8869146381947923973_n.jpg?stp=dst-jpg_s192x192&ccb=11-4&oh=01_Q5AaIHO-DQklqm3q3awF7xwji_WAn9DkgZASQA0B2Ct0qbSa&oe=670D95B1&_nc_sid=5e03e0&_nc_cat=110
            settings:
              type: object
              properties:
                reaction_codes:
                  type: object
                  properties:
                    value:
                      type: string
                      example: ALL
        viewer_metadata:
          type: object
          nullable: true
          description: Görüntüleyiciye özel meta veriler yoksa null olur.
          properties:
            mute:
              type: string
              example: 'off'
            role:
              type: string
              example: subscriber
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic

````

## Related topics

- [WhatsApp kanalları](https://gowa-docs.mintlify.site/tr/examples/newsletters.md)
- [Medya İşleme](https://gowa-docs.mintlify.site/tr/examples/media-handling.md)
- [Bir bülten mesajındaki medyayı indir](https://gowa-docs.mintlify.site/tr/api-reference/newsletter/bir-bülten-mesajındaki-medyayı-indir.md)
- [Sunucu metrikleri](https://gowa-docs.mintlify.site/tr/api-reference/metrics.md)
- [Bülten (kanal) meta verilerini getir](https://gowa-docs.mintlify.site/tr/api-reference/newsletter/bülten-kanal-meta-verilerini-getir.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.