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

# /realms/{realmId}/organizations/{organizationId}/groups



## OpenAPI

````yaml /api-reference/identity.openapi.json get /realms/{realmId}/organizations/{organizationId}/groups
openapi: 3.0.3
info:
  title: Identity
  version: 1.0.0
  description: >-
    Portão 3 identity API. Generated by tools/openapi from code (routes +
    security) and the hand-written spec (request/response bodies). 5 app groups
    run without the identity authorizer; publicPatterns enumerates every route
    they expose. Confidence tiers: generated:typed=34 copied:manual=1
    unknown=57.
servers:
  - url: https://api.identity.v2.portao3.com.br/
    description: production
  - url: https://api.identity.dev.3pers.com.br/
    description: development
security:
  - bearerAuth: []
tags:
  - name: Authentication
  - name: Current User
  - name: Custom Fields
  - name: API Clients
  - name: Users
  - name: Organizations
  - name: Realms
  - name: Internal & Support
paths:
  /realms/{realmId}/organizations/{organizationId}/groups:
    get:
      tags:
        - Organizations
      summary: /realms/{realmId}/organizations/{organizationId}/groups
      operationId: getRealmsByRealmIdOrganizationsByOrganizationIdGroups
      parameters:
        - name: realmId
          in: path
          required: true
          schema:
            type: string
        - name: organizationId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  next:
                    type: string
                    nullable: true
                  items:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        realm:
                          type: string
                        organization:
                          type: string
                        name:
                          type: string
                        description:
                          type: string
                        memberIds:
                          type: array
                          items:
                            type: string
                        createdBy:
                          type: string
                        updatedBy:
                          type: string
                        createdAt:
                          anyOf:
                            - type: string
                            - type: string
                              format: date-time
                        updatedAt:
                          anyOf:
                            - type: string
                            - type: string
                              format: date-time
                        memberCount:
                          type: number
                      required:
                        - id
                        - memberCount
                        - memberIds
                        - name
                        - organization
                        - realm
                      description: >-
                        `GET
                        /realms/{realm}/organizations/{organization}/groups`
                        item
                required:
                  - next
                  - items
                description: >-
                  `GET /realms/{realm}/organizations/{organization}/groups`
                  response.


                  Spelled out as a named, non-generic interface (rather than
                  `PaginationResponse<GroupListItem>`) so the OpenAPI generator
                  can resolve it — it fails closed on instantiated generics.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````