cURL
curl "https://api.anthropic.com/v1/organizations/invites/invite_015gWxCN9Hfg2QhZwTK7Mdeu" \
--header "anthropic-version: 2023-06-01" \
--header "content-type: application/json" \
--header "x-api-key: $ANTHROPIC_ADMIN_KEY"{
"email": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"invited_at": "2023-11-07T05:31:56Z",
"type": "invite"
}取得邀請
GET
/
v1
/
organizations
/
invites
/
{invite_id}
cURL
curl "https://api.anthropic.com/v1/organizations/invites/invite_015gWxCN9Hfg2QhZwTK7Mdeu" \
--header "anthropic-version: 2023-06-01" \
--header "content-type: application/json" \
--header "x-api-key: $ANTHROPIC_ADMIN_KEY"{
"email": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"invited_at": "2023-11-07T05:31:56Z",
"type": "invite"
}Documentation Index
Fetch the complete documentation index at: https://docs.claude.com/llms.txt
Use this file to discover all available pages before exploring further.
The Admin API is unavailable for individual accounts. To collaborate with teammates and add members, set up your organization in Console → Settings → Organization.
Headers
Path Parameters
ID of the Invite.
Response
Successful Response
Email of the User being invited.
Example:
"user@emaildomain.com"
RFC 3339 datetime string indicating when the Invite expires.
Example:
"2024-11-20T23:58:27.427722Z"
ID of the Invite.
Example:
"invite_015gWxCN9Hfg2QhZwTK7Mdeu"
RFC 3339 datetime string indicating when the Invite was created.
Example:
"2024-10-30T23:58:27.427722Z"
Organization role of the User.
Available options:
user, developer, billing, admin, claude_code_user Examples:
"user"
"developer"
"billing"
"admin"
"claude_code_user"
Status of the Invite.
Available options:
accepted, expired, deleted, pending Example:
"pending"
Object type.
For Invites, this is always "invite".
Available options:
invite Allowed value:
"invite"Was this page helpful?
⌘I