add_invite_users_community_space
Add users to a community space or send them invitations to join, based on the space's invitation requirement.
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). |