跳转到主要内容
POST
/
v2
/
enterprise
/
members
/
invite
Enterprise 成员邀请端点
curl --request POST \
  --url https://api.devin.ai/v2/enterprise/members/invite \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "emails": [
    "jsmith@example.com"
  ]
}
'
{
  "invited_count": 123,
  "invitee_user_id_to_email": {},
  "status": "success"
}

Documentation Index

Fetch the complete documentation index at: https://docs.devin.ai/llms.txt

Use this file to discover all available pages before exploring further.

需要 Enterprise 管理员的个人 API key 才可调用。 通过提供用户的电子邮件地址,可邀请多个用户加入您的 Enterprise 账号。此端点支持批量邀请,每个请求最多包含 100 个电子邮件地址。

授权

Authorization
string
header
必填

仅供 Enterprise 管理员使用的个人 API Key(apk_user_*)

请求体

application/json
emails
string<email>[]
必填

要邀请的邮箱地址列表(最多 100 个)

Maximum array length: 100

响应

成功响应

invited_count
integer
必填
invitee_user_id_to_email
Invitee User Id To Email · object
必填
status
string
默认值:success