add_invite_users_community_space
Add or invite users to a community space, sending invitations if required or directly adding them. Returns the affected users.
Instructions
🟡 WRITE · creates data · Community · POST /v2/community/spaces/{id}/users
Add/Invite users to a community space
Adds or invites users to a space. If space has is_invitation_required property set to true then users will be sent an invitation in their inbox to join, otherwise they will be directly added.
Returns an array of the affected users, if the user is already in space, the user will not be returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique identifier of the community space | |
| body | No | Request body (application/json). |