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

# List Pending Invitations

> List an organization's pending invitations, including invite links.

Gated on the invite permission (admins/owners): responses include each
invitation's acceptance link so inviters can share it directly when no
email provider is configured.



## OpenAPI

````yaml /openapi/openhands-cloud.json get /api/organizations/{org_id}/members/invite
openapi: 3.1.0
info:
  title: OpenHands
  description: 'OpenHands: Code Less, Make More'
  version: 0.0.1
servers: []
security: []
paths:
  /api/organizations/{org_id}/members/invite:
    get:
      summary: List Pending Invitations
      description: |-
        List an organization's pending invitations, including invite links.

        Gated on the invite permission (admins/owners): responses include each
        invitation's acceptance link so inviters can share it directly when no
        email provider is configured.
      operationId: list_pending_invitations_api_organizations__org_id__members_invite_get
      parameters:
        - name: org_id
          in: path
          required: true
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            title: Org Id
        - name: X-Org-Id
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Org-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PendingInvitationsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    PendingInvitationsResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/InvitationResponse'
          type: array
          title: Items
        email_delivery_configured:
          type: boolean
          title: Email Delivery Configured
          default: true
        auto_add_enabled:
          type: boolean
          title: Auto Add Enabled
          default: false
      type: object
      required:
        - items
      title: PendingInvitationsResponse
      description: Response model for listing an org's pending invitations.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    InvitationResponse:
      properties:
        id:
          type: integer
          title: Id
        email:
          type: string
          title: Email
        role:
          type: string
          title: Role
        status:
          type: string
          title: Status
        created_at:
          type: string
          title: Created At
        expires_at:
          type: string
          title: Expires At
        inviter_email:
          anyOf:
            - type: string
            - type: 'null'
          title: Inviter Email
        invite_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Invite Url
      type: object
      required:
        - id
        - email
        - role
        - status
        - created_at
        - expires_at
      title: InvitationResponse
      description: Response model for invitation details.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-Access-Token

````