---
updatedAt: 2026-06-22T06:24:00.000Z
agentTools:
  projectIndex: https://developers.rebrandly.com/llms.txt
---

# List Workspace Invites

List all pending invites for the workspace.


# OpenAPI definition

````json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Rebrandly API",
    "description": "# Rebrandly API Documentation\n\nThe Rebrandly API allows you to programmatically create, update, and manage your branded short links,\ncustom domains, workspaces, and analytics.\n\n## Base URL\n\nAll API requests should be made to:\n```\nhttps://api.rebrandly.com/v1\n```\n\n## Authentication\n\nThe Rebrandly API uses API keys for authentication. You can obtain your API key from your\n[Rebrandly account settings](https://app.rebrandly.com/account/api-keys).\n\nInclude your API key in the request header:\n```\napikey: YOUR_API_KEY\n```\n\n## Rate Limiting\n\nAPI requests are rate-limited based on your subscription plan. Rate limit information is included\nin response headers:\n- `X-RateLimit-Limit`: Total requests allowed per period\n- `X-RateLimit-Remaining`: Requests remaining in current period\n- `X-RateLimit-Reset`: Time when the rate limit resets (Unix timestamp)\n\n## Multi-Tenancy and Workspaces\n\nMost Rebrandly API resources (links, domains, scripts, tags) are organized into **Workspaces**.\nTo access resources in a specific workspace, you must include the `Workspace` header with the workspace's unique ID.\n\n```\nWorkspace: YOUR_WORKSPACE_ID\n```\n\nIf the `Workspace` header is omitted, the request will be processed in your **Default Workspace**.\n",
    "version": "7.0.2",
    "contact": {
      "name": "Rebrandly Team",
      "email": "dev@rebrandly.com"
    },
    "license": {
      "name": "Proprietary"
    }
  },
  "servers": [
    {
      "url": "https://api.rebrandly.com/v1",
      "description": "Production API"
    }
  ],
  "paths": {
    "/workspaces/{workspace_id}/invites": {
      "get": {
        "summary": "List Workspace Invites",
        "description": "List all pending invites for the workspace.\n",
        "operationId": "listWorkspaceInvites",
        "parameters": [
          {
            "$ref": "#/components/parameters/ApiKeyHeader"
          },
          {
            "name": "workspace_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/LimitParam"
          },
          {
            "$ref": "#/components/parameters/OrderByParam"
          },
          {
            "$ref": "#/components/parameters/OrderDirParam"
          },
          {
            "$ref": "#/components/parameters/LastParam"
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "pending",
                "accepted",
                "expired"
              ],
              "default": "pending"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List of invites",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Invite"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "tags": [
          "Workspace Invites"
        ]
      }
    }
  },
  "tags": [
    {
      "name": "Workspace Invites",
      "description": "Workspace invite management."
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "apikey",
        "description": "Rebrandly API key for authentication"
      }
    },
    "parameters": {
      "ApiKeyHeader": {
        "name": "apikey",
        "in": "header",
        "required": true,
        "description": "API key for authentication",
        "schema": {
          "type": "string"
        }
      },
      "LimitParam": {
        "name": "limit",
        "in": "query",
        "description": "Maximum number of results (default 25, max 25)",
        "schema": {
          "type": "integer",
          "minimum": 1,
          "maximum": 25,
          "default": 25
        }
      },
      "OrderByParam": {
        "name": "orderBy",
        "in": "query",
        "description": "Field to sort by",
        "schema": {
          "type": "string",
          "default": "createdAt"
        }
      },
      "OrderDirParam": {
        "name": "orderDir",
        "in": "query",
        "description": "Sort direction",
        "schema": {
          "type": "string",
          "enum": [
            "asc",
            "desc"
          ],
          "default": "asc"
        }
      },
      "LastParam": {
        "name": "last",
        "in": "query",
        "description": "Cursor for pagination (last item ID from previous page)",
        "schema": {
          "type": "string"
        }
      }
    },
    "schemas": {
      "Invite": {
        "type": "object",
        "description": "Account invite",
        "required": [
          "id",
          "email",
          "status"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Invite public ID"
          },
          "email": {
            "type": "string",
            "format": "email",
            "description": "Invitee's email address"
          },
          "role": {
            "type": "string",
            "enum": [
              "owner",
              "admin",
              "user",
              "guest",
              "viewer"
            ],
            "description": "Role to be granted upon acceptance"
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "accepted",
              "expired"
            ],
            "description": "Invite status"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the invite expires"
          },
          "workspaces": {
            "type": "array",
            "description": "Workspaces the invitee will have access to",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "apiKey": []
    }
  ],
  "x-readme": {}
}
````