Add Members
Add members in bulk to a Space. New members are in To Be Activated status and receive an invitation email; a member becomes Enabled after joining via the invitation email, or after clicking Agree on the authorization page in Designated Space Mode. See OAuth Authorization Flow for the end-to-end integration.
Behavior:
- An email that is already a To Be Activated member of the Space is returned in
SuccessListwithout creating a duplicate. - An email that is already an enabled or disabled member of the Space is returned in
FailList. - A per-member validation failure (invalid email format, invalid name, etc.) only affects that member, which is returned in
FailList.
Target Space: When SpaceId is omitted, the Space the access_token belongs to is used. When another Space is given, the app must be installed in that Space, and its authorization there must include member:manage.
Permission: The operator must be an administrator of the target Space. In client_credentials mode, if X-Operator-User-Id is omitted, the app acts on its own behalf.
Constraints: The number of members added must not exceed the remaining member seats of the target Space.
Console equivalent: Members → Add Member.
Required Scope: member:manage
Request Parameters
Response Parameters
Error Codes
| Error Code | Description |
|---|---|
INVALID_REQUEST | Invalid parameters (empty Members, invalid role, etc.), or the app is not installed in the target Space |
FORBIDDEN | The app's authorization in the target Space does not include member:manage |
OPENAPI.OPERATOR_USER_NOT_FOUND | Operator does not exist or is not an enabled member of the current Space |
MEMBER.INSUFFICIENT_PERMISSION | Operator is not an administrator of the target Space |
BILLING.MEMBER_QUOTA_INSUFFICIENT | Insufficient member seats |
VALIDATION.INAPPROPRIATE_CONTENT | Name contains inappropriate content |
OPERATION_FREQUENT | Another add-members request for the same Space is in progress, please retry later |
INTERNAL_ERROR | Internal server error |