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

# Create story treatment

> Create a new {self.verbose_name}



## OpenAPI

````yaml /openapi/content.yaml post /api/v1/story-treatments
openapi: 3.0.3
info:
  title: Content Service API
  version: 1.0.0
  description: |2-

        **Content Service API** - Comprehensive content(story) and management system.
        
servers:
  - url: https://api.capedigital.co.ke/content
    description: Production
  - url: http://localhost:8000
    description: Local
security: []
paths:
  /api/v1/story-treatments:
    post:
      tags:
        - Story Treatments
      summary: Create story treatment
      description: Create a new {self.verbose_name}
      operationId: treatments_create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StoryTreatmentRequest'
            examples:
              CreateTreatment:
                value:
                  name: Package
                  description: Pre-recorded news package with voiceover
                summary: Create treatment
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/StoryTreatmentRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/StoryTreatmentRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StoryTreatment'
          description: ''
      security:
        - bearerAuth: []
components:
  schemas:
    StoryTreatmentRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          description: name of treatment
          maxLength: 100
        description:
          type: string
          minLength: 1
          description: description of the treatment
      required:
        - description
        - name
    StoryTreatment:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        name:
          type: string
          description: name of treatment
          maxLength: 100
        description:
          type: string
          description: description of the treatment
        created_at:
          type: string
          format: date-time
          readOnly: true
        updated_at:
          type: string
          format: date-time
          readOnly: true
      required:
        - created_at
        - description
        - id
        - name
        - updated_at
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Enter your JWT token in the format: Bearer <token>'

````