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

# List Client Workspace Invitations

> The invitations sent for a client workspace, with their role and status.

Requires `client_workspaces:read`. Requires the master of an active personal (agency) workspace. A key created in a client workspace, or by a non-master, cannot use the client workspace endpoints. If the personal workspace becomes inactive, its keys lose client workspace access.

Each invitation has its `email`, `role`, `permissions`, `status` and `expiresAt`. Invitations are valid for 7 days.


## OpenAPI

````yaml GET /v1/client-workspaces/{id}/invitations
openapi: 3.0.0
info:
  title: Sendler External API
  description: >

    # Sendler External API v1


    Public API for integrating with Sendler programmatically.


    ## Authentication


    Requests authenticate with a workspace API key in the `X-API-Key` header:


    ```

    X-API-Key: sp_live_your_api_key_here

    ```


    `Authorization: Bearer sp_live_...` (or `sp_test_...`) is also accepted.
    Prefer one header; `X-API-Key` takes precedence. Clerk OAuth tokens for MCP
    connection URLs are not public REST API keys.


    A key only reaches what its scopes and creator's current workspace
    permissions allow. Each operation lists the scopes it needs in
    `x-sp-scopes`. Use `GET /v1/me` to inspect the effective permissions and
    subscription state.


    ## Rate Limits


    - **Per API Key**: 300 requests/minute

    - **Per Workspace**: 50,000 requests/day


    Responses that reach the rate limiter include these headers; early
    authentication failures may not:

    - `X-RateLimit-Limit`: Max requests per minute

    - `X-RateLimit-Remaining`: Remaining requests in current window

    - `X-RateLimit-Reset`: Epoch timestamp when limit resets


    ## LinkedIn Sender Limits


    When using messaging endpoints, these headers show account limits:

    - `X-LinkedIn-Messages-Remaining`: Messages left today

    - `X-LinkedIn-Connections-Remaining`: Connection requests left today

    - `X-LinkedIn-Quota-Reset-At`: When daily limits reset


    ## Retries


    Send an `Idempotency-Key` header on POST and PATCH requests. A retry with
    the same key within 24 hours returns the first result (with
    `Idempotent-Replayed: true`) instead of acting twice. The same key with a
    different request answers 422 `IDEMPOTENCY_KEY_REUSED`; a retry while the
    first request still runs answers 409 `IDEMPOTENCY_IN_PROGRESS`.


    Once execution is attempted, its response (including errors) is retained. If
    a process stops or result storage fails after the attempt, the durable
    record blocks another execution for the replay window and returns 409
    `IDEMPOTENCY_IN_PROGRESS` or `IDEMPOTENCY_REPLAY_UNAVAILABLE`. Check the
    operation's status before using a new key: an uncertain outcome may already
    have acted. Requests refused before execution is claimed, such as
    authentication or rate-limit refusals, can be retried with the same key.


    ## Webhooks


    Configure webhooks in the app to receive real-time events:

    - `lead.tag.updated`

    - `lead.updated`

    - `message.sent`

    - `reply.received`

    - `connection_request.sent`

    - `connection_request.accepted`

    - `campaign.started`

    - `campaign.paused`

    - `campaign.resumed`

    - `campaign.finished`


    ## Error Codes


    Errors return a JSON body. Use the machine-readable `code` when supplied;
    validation messages can be arrays, and some legacy errors omit `code`. A
    typical error is:

    ```json

    {
      "statusCode": 400,
      "error": "Bad Request",
      "code": "SPECIFIC_ERROR_CODE",
      "message": "Human-readable description"
    }

    ```
  version: '1.0'
  contact:
    name: Sendler Support
    url: https://sendler.ai
    email: support@sendler.ai
servers:
  - url: https://api.sendler.ai
security: []
tags: []
paths:
  /v1/client-workspaces/{id}/invitations:
    get:
      tags:
        - External API - Client workspaces
      summary: List a client workspace's invitations
      operationId: clientWorkspaces.listInvitations
      parameters:
        - name: id
          required: true
          in: path
          description: Client workspace ID
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientWorkspaceInvitationListResponseDto'
        '404':
          description: Not one of your client workspaces
      security:
        - api-key: []
components:
  schemas:
    ClientWorkspaceInvitationListResponseDto:
      type: object
      properties:
        invitations:
          type: array
          items:
            $ref: '#/components/schemas/ClientWorkspaceInvitationResponseDto'
      required:
        - invitations
    ClientWorkspaceInvitationResponseDto:
      type: object
      properties:
        id:
          type: string
          example: cmb1x2y3z0000inv1
        email:
          type: string
          example: ann@example.com
        role:
          type: string
          enum:
            - ADMIN
            - MEMBER
        permissions:
          example:
            - ALLOW_UNIBOX
          type: array
          items:
            type: string
        status:
          type: string
          enum:
            - PENDING
            - ACCEPTED
            - DECLINED
            - EXPIRED
            - EMAIL_FAILED
        expiresAt:
          type: string
          example: '2026-11-25T00:00:00.000Z'
        createdAt:
          type: string
          example: '2026-11-18T00:00:00.000Z'
      required:
        - id
        - email
        - role
        - permissions
        - status
        - expiresAt
        - createdAt
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'API key for authentication (prefix: sp_live_ or sp_test_)'

````

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