> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.neetodesk.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Add team members

> Adds team members to the workspace.

<Warning>
  **Deprecated:** This is a **v1** endpoint. It will continue to work, but we
  recommend migrating to the [v2 equivalent](/api-reference) for improved REST
  compliance (correct HTTP status codes, consistent response envelopes, and
  hyphenated URLs).
</Warning>

<Info>Replace `{your-subdomain}` with your workspace's subdomain. <br /> Learn how to find your subdomain in [Workspace subdomain](/getting-started/workspace-subdomain).</Info>


## OpenAPI

````yaml /bundled-v1/team-members.yaml POST /team_members
openapi: 3.0.3
info:
  title: NeetoDesk Team Members APIs
  version: 1.0.0
servers:
  - description: NeetoDesk APIs
    url: https://{your-subdomain}.neetodesk.com/api/external/v1
    variables:
      your-subdomain:
        default: spinkart
        description: >-
          Replace **spinkart** with your [workspace's
          subdomain](/getting-started/workspace-subdomain).
security: []
tags:
  - name: Team Members
    description: APIs to manage team members in the workspace.
paths:
  /team_members:
    post:
      tags:
        - Team Members
      summary: Add team members
      description: Adds team members to the workspace.
      parameters:
        - $ref: '#/components/parameters/api_key_header'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                organization_role:
                  type: string
                  description: >-
                    Role that should be assigned to the new team members. It
                    must be a valid role from the "Roles" section in the
                    settings page. The default is "Standard".
                  example: Standard
                emails:
                  type: array
                  items:
                    type: string
                    format: email
                  description: >-
                    Emails of the team members to be added in the workspace in
                    array format. Must be valid emails.
                  example:
                    - oliver@example.com
                    - jane@example.com
                invited_by:
                  type: string
                  format: email
                  description: >-
                    Email of the admin sending the invitation. Defaults to the
                    most recent workspace admin if not specified.
                  example: admin@example.com
                send_invitation_email:
                  type: string
                  description: >-
                    Set to "false" to skip sending invitation emails. Defaults
                    to sending emails if not specified.
                  enum:
                    - 'true'
                    - 'false'
                  default: 'true'
              required:
                - emails
      responses:
        '200':
          description: OK - Users added successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Users added successfully
components:
  parameters:
    api_key_header:
      in: header
      name: X-Api-Key
      description: >-
        Use the X-Api-Key header to provide your workspace API key. Refer to
        [Authentication](/getting-started/authentication) for more information.
      required: true
      schema:
        type: string
        default: your-api-key

````