---
title: "List pending workspace invitations"
method: GET
path: "/api/v1/account/workspace-invites"
tags: ["Account"]
---

# List pending workspace invitations

`GET /api/v1/account/workspace-invites`

## Request

- Base URL: `https://api.dotsy.ai`
- URL: `https://api.dotsy.ai/api/v1/account/workspace-invites`
- Auth: HTTP bearer

The active workspace's invitations that nobody has accepted yet.

## Headers

- `X-Dotsy-Workspace` string

## Response `200`

The pending invitations.

- WorkspaceInviteList
  - `invitations` WorkspaceInvite[], required
    - `id` string, required
    - `email` string, required
    - `role` string, required: `admin` or `member`.
    - `status` string, required: `pending` until the person accepts, declines or the invite expires.
    - `expiresAt` string, date-time, required: When the invite stops working.
    - `createdAt` string, date-time, required: When the invite was created.
    - `acceptPath` string, required: Dashboard path the invited person opens to accept.

## Other responses

- `401`: Missing or invalid credentials.

---

[API](https://skmtc.dev/dotsy/apis/dotsy-api.md) · [All operations](https://skmtc.dev/dotsy/apis/dotsy-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dotsy/apis/dotsy-api/revisions/4272ed3b85d7?raw)
