> ## 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 a new Reseller

> Create a reseller to manage teams.



## OpenAPI

````yaml /partner-swagger.yml post /reseller
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:
    post:
      tags:
        - reseller
      summary: Create a new Reseller
      description: Create a reseller to manage teams.
      operationId: ResellerController_createReseller
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateResellerDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResellerDTO'
        '201':
          description: ''
components:
  schemas:
    CreateResellerDto:
      type: object
      properties:
        username:
          type: string
          minLength: 5
        password:
          type: string
          minLength: 8
        externalId:
          type: string
        companyName:
          type: string
      required:
        - username
        - password
        - externalId
    ResellerDTO:
      type: object
      properties:
        id:
          type: string
        externalId:
          type: string
        username:
          type: string
        created:
          format: date-time
          type: string
        updated:
          format: date-time
          type: string
      required:
        - id
        - externalId
        - username
        - created
        - updated

````