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

# 邀请成员

> 邀请某人加入 workspace。

<ParamField header="Authorization" type="string" placeholder="API Key" required>
  你账户的 API 密钥。你可以在[账户设置](https://squarecloud.app/zh/account/security)中找到它。
</ParamField>

### 参数

<ParamField body="workspaceId" type="string" placeholder="Workspace Id">
  workspace 的 ID。
</ParamField>

<ParamField body="code" type="string" placeholder="Invite code">
  包含成员邀请码的字符串。
</ParamField>

<ParamField body="group" type="string" placeholder="Permission name">
  该成员对 workspace 应用的权限
</ParamField>

### 响应

<ResponseField name="status" type="string">
  指示调用是否成功。成功时为 `success`，否则为 `error`。
</ResponseField>

<ResponseExample>
  ```json theme={null}
  {
    "status": "success"
  }
  ```
</ResponseExample>
