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

# List Invites

> Lists all pending invitations for the organization. User must be a member to view.

Lists all pending invitations for an organization.

## Permissions

User must be **owner** or **admin**.

## Response

Returns pending invitations with:

* Invite ID and status
* Invitee email and role
* Expiration date
* Who sent the invitation

## Example

```bash theme={null}
curl -X GET http://localhost:3001/api/organizations/550e8400-e29b-41d4-a716-446655440000/invites \
  -H "Authorization: Bearer <token>"
```


## OpenAPI

````yaml GET /organizations/{id}/invites
openapi: 3.1.0
info:
  title: Timbrix API
  description: >-
    REST API with OAuth2 server for managing organizations, members, and
    webhooks
  version: '1.0'
  contact: {}
servers:
  - url: http://sandbox.mintlify.com
    description: Sandbox environment
  - url: http://localhost:3001/api
    description: Local development
security: []
tags:
  - name: organizations
    description: Organization management endpoints
  - name: oauth
    description: OAuth2 authentication and authorization
  - name: webhooks
    description: Webhook configuration and delivery
  - name: users
    description: User information endpoints
  - name: api-keys
    description: API Keys management and validation
paths:
  /organizations/{id}/invites:
    get:
      tags:
        - organizations
      summary: Get pending invitations
      description: >-
        Lists all pending invitations for the organization. User must be a
        member to view.
      operationId: OrganizationsController_getInvites
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: Invitations list retrieved successfully with invitee details.
        '401':
          description: Authentication required. Provide a valid bearer token.
        '403':
          description: Access denied. User is not a member of this organization.
        '404':
          description: Organization not found with the provided ID.
      security:
        - bearer: []
components:
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````