1. User Authentication
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
    • Community Details
      GET
    • Spaces List
      GET
  • Webhooks
    • User Webhooks
      • user.joined
      • user.profile.updated
      • user.joined.space
    • Feed Webhooks
      • post.created
      • post.liked
      • post.unliked
      • comment.added
      • post.reported
  • References
    • Response Codes
      GET
    • Model Status
      GET
    • Post Types
      GET
  1. User Authentication

Add New Users to Community

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

πŸ“¨ Add Users to Community#

Allows community owners to register external users into the platform with defined roles and optional plans.

HTTP Method#

POST

Endpoint#

/api/v1/admin/community/addExternalUsers

Headers#

NameTypeRequiredDescription
x-api-keyStringβœ… YesAPI key provided by the Networked Team.

Body Parameters#

NameTypeRequiredDescription
emailStringβœ… YesEmail of the user to register.
nameStringβœ… YesName of the user.
passwordString❌ NoPassword to set if using the Direct Add method (method = 2).
roleIdStringβœ… YesRole to assign to the user (Admin, Moderator, Member, etc.).
planIdString❌ NoID of the plan to associate the user with (if applicable).
methodNumberβœ… YesIndicates how the user is added to the community (1 = Invite, 2 = Direct).

Method Enum Values#

ValueDescription
1An invite is sent to the user’s email.
2Directly adds the user to the community with an optional password + An email with credentials is sent to the added User.

Sample Response (method = 2)#

{
  "error": false,
  "message": "Operation completed successfully"
}

Sample Response (method = 1)#

{
  "data": {
    "email": "example3@yopmail.com",
    "inviteId": "68874e4e81110b2a6ca6b54a",
    "timeStamp": 1753697870638
  },
  "error": false,
  "message": "Operation completed successfully"
}

Response Interface (method = 2)#

interface RegisterExternalUserResponse {
  error: boolean;
  message: string;
}

Response Interface (method = 1)#

interface RegisterExternalUserInviteResponse {
  data: {
    email: string;
    inviteId: string;
    timeStamp: number;
  };
  error: boolean;
  message: string;
}

Response Field Descriptions#

FieldTypeDescription
errorBooleanIndicates if the operation was successful or failed.
messageStringDescriptive message for the API outcome.
data.emailStringEmail to which the invite was sent (only in method = 1).
data.inviteIdStringUnique ID representing the invite created.
data.timeStampNumberTimestamp when the invite was generated.

Reference#

πŸ”— Standard Response Codes

Notes#

This API must be used with a valid x-api-key authorized for community owner operations.
If planId is not applicable, you may skip it or pass it as undefined.
The method field governs how the user is treated post-registration.
Use method = 2 with caution, especially if setting a default password.

Request

Header Params

Body Params application/x-www-form-urlencoded

Responses

🟒200
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://backend.networked.co/api/v1/admin/community/addExternalUsers' \
--header 'x-api-key: <your-api-key>' \
--data-urlencode 'email=example9@yopmail.com' \
--data-urlencode 'name=Example User 9' \
--data-urlencode 'password=Aa1235678@' \
--data-urlencode 'roleId=69baa36beddb9f0012fdf102' \
--data-urlencode 'method=1'
Response Response Example
{
    "data": {
        "email": "example3@yopmail.com",
        "inviteId": "68874e4e81110b2a6ca6b54a",
        "timeStamp": 1753697870638
    },
    "error": false,
    "message": "Operation completed successfully"
}
Modified atΒ 2026-05-15 10:41:26
Previous
User Authentication
Next
Send email invites
Built with