AgentConnect
Members

Add a member

Owner-only. Adds a member by email with the given role; no email is sent — an unknown address becomes an invited row, claimed on first SSO sign-in.

POST
/v1/orgs/{orgId}/members

授权

bearerAuth
授权Bearer <token>

位置: header

路径参数

orgId*string

请求主体

application/json

TypeScript 定义

在 TypeScript 中使用 request body 类型。

响应主体

application/json

application/json

application/json

curl -X POST "https://example.com/v1/orgs/string/members" \  -H "Content-Type: application/json" \  -d '{    "email": "string"  }'
{  "userId": "string",  "email": "string",  "name": "string",  "picture": "string",  "role": "owner",  "isCurrentUser": true,  "joinedAt": "string"}