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

> ## Agent Instructions
> Test in the sandbox first: base URL https://api-sandbox.y.uno (Test Mode in the Dashboard). Production is https://api.y.uno (Live Mode).
> Every API request needs the public-api-key and private-secret-key headers. Get them in the Dashboard at https://dashboard.y.uno/developers (Developers > Credentials); sandbox and production keys are different.
> Send an X-Idempotency-Key (a UUID) when creating payments, refunds and cancels, so retries do not create duplicates.
> Start with the Quickstart (https://docs.y.uno/docs/quickstart.md) and the agent guide (https://docs.y.uno/agents.md). To search these docs from a coding agent, connect the docs MCP server at https://docs.y.uno/mcp.

# Listar usuários

> Lista os usuários da organização, com filtro opcional por grupo de contas ou conta

Lista todos os usuários que pertencem à organização autenticada. Opcionalmente, você pode filtrar os resultados por grupo de contas ou por ID da conta.


## OpenAPI

````yaml openapi/pt-br/organizations/list-users.json GET /organizations/users
openapi: 3.1.0
info:
  title: Users API - List
  version: 1.0.0
servers:
  - url: https://api-sandbox.y.uno/v1
    description: Sandbox
  - url: https://api.y.uno/v1
    description: Production (US)
security:
  - sec0: []
    sec1: []
paths:
  /organizations/users:
    get:
      summary: Listar usuários
      description: >-
        Lista usuários. Opcionalmente, filtre por account_group_id ou
        account_id.
      operationId: list-users
      parameters:
        - name: account_group_id
          in: query
          schema:
            type: string
            format: uuid
          description: Filtrar por grupo de contas.
        - name: account_id
          in: query
          schema:
            type: string
            format: uuid
          description: Filtrar por conta.
        - name: page
          in: query
          schema:
            type: integer
            default: 1
          description: Número da página.
        - name: page_size
          in: query
          schema:
            type: integer
            default: 20
            maximum: 100
          description: Tamanho da página.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        email:
                          type: string
                        first_name:
                          type: string
                        last_name:
                          type: string
                        account_permissions:
                          type: array
                          items:
                            type: object
                            properties:
                              account_id:
                                type: string
                                format: uuid
                              role_id:
                                type: string
                        account_group_permissions:
                          type: array
                          items:
                            type: object
                            properties:
                              account_group_id:
                                type: string
                                format: uuid
                              role_id:
                                type: string
                        created_at:
                          type: string
                          format: date-time
                        updated_at:
                          type: string
                          format: date-time
                  pagination:
                    type: object
                    properties:
                      page:
                        type: integer
                      page_size:
                        type: integer
                      total_items:
                        type: integer
                      total_pages:
                        type: integer
                      has_next:
                        type: boolean
                      has_previous:
                        type: boolean
components:
  securitySchemes:
    sec0:
      type: apiKey
      in: header
      name: PUBLIC-API-KEY
      x-default: <Your PUBLIC-API-KEY>
    sec1:
      type: apiKey
      in: header
      name: PRIVATE-SECRET-KEY
      x-default: <Your PRIVATE-SECRET-KEY>

````

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