1. Community
Networked API Documentation
  • Getting Started
  • User Authentication
    • Add New Users to Community
      POST
    • Send email invites
      POST
  • User Profile
    • User Profile
      GET
    • Profile Visits
      GET
  • Community
    • Features
      • Feature List
    • Directory
      • Users List
      • Roles List
    • Monetization
      • Plans
        • Plans List
    • Feed
      • Polls
        • Create Polls
      • Surveys
        • Create Surveys
      • Post
        • Ask and offer help
          • Post Intro
          • Post Advice
          • Post Recommendation
          • Post Kudos
          • Post Help
        • Feed Post List
        • Post to Feed
        • Get Post Comments
        • Add Comments to Post
      • upload Media
    • Opportunities
      • Company and Services
        • Company and Services List
      • Fundaising Initiatives
        • Fundraising Initiatives List
      • Career Opportunities
        • Career Opportunities
    • Events
      • Event Post
      • Edit Events
      • Delete Event
      • Event List
    • Media Center
      • Get Resources
    • Analytics
      • Community Analytics
    • Newsletter
      • Lists
        • Get newsletter subscriber lists
      • Add newsletter subscribers
      • Get newsletter subscribers
    • Remove users from Space
      DELETE
    • Community Details
      GET
    • Spaces List
      GET
    • Add Users to Space
      POST
  • Webhooks
    • User Webhooks
      • user.joined
      • user.profile.updated
      • user.joined.space
      • user.join.request
    • Feed Webhooks
      • post.created
      • post.liked
      • post.unliked
      • comment.added
      • post.reported
  • References
    • Response Codes
      GET
    • Model Status
      GET
    • Post Types
      GET
  1. Community

Add Users to Space

POST
https://backend.networked.co/api/v1/admin/community/groups/users

šŸ‘„ Add Users to Space#

Allows external clients to add one or more existing community members to a specific group (space) under that community.
This endpoint is intended for external vendor integrations that authenticate using an API key instead of browser session tokens.

HTTP Method#

POST

Endpoint#

/api/v1/admin/community/groups/users

Headers#

NameTypeRequiredDescription
x-api-keyStringāœ… YesAPI key provided by the Networked Team. Used to authenticate external client requests.
spaceIdStringāœ… YesUUID of the target group (space) to add users into. Identifies which group the users should be added to.
Content-TypeStringāœ… YesMust be application/json.

Body Parameters#

NameTypeRequiredDescription
userIdStringāœ… YesUser ID(s) to add to the group. Pass a single UUID, or multiple UUIDs separated by commas (e.g. uuid-1,uuid-2). Whitespace around commas is trimmed.

Sample Request#

{
  "userId": "dcb88996-2317-428d-b10d-07ecb5de95ee"
}

Batch Request Example#

{
  "userId": "dcb88996-2317-428d-b10d-07ecb5de95ee,a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Sample Response (Success)#

{
  "data": {},
  "error": false,
  "message": "Success"
}

Response Interface#

interface AddUsersToSpaceResponse {
  data: Record<string, never>;
  error: boolean;
  message: string;
}

Response Field Descriptions#

FieldTypeDescription
dataObjectEmpty object on success.
errorBooleanfalse when the operation succeeds.
messageStringDescriptive message for the API outcome (e.g. "Success").

Business Rules#

1.
The community identified by spaceId must be a ** space** with a parent community.
2.
Each user in userId must already be an Accepted member of the parent community with a role assigned.
3.
Users who are already Accepted members of the target space are rejected.
4.
Users are added to the group with the same role they have on the parent community.
5.
When multiple user IDs are provided, they are processed sequentially; the first failure stops the request (no partial success).

Common Error Responses#

CodeMessage (typical)When
512User ID is requiredMissing or invalid userId in body.
512User is already part of CommunityUser already has Accepted membership in this group.
525No data foundGroup has no parent community, or user is not an accepted parent member with a role.
555The provided X-API-KEY is invalid or has expired.Invalid or inactive x-api-key.
429Too many requestsRate limit exceeded (100 requests/minute per client).

Reference#

šŸ”— Standard Response Codes

Notes#

This API must be used with a valid x-api-key.
spaceId is required in the header and identifies the target Space; userId is required in the body and identifies the user(s) to add.
Rate limiting applies to all requests authenticated with x-api-key.
If x-api-key is omitted, the endpoint will fail.

Request

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200OK
application/json
Users successfully added to the group.
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://backend.networked.co/api/v1/admin/community/groups/users' \
--header 'x-api-key: <your-api-key>' \
--header 'spaceId: {{spaceId}}' \
--header 'Content-Type: application/json' \
--data '{
    "userId": "dcb88996-2317-428d-b10d-07ecb5de95ee"
}'
Response Response Example
{
    "data": {},
    "error": false,
    "message": "Success"
}
Modified atĀ 2026-05-26 04:59:54
Previous
Spaces List
Next
Webhooks
Built with