列出邀请
GET
https://api.anthropic.com/v1/organizations/invites
请求参数
Header 参数
x-api-key
string
必需
示例值:
{{ANTHROPIC_ADMIN_KEY}}
anthropic-version
string
必需
示例值:
2023-06-01
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.anthropic.com/v1/organizations/invites?members&reference&Type&_postman_listIndexKey=key&_postman_listAllowsMultipleValues'
返回响应
🟢200成功
application/json
Body
data
array [object {7}]
必需
id
string
可选
type
string
可选
email
string
可选
role
string
可选
invited_at
string
可选
expires_at
string
可选
status
string
可选
has_more
boolean
必需
first_id
string
必需
last_id
string
必需
示例
{
"data": [
{
"id": "invite_015gWxCN9Hfg2QhZwTK7Mdeu",
"type": "invite",
"email": "user@emaildomain.com",
"role": "user",
"invited_at": "2024-10-30T23:58:27.427722Z",
"expires_at": "2024-11-20T23:58:27.427722Z",
"status": "pending"
}
],
"has_more": true,
"first_id": "<string>",
"last_id": "<string>"
}
🟠400请求有误
修改于 23 天前