Claude Platform Docs

초대

초대 생성
OrganizationInvite organization().invites().create(params, requestOptions = RequestOptions.none())
POST/v1/organizations/invites

이메일로 사용자를 조직에 초대합니다.

초대 목록 조회
InviteListPage organization().invites().list(params = InviteListParams.none(), requestOptions = RequestOptions.none())
GET/v1/organizations/invites

조직의 초대를 나열합니다.

초대 조회
OrganizationInvite organization().invites().retrieve(params = InviteRetrieveParams.none(), requestOptions = RequestOptions.none())
GET/v1/organizations/invites/{invite_id}

ID로 초대를 조회합니다.

초대 삭제
InviteDeleteResponse organization().invites().delete(params = InviteDeleteParams.none(), requestOptions = RequestOptions.none())
DELETE/v1/organizations/invites/{invite_id}

대기 중인 초대를 삭제합니다.

Models
class AlreadyMemberErrorDetails { errorCode; }
JsonValue errorCode = "already_member"
class CannotInviteEmailsWithUnverifiedDomainsErrorDetails { errorCode; }
JsonValue errorCode = "cannot_invite_emails_with_unverified_domains"
class EmailDomainNotAllowedErrorDetails { errorCode; }
JsonValue errorCode = "email_domain_not_allowed"
class InviteAlreadyExistsErrorDetails { errorCode; }
JsonValue errorCode = "invite_already_exists"
class OrganizationInvite { type = "invite"; id; acceptedAt; /* 6 more */ }
Errors
class AlreadyMemberException extends BadRequestException { details; }⁠HTTP status 400

The email address already belongs to a user in the organization. The message names the user.

JsonValue errorCode = "already_member"
class CannotInviteEmailsWithUnverifiedDomainsException extends BadRequestException { details; }⁠HTTP status 400

The email address's domain is not one of the verified domains of the organization's parent organization.

JsonValue errorCode = "cannot_invite_emails_with_unverified_domains"
class EmailDomainNotAllowedException extends BadRequestException { details; }⁠HTTP status 400

The organization restricts invites to an allowed list of email domains, and the list is empty or does not include the email address's domain.

JsonValue errorCode = "email_domain_not_allowed"
class InviteAlreadyExistsException extends BadRequestException { details; }⁠HTTP status 400

A pending invite already exists for the email address. The message names the invite.

JsonValue errorCode = "invite_already_exists"