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

# List groups

> List groups



## OpenAPI

````yaml /api-reference/openapi/Evolution-Go/evo-go-group.yaml get /group/list
openapi: 3.0.0
info:
  title: Evolution Foundation - Evolution Go - Group
  description: Go implementation of Evolution
  version: '1.0'
servers:
  - url: http://localhost:8080/
    description: Development server (HTTP)
  - url: https://localhost:8080/
    description: Development server (HTTPS)
  - url: '{customUrl}'
    description: Custom server
    variables:
      customUrl:
        default: https://your-instance.com
        description: Enter your server URL
security: []
paths:
  /group/list:
    get:
      summary: List groups
      description: List groups
      responses:
        '200':
          description: Groups listed successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  groups:
                    type: array
                    items:
                      type: object
              example:
                data:
                  - JID: 120360000000000002@g.us
                    OwnerJID: 100000000000002@lid
                    OwnerPN: 5511999999999@s.whatsapp.net
                    Name: Group Name
                    NameSetAt: '2026-01-15T10:30:00-03:00'
                    NameSetBy: 100000000000002@lid
                    NameSetByPN: 5511999999999@s.whatsapp.net
                    Topic: ''
                    TopicID: ''
                    TopicSetAt: '0001-01-01T00:00:00Z'
                    TopicSetBy: ''
                    TopicSetByPN: ''
                    TopicDeleted: false
                    IsLocked: false
                    IsAnnounce: false
                    AnnounceVersionID: '1700000000000006'
                    IsEphemeral: false
                    DisappearingTimer: 0
                    IsIncognito: false
                    IsParent: false
                    DefaultMembershipApprovalMode: ''
                    LinkedParentJID: ''
                    IsDefaultSubGroup: false
                    IsJoinApprovalRequired: false
                    AddressingMode: lid
                    GroupCreated: '2026-01-15T10:30:00-03:00'
                    CreatorCountryCode: BR
                    ParticipantVersionID: '1700000000000007'
                    Participants:
                      - JID: 100000000000002@lid
                        PhoneNumber: 5511999999999@s.whatsapp.net
                        LID: 100000000000002@lid
                        IsAdmin: true
                        IsSuperAdmin: true
                        DisplayName: ''
                        Error: 0
                        AddRequest: null
                    ParticipantCount: 0
                    MemberAddMode: admin_add
                    Suspended: false
                message: success
        '400':
          description: Bad Request - Invalid input data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                error:
                  code: BAD_REQUEST
                  message: Invalid request data
                meta:
                  timestamp: '2024-01-15T10:30:00Z'
                  path: /group/list
                  method: GET
        '401':
          description: Unauthorized - Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                error:
                  code: UNAUTHORIZED
                  message: Invalid or missing API key
                meta:
                  timestamp: '2024-01-15T10:30:00Z'
                  path: /group/list
                  method: GET
        '403':
          description: Forbidden - Insufficient permissions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                error:
                  code: FORBIDDEN
                  message: Insufficient permissions to list groups
                meta:
                  timestamp: '2024-01-15T10:30:00Z'
                  path: /group/list
                  method: GET
        '404':
          description: Not Found - Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                error:
                  code: NOT_FOUND
                  message: Resource not found
                meta:
                  timestamp: '2024-01-15T10:30:00Z'
                  path: /group/list
                  method: GET
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                error:
                  code: INTERNAL_SERVER_ERROR
                  message: An unexpected error occurred
                meta:
                  timestamp: '2024-01-15T10:30:00Z'
                  path: /group/list
                  method: GET
components:
  schemas:
    ErrorResponse:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          example: false
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
            message:
              type: string
        meta:
          type: object
          properties:
            timestamp:
              type: string
              format: date-time
            path:
              type: string
            method:
              type: string

````

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