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

# Create Product

> Create a product for a connected account.



## OpenAPI

````yaml post /stripe/connect/accounts/{accountId}/products
openapi: 3.0.1
info:
  title: ChatDash API Documentation
  description: API Documentation for the ChatDash Server
  version: 2.0.0
servers:
  - url: https://api.chat-dash.com/v1/public
security: []
paths:
  /stripe/connect/accounts/{accountId}/products:
    post:
      tags:
        - Stripe Connect
      summary: Create Product
      description: Create a product for a connected account.
      parameters:
        - name: Authorization
          in: header
          required: true
          description: >-
            All requests to the ChatDash API must be validated with the agency
            API Key found on your agency profile
          schema:
            type: string
        - name: accountId
          in: path
          required: true
          description: The Stripe connected account ID
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  type: object
                  required:
                    - pricing_model
                    - currency
                  properties:
                    name:
                      type: string
                      example: Starter Plan
                    description:
                      type: string
                      example: Up to 100 minutes included
                    pricing_model:
                      type: string
                      enum:
                        - base
                        - usage
                        - oneTime
                      description: Required. Determines required pricing fields.
                      example: base
                    currency:
                      type: string
                      description: Required. 3-letter ISO currency code.
                      example: usd
                    period:
                      type: string
                      enum:
                        - day
                        - week
                        - month
                        - year
                      description: Required when pricing_model is not oneTime.
                      example: month
                    metrics:
                      type: string
                      enum:
                        - interactions
                        - minutes
                        - conversations
                        - valueBased
                      description: >-
                        Required when pricing_model is usage, or when
                        pricing_model is base and usage_limit with overage_price
                        is provided.
                      example: minutes
                    base_price:
                      type: number
                      description: >-
                        Required when pricing_model is base or oneTime. In
                        smallest currency unit (e.g., cents for USD).
                      example: 2999
                    usage_price:
                      type: number
                      description: >-
                        Required when pricing_model is usage. In smallest
                        currency unit.
                      example: 10
                    usage_limit:
                      type: integer
                      description: If provided, overage_price is required.
                      example: 100
                    overage_price:
                      type: number
                      description: >-
                        Required when usage_limit is provided. In smallest
                        currency unit.
                      example: 15
                    tax_behavior:
                      type: string
                      enum:
                        - inclusive
                        - exclusive
                        - unspecified
                      description: Optional tax behavior.
                      example: exclusive
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  productId:
                    type: string
                    example: prod_ABC123XYZ
                  productName:
                    type: string
                    example: Starter Plan
                  description:
                    type: string
                    nullable: true
                    example: Up to 100 minutes included
                  taxBehavior:
                    type: string
                    example: exclusive
                  pricing:
                    type: object
                    properties:
                      amount:
                        type: string
                        example: '2999'
                      billingCycle:
                        type: string
                        example: month
                      currency:
                        type: string
                        example: usd
                      pricingModel:
                        type: string
                        example: base
                      metrics:
                        type: string
                        nullable: true
                        example: minutes
                      usageLimit:
                        type: integer
                        nullable: true
                        example: 100
                      overage:
                        type: string
                        nullable: true
                        description: >-
                          Overage price per unit in the smallest currency unit
                          (e.g., cents for USD)
                        example: '15'
                  creationDate:
                    type: integer
                    example: 1700000000
                  activeSubscriptionsCount:
                    type: integer
                    example: 0
                  status:
                    type: string
                    example: active
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: An unexpected error occurred

````