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

# List team invitations



## OpenAPI

````yaml /openapi/client.json get /team-invitations
openapi: 3.1.0
info:
  title: Hexclave REST API
  version: 1.0.0
  description: >-
    The Hexclave REST API. All request headers are documented as canonical
    `X-Hexclave-*`; the equivalent `X-Stack-*` aliases are accepted on every
    endpoint for backwards compatibility. Response headers
    `X-Hexclave-actual-status`, `X-Hexclave-known-error`, and
    `X-Hexclave-request-id` are emitted alongside their legacy `X-Stack-*`
    equivalents.
servers:
  - url: https://api.hexclave.com/api/v1
    description: Hexclave REST API
security: []
paths:
  /team-invitations:
    get:
      tags:
        - Teams
      summary: List team invitations
      parameters:
        - name: team_id
          in: query
          schema:
            type: string
            description: >-
              The team ID to list invitations for. Required unless user_id is
              provided.
          description: >-
            The team ID to list invitations for. Required unless user_id is
            provided.
          required: false
        - name: user_id
          in: query
          schema:
            type: string
            description: >-
              List invitations sent to this user's verified emails. Must be "me"
              for client access. Cannot be combined with team_id.
          description: >-
            List invitations sent to this user's verified emails. Must be "me"
            for client access. Cannot be combined with team_id.
          required: false
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        team_id:
                          type: string
                          example: ad962777-8244-496a-b6a2-e0c6a449c79e
                          description: The unique identifier of the team
                        team_display_name:
                          type: string
                        expires_at_millis:
                          type: number
                        recipient_email:
                          type: string
                      required:
                        - id
                        - team_id
                        - team_display_name
                        - expires_at_millis
                        - recipient_email
                  pagination:
                    type: object
                    properties:
                      next_cursor:
                        type: string
                        example: b3d396b8-c574-4c80-97b3-50031675ceb2
                        description: >-
                          The cursor to fetch the next page of results. null if
                          there is no next page.
                    required: []
                required:
                  - items

````