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

# List organization members

> List active members or pending invitations with cursor pagination.



## OpenAPI

````yaml https://api.tembo.io/public-api/openapi/public get /v1/organizations/{organizationId}/members
openapi: 3.1.0
info:
  title: Tembo Public API
  description: >-
    Manage agents, sessions, repositories, and organization resources with the
    Tembo API.
  version: 1.0.0
servers:
  - url: https://api.tembo.io
    description: Tembo API
  - url: https://{deployment-origin}/api/public-api
    description: Self-hosted Tembo
    variables:
      deployment-origin:
        default: tembo.example.com
        description: Hostname of your self-hosted Tembo deployment
security: []
paths:
  /v1/organizations/{organizationId}/members:
    get:
      tags:
        - Organizations
      summary: List organization members
      description: List active members or pending invitations with cursor pagination.
      operationId: listOrganizationMembers
      parameters:
        - in: path
          name: organizationId
          schema:
            type: string
          required: true
        - in: query
          name: cursor
          schema:
            type: string
            minLength: 1
            maxLength: 255
          description: >-
            Continuation cursor from the previous response nextCursor. Omit for
            the first page; null nextCursor means there are no more pages.
        - in: query
          name: limit
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
          description: >-
            Maximum number of items to return in one page. Use nextCursor from
            the response to fetch more items.
        - in: query
          name: search
          schema:
            type: string
            minLength: 1
            maxLength: 100
          description: Search organization members or invitations.
        - in: query
          name: status
          schema:
            type: string
            enum:
              - active
              - pending
            default: active
          description: List active members or pending invitations.
      responses:
        '200':
          description: List organization members
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      oneOf:
                        - type: object
                          properties:
                            createdAt:
                              type: string
                              format: date-time
                            id:
                              type: string
                              minLength: 1
                              maxLength: 255
                            updatedAt:
                              type: string
                              format: date-time
                            userId:
                              type: string
                            emailAddress:
                              type: string
                              format: email
                            firstName:
                              type:
                                - string
                                - 'null'
                            imageUrl:
                              type:
                                - string
                                - 'null'
                              format: uri
                            lastName:
                              type:
                                - string
                                - 'null'
                            role:
                              type: object
                              properties:
                                id:
                                  type: string
                                name:
                                  type: string
                              required:
                                - id
                                - name
                              additionalProperties: false
                            status:
                              type: string
                              const: active
                          required:
                            - createdAt
                            - id
                            - updatedAt
                            - userId
                            - emailAddress
                            - firstName
                            - imageUrl
                            - lastName
                            - role
                            - status
                          additionalProperties: false
                        - type: object
                          properties:
                            createdAt:
                              type: string
                              format: date-time
                            id:
                              type: string
                              minLength: 1
                              maxLength: 255
                            updatedAt:
                              type: string
                              format: date-time
                            userId:
                              type: 'null'
                            emailAddress:
                              type: string
                              format: email
                            firstName:
                              type:
                                - string
                                - 'null'
                            imageUrl:
                              type:
                                - string
                                - 'null'
                              format: uri
                            lastName:
                              type:
                                - string
                                - 'null'
                            role:
                              type:
                                - object
                                - 'null'
                              properties:
                                id:
                                  type: string
                                name:
                                  type: string
                              required:
                                - id
                                - name
                              additionalProperties: false
                            status:
                              type: string
                              const: pending
                          required:
                            - createdAt
                            - id
                            - updatedAt
                            - userId
                            - emailAddress
                            - firstName
                            - imageUrl
                            - lastName
                            - role
                            - status
                          additionalProperties: false
                  nextCursor:
                    type:
                      - string
                      - 'null'
                required:
                  - items
                  - nextCursor
                additionalProperties: false
        '400':
          description: Invalid request or missing organization information.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '403':
          description: Organization administrator access is required
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '404':
          description: Organization resource not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '409':
          description: Organization operation conflicts with existing state
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '500':
          description: Organization operation failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '503':
          description: Required organization storage is unavailable
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
      security:
        - apiKey: []
      x-codeSamples:
        - lang: typescript
          label: TypeScript SDK
          source: >
            import Tembo from '@tembo-io/sdk';


            const client = new Tembo();


            const member = await
            client.organizations.members.list('organizationId', {
              limit: 50,
              status: 'active',
            });
        - lang: rust
          label: Rust SDK
          source: >
            use tembo_rs::*;


            let client = Tembo::from_env()?;


            let response =
            client.organizations().members().list("example").send().await?;
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer

````

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