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
    • Members
      • User joined
      • User join request
      • User join request approved
      • User join request declined
      • User left
      • User unbanned
      • User role changed
      • User profile updated
      • User invited
      • User invite declined
      • User verified
      • User questions answered
      • User nominated
      • Feedback submitted
    • Spaces
      • Space created
      • Space updated
      • Space deleted
      • User joined space
      • User left space
    • Events
      • Event created
      • Event registered
      • Event updated
      • Event cancelled
      • Event registration updated
      • Event registration cancelled
      • Event starting soon
      • Event attended
      • Event ended
    • Feed
      • Post created
      • Post updated
      • Post deleted
      • Post liked
      • Post unliked
      • Comment added
      • Post reported
      • Post approval requested
      • Post approved
      • Post rejected
      • Post shared
      • Post pinned
      • Post unpinned
      • Post scheduled
      • Comment deleted
      • Comment liked
      • Comment unliked
      • Comment reported
      • Poll voted
      • Survey responded
      • Poll ended
    • Live video
      • Live started
      • Live ended
      • Live joined
      • Live left
      • Live recording ready
    • Courses
      • Course published
      • Course updated
      • Course unpublished
      • Course enrolled
      • Lesson completed
      • Quiz submitted
      • Course completed
    • Newsletter
      • Newsletter subscriber added
      • Newsletter subscriber removed
      • Newsletter sent
      • Newsletter email opened
      • Newsletter email clicked
      • Newsletter email bounced
      • Newsletter email complained
    • Payments
      • Monetization subscription created
      • Monetization subscription renewed
      • Monetization subscription changed
      • Monetization subscription cancel scheduled
      • Monetization subscription resumed
      • Monetization subscription cancelled
      • Monetization payment failed
      • Monetization purchase completed
      • Monetization checkout abandoned
      • Monetization refund requested
      • Monetization refund issued
      • Offer reviewed
      • Offer sold out
    • Opportunities
      • Opportunity created
      • Opportunity updated
      • Opportunity deleted
      • Opportunity applied
    • Media
      • Media added
      • Media updated
      • Media deleted
      • Media shared
      • Media downloaded
    • Community
      • Community updated
      • Community tokens low
      • Community tokens limit reached
      • Website page published
      • Community app published
      • Integration sync failed
    • Chat
      • Chat channel created
      • Chat message posted
  • References
    • Role Types
    • Media Types
    • Response Codes
    • Model Status
    • Post Types
  • Schemas
    • WebhookActor
    • WebhookChannel
    • WebhookComment
    • WebhookCourse
    • WebhookEvent
    • WebhookLiveSession
    • WebhookMedia
    • WebhookMember
    • WebhookNewsletter
    • WebhookOffer
    • WebhookOpportunity
    • WebhookPost
    • WebhookPurchase
    • WebhookRegistration
    • WebhookSpace
    • WebhookSubscriber
    • WebhookSubscription
    • WebhookEnvelope
  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