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

# Create new inboxes and users for a team

> Create a new inboxes and users for a team



## OpenAPI

````yaml /partner-swagger.yml post /reseller/teams/{teamId}/bulk
openapi: 3.0.0
info:
  title: Clerk Reseller / Partner API
  description: API For usage by Clerk Resellers and Partners
  version: '1.0'
  contact: {}
servers:
  - url: https://partners.clerk.chat
    description: Production server
security: []
tags: []
paths:
  /reseller/teams/{teamId}/bulk:
    post:
      tags:
        - reseller
      summary: Create new inboxes and users for a team
      description: Create a new inboxes and users for a team
      operationId: ResellerController_bulkCreate
      parameters:
        - name: teamId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateResellerObjectsBulkDto'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResellerBulkResponseDTO'
components:
  schemas:
    CreateResellerObjectsBulkDto:
      type: object
      properties:
        data:
          default: []
          type: array
          items:
            $ref: '#/components/schemas/CreateResellerObjects'
      required:
        - data
    ResellerBulkResponseDTO:
      type: object
      properties:
        users:
          type: array
          items:
            $ref: '#/components/schemas/ResellerUserDTO'
        inboxes:
          type: array
          items:
            $ref: '#/components/schemas/ResellerInboxDTO'
      required:
        - users
        - inboxes
    CreateResellerObjects:
      type: object
      properties:
        name:
          type: string
        phone:
          type: string
          format: phone
        email:
          type: string
          format: email
        role:
          type: string
          enum:
            - workspace_owner
            - admin
            - agent
            - manager
            - member
    ResellerUserDTO:
      type: object
      properties:
        id:
          type: string
        firstname:
          type: string
        lastname:
          type: string
        email:
          type: string
        created:
          format: date-time
          type: string
        updated:
          format: date-time
          type: string
        inboxes:
          type: array
          items:
            $ref: '#/components/schemas/ResellerInboxDTO'
        role:
          $ref: '#/components/schemas/ResellerRoleDTO'
        acceptedTermsOfService:
          type: boolean
      required:
        - id
        - firstname
        - lastname
        - email
        - created
        - updated
        - inboxes
        - role
        - acceptedTermsOfService
    ResellerInboxDTO:
      type: object
      properties:
        id:
          type: string
        phone:
          type: string
        externalId:
          type: string
        created:
          format: date-time
          type: string
        updated:
          format: date-time
          type: string
      required:
        - id
        - phone
        - externalId
        - created
        - updated
    ResellerRoleDTO:
      type: object
      properties:
        type:
          type: string
          enum:
            - workspace_owner
            - admin
            - agent
            - manager
            - member
      required:
        - type

````