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

# Add Organization Team Member

> The newly created member



## OpenAPI

````yaml /openapi.json post /auth/organization/add-team-member
openapi: 3.1.0
info:
  title: Kaneo API
  version: 1.0.0
  description: Kaneo Project Management API - Manage projects, tasks, labels, and more
servers:
  - url: https://cloud.kaneo.app/api
    description: Kaneo API Server
security:
  - bearerAuth: []
paths:
  /auth/organization/add-team-member:
    post:
      tags:
        - Organization Management
      summary: Add Organization Team Member
      description: The newly created member
      operationId: addOrganizationTeamMember
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                teamId:
                  type: string
                  description: The team the user should be a member of.
                userId:
                  type: string
                  description: >-
                    The user Id which represents the user to be added as a
                    member.
                organizationId:
                  type: string
                  description: >-
                    The organization ID which the team falls under. If not
                    provided, it will default to the user's active organization.
              required:
                - teamId
                - userId
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: Unique identifier of the team member
                  userId:
                    type: string
                    description: The user ID of the team member
                  teamId:
                    type: string
                    description: The team ID of the team the team member is in
                  createdAt:
                    type: string
                    description: Timestamp when the team member was created
                required:
                  - id
                  - userId
                  - teamId
                  - createdAt
        '401':
          description: Missing or invalid credentials
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or session token (Bearer)

````