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

# List pending invitations

> Returns email invitations that haven't been accepted, declined or expired, newest first. Invitations to people who have since joined are left out. Any member can call it.




## OpenAPI

````yaml /openapi/workspace.yaml get /workspaces/{workspaceId}/invitations
openapi: 3.1.0
info:
  title: Connie Workspace API
  version: 1.0.0
  description: >
    Endpoints the Connie web app uses for workspace settings, members and API
    keys. They authenticate with your signed-in browser session — see
    https://docs.connie.ai/api-reference/authentication. These are the app's own
    endpoints and can change when the app changes.
servers:
  - url: https://connie.ai/api
security:
  - sessionCookie: []
tags:
  - name: Settings
    description: The workspace name, logo and memory switch. Owners and admins only.
  - name: Members
    description: People in the workspace and their roles.
  - name: Invitations
    description: Email invitations and the workspace invite link.
  - name: Join requests
    description: People who asked to join the workspace.
  - name: API keys
    description: >
      Workspace API keys for MCP clients and agents. Keys work only with the
      Connie MCP server; these web app endpoints don't accept them.
paths:
  /workspaces/{workspaceId}/invitations:
    get:
      tags:
        - Invitations
      summary: List pending invitations
      description: >
        Returns email invitations that haven't been accepted, declined or
        expired, newest first. Invitations to people who have since joined are
        left out. Any member can call it.
      operationId: listInvitations
      parameters:
        - $ref: '#/components/parameters/workspaceId'
      responses:
        '200':
          description: Pending invitations.
          content:
            application/json:
              schema:
                type: object
                properties:
                  invitations:
                    type: array
                    items:
                      $ref: '#/components/schemas/Invitation'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
components:
  parameters:
    workspaceId:
      name: workspaceId
      in: path
      required: true
      description: The workspace id, as in the app URL `connie.ai/<workspaceId>/...`.
      schema:
        type: string
        format: uuid
  schemas:
    Invitation:
      type: object
      properties:
        id:
          type: string
          format: uuid
        email:
          type: string
        role:
          $ref: '#/components/schemas/Role'
        expiresAt:
          type: string
          format: date-time
        createdAt:
          type: string
          format: date-time
        invitedBy:
          type:
            - string
            - 'null'
          description: Name or email of the person who sent it.
    Role:
      type: string
      enum:
        - owner
        - admin
        - member
        - guest
      default: member
    Error:
      type: object
      properties:
        error:
          type: string
          description: A readable message.
        code:
          type: string
          description: >-
            A machine-readable code such as `VALIDATION_ERROR`, `FORBIDDEN` or
            `CONFLICT`, when the route sets one.
  responses:
    Unauthorized:
      description: No valid session, or the session has expired (`SESSION_EXPIRED`).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: You are not a member of this workspace.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    sessionCookie:
      type: apiKey
      in: header
      name: Cookie
      description: >-
        The full Cookie header copied from a signed-in connie.ai browser
        request. See the Authentication page.

````

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