Teams
Add Team Members
Adds one or more new members to a team by email address.
POST
Add Team Members
Documentation Index
Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
Use this file to discover all available pages before exploring further.
Add Team Members
Adds one or more members to a team by providing their full names and email addresses. Each new member is assigned the specified membership plan with the given start date. A maximum of 25 members can be added in a single request.Authentication
Requires a valid customer bearer token. The customer must be a team administrator of the specified team.Path Parameters
Numeric identifier of the team. Returned as
Id from GET /api/public/teams/my.Request Body
ID of the membership plan to assign to the new members. Obtain available plans from the team’s default tariff or from the plans list.
Array of full names for each new member. Must have the same number of entries as
Emails.Array of email addresses for each new member. Must have the same number of entries as
FullNames. Each entry must be a valid email address.ISO 8601 date for when the new members’ plans should begin.
Response
Returns HTTP200 OK with an empty body on success.
Examples
Add two members to a team
TypeScript Integration
Usage in Portal
| Context | Source file |
|---|---|
Add member modal (/team/members/{teamId}) | src/views/user/team/members/components/TeamMemberAddModal.tsx |
Error Responses
The customer is not authenticated or the session has expired.
The customer is not an administrator of the specified team.
Validation error — for example, mismatched array lengths for
FullNames and Emails, more than 25 members, or invalid email format.Team with the specified ID does not exist.
Related Endpoints
| Method | Endpoint | Description |
|---|---|---|
DELETE | /api/public/teams/{teamId}/members/{coworkerId} | Remove a member from a team |
GET | /api/public/teams/my | List the customer’s teams |
GET | /api/public/teams/{teamId}/profile | Full team profile |
PUT | /api/public/teams/{teamId}/permissions/{memberId} | Update member permissions |
Add Team Members