> ## 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 Context

> Creates a new Context for a user.



## OpenAPI

````yaml https://api.goextrovert.com/client/v2/docs-json post /client/v2/context
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/context:
    post:
      tags:
        - Contexts
      summary: Create Context
      description: Creates a new Context for a user.
      operationId: UserContextClientApiController_create
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateRequestDto5'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateResponseDto5'
        '401':
          description: Invalid or missing API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientApiErrorResponseDto'
      security:
        - api-key: []
components:
  schemas:
    CreateRequestDto5:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          description: >-
            Short label for the Context (e.g., 'Main product context',
            'Enterprise outreach').
        userId:
          type: string
          format: uuid
          description: >-
            ID of the user that will own the new Context. Usually the current
            user.
        contextAboutCompany:
          type: string
          description: >-
            Free-form plain text about the user's company, product, market, and
            target audience. Used as context when generating comments and direct
            messages, and when analyzing incoming posts. An empty string is
            technically accepted but degrades generation quality.
        contextAboutUser:
          type: string
          description: >-
            Free-form plain text about the user themselves — role, background,
            perspective, voice. Used as context when generating comments and
            direct messages, and when analyzing incoming posts. An empty string
            is technically accepted but degrades generation quality.
      required:
        - name
        - userId
        - contextAboutCompany
        - contextAboutUser
    CreateResponseDto5:
      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

````