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

# Create Style

> Creates a new Style for the given user.



## OpenAPI

````yaml https://api.goextrovert.com/client/v2/docs-json post /client/v2/style
openapi: 3.0.0
info:
  title: Extrovert Client API
  description: >-
    Public API for Extrovert platform integration. Use your API key for
    authentication.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.goextrovert.com/
    description: API Server
security: []
tags: []
paths:
  /client/v2/style:
    post:
      tags:
        - Styles
      summary: Create Style
      description: Creates a new Style for the given user.
      operationId: UserStyleClientApiController_create
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateRequestDto8'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateResponseDto8'
        '401':
          description: Invalid or missing API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientApiErrorResponseDto'
      security:
        - api-key: []
components:
  schemas:
    CreateRequestDto8:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          description: >-
            Short human-readable Style name (e.g., 'Founder voice', 'Casual
            replies').
        userId:
          type: string
          format: uuid
          description: >-
            ID of the user that will own the new Style. Usually the current
            user.
        isLearningModeEnabled:
          type: boolean
          description: >-
            Whether the Style should start in learning mode. When `true`, the
            backend auto-saves as CommentExamples only those comments the user
            both approved AND edited before approval (untouched auto-approved
            comments are NOT saved). Only comments are learned — DMs are never
            auto-saved. Auto-saved entries share a 20-slot cap with
            manually-added CommentExamples. When `false`, no auto-learning
            happens. Required.
        styleInstructionsForComments:
          type: string
          description: >-
            Free-form plain-text style instructions for comment generation
            (tone, structure, do/don't). Used only when generating comments, not
            DMs. Optional.
        styleInstructionsForDm:
          type: string
          description: >-
            Free-form plain-text style instructions for direct-message
            generation (tone, structure, do/don't). Used only when generating
            DMs, not comments. Optional.
      required:
        - name
        - userId
        - isLearningModeEnabled
    CreateResponseDto8:
      type: object
      properties:
        status:
          type: string
          description: Response status
          enum:
            - success
        data:
          type: object
          properties:
            id:
              type: string
              format: uuid
              description: Created entity ID
              example: 8d256aa6-9b12-49a7-93ee-bf41634b5b60
        message:
          type: string
          description: Success message
          example: Operation completed successfully
      required:
        - status
        - data
        - message
    ClientApiErrorResponseDto:
      type: object
      properties:
        status:
          type: string
          description: Response status
          example: error
          enum:
            - error
        data:
          type: object
          description: Response data
          example: null
        message:
          type: string
          description: Error message
          example: An error occurred while processing the request
      required:
        - status
        - data
  securitySchemes:
    api-key:
      type: apiKey
      in: header
      name: X-API-Key
      description: API Key for authentication

````