> ## 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.

# Kullanıcının gruplarını listele

> Kimliği doğrulanmış kullanıcının katıldığı tüm grupları alır.

⚠️ **Bilinen Sınırlama**: Bu uç nokta, WhatsApp protokolündeki bir sınırlama nedeniyle en fazla 500 grup döndürür.
Temelde kullanılan whatsmeow kitaplığının `GetJoinedGroups()` işlevi, WhatsApp sunucularına tek bir sorgu gönderir
ve sunucular bu sınırı uygular. Bu, API’deki bir hata değildir; WhatsApp’ın
çoklu cihaz protokolünün getirdiği bir kısıtlamadır. 500’den fazla grubu olan kullanıcılar yalnızca ilk 500 grubu alır.

Daha fazla ayrıntı için bkz.: https://github.com/tulir/whatsmeow/blob/main/group.go




## OpenAPI

````yaml /tr/openapi.yml get /user/my/groups
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:
  /user/my/groups:
    get:
      tags:
        - user
      summary: Kullanıcının gruplarını listele
      description: >
        Kimliği doğrulanmış kullanıcının katıldığı tüm grupları alır.


        ⚠️ **Bilinen Sınırlama**: Bu uç nokta, WhatsApp protokolündeki bir
        sınırlama nedeniyle en fazla 500 grup döndürür.

        Temelde kullanılan whatsmeow kitaplığının `GetJoinedGroups()` işlevi,
        WhatsApp sunucularına tek bir sorgu gönderir

        ve sunucular bu sınırı uygular. Bu, API’deki bir hata değildir;
        WhatsApp’ın

        çoklu cihaz protokolünün getirdiği bir kısıtlamadır. 500’den fazla grubu
        olan kullanıcılar yalnızca ilk 500 grubu alır.


        Daha fazla ayrıntı için bkz.:
        https://github.com/tulir/whatsmeow/blob/main/group.go
      operationId: userMyGroups
      parameters:
        - $ref: '#/components/parameters/DeviceIdHeader'
      responses:
        '200':
          description: Tamam
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserGroupResponse'
        '500':
          description: Dahili Sunucu Hatası
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorInternalServer'
      externalDocs:
        description: WhatsApp protokol sınırlaması referansı (whatsmeow kaynak kodu)
        url: https://github.com/tulir/whatsmeow/blob/main/group.go
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:
    UserGroupResponse:
      type: object
      properties:
        code:
          type: string
          example: SUCCESS
        message:
          type: string
          example: Success get list groups
        results:
          type: object
          properties:
            data:
              type: array
              items:
                $ref: '#/components/schemas/UserMyGroupItem'
    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
    UserMyGroupItem:
      type: object
      description: >
        Serileştirilmiş `whatsmeow/types.GroupInfo` olarak katılınan bir grup.
        Gömülü yapılar düzleştirilir; alan adları PascalCase olarak kalır (Go
        varsayılan JSON).
      properties:
        JID:
          type: string
          example: 120363416355796813@g.us
        OwnerJID:
          type: string
        OwnerPN:
          type: string
        Name:
          type: string
        NameSetAt:
          type: string
          format: date-time
        NameSetBy:
          type: string
        NameSetByPN:
          type: string
        GroupCreated:
          type: string
          format: date-time
        CreatorCountryCode:
          type: string
        ParticipantVersionID:
          type: string
        ParticipantCount:
          type: integer
        Participants:
          type: array
          items:
            $ref: '#/components/schemas/JoinedGroupParticipant'
        MemberAddMode:
          type: string
          example: admin_add
        Suspended:
          type: boolean
        AddressingMode:
          type: string
        IsLocked:
          type: boolean
        IsAnnounce:
          type: boolean
        AnnounceVersionID:
          type: string
        IsEphemeral:
          type: boolean
        DisappearingTimer:
          type: integer
        IsIncognito:
          type: boolean
        IsJoinApprovalRequired:
          type: boolean
        DefaultMembershipApprovalMode:
          type: string
        IsParent:
          type: boolean
        LinkedParentJID:
          type: string
        IsDefaultSubGroup:
          type: boolean
        Topic:
          type: string
        TopicID:
          type: string
        TopicDeleted:
          type: boolean
        TopicSetAt:
          type: string
          format: date-time
        TopicSetBy:
          type: string
        TopicSetByPN:
          type: string
    JoinedGroupParticipant:
      type: object
      description: >-
        Katılınan grup listesi yüklerindeki serileştirilmiş
        `whatsmeow/types.GroupParticipant`.
      properties:
        JID:
          type: string
          description: Üyenin birincil kimliği (genellikle `@lid`).
        PhoneNumber:
          type: string
          description: >-
            Biliniyorsa kullanıcı JID dizesi (ör. `628...@s.whatsapp.net`); uç
            durumlarda boş olabilir.
        LID:
          type: string
        IsAdmin:
          type: boolean
        IsSuperAdmin:
          type: boolean
        DisplayName:
          type: string
          description: Bazı anonim / duyuru durumlarında ayarlanır; genellikle boştur.
        Error:
          type: integer
        AddRequest:
          type: object
          nullable: true
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic

````

## Related topics

- [Kullanıcının gruplarını listele](https://gowa-docs.mintlify.site/tr/api-reference/user/kullanıcının-gruplarını-listele-1.md)
- [Kullanıcının gizlilik ayarları](https://gowa-docs.mintlify.site/tr/api-reference/user/kullanıcının-gizlilik-ayarları.md)
- [Tüm cihazları listele](https://gowa-docs.mintlify.site/tr/api-reference/device/tüm-cihazları-listele.md)
- [Zamanlanmış gönderimleri listele](https://gowa-docs.mintlify.site/tr/api-reference/send/zamanlanmış-gönderimleri-listele.md)
- [Kullanıcının kişiler listesini al](https://gowa-docs.mintlify.site/tr/api-reference/user/kullanıcının-kişiler-listesini-al.md)


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