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

# Create an event

> Manually emit a Mind event. The created event is enqueued for processing by the standard
event pipeline (event hooks, automation, traces).




## OpenAPI

````yaml https://dev.enneo.dev/api/mind/docs/open-api post /event
openapi: 3.0.0
info:
  version: '1'
  title: enneo.MIND API
  description: This describes the API of enneo Mind, the main ticketing backend
  contact:
    name: enneo GmbH
    email: richard@enneo.ai
  license:
    name: Proprietary software
    url: https://enneo.ai
servers:
  - url: https://demo.enneo.ai/api/mind
    description: Production server, demo client
  - url: https://main.enneo.dev/api/mind
    description: Development main branch
  - url: http://localhost:8005/api/mind
    description: Local development server
security:
  - bearerAuth:
      - api
  - cookieAuth:
      - api
paths:
  /event:
    post:
      tags:
        - Event
      summary: Create an event
      description: >
        Manually emit a Mind event. The created event is enqueued for processing
        by the standard

        event pipeline (event hooks, automation, traces).
      operationId: createEvent
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              description: >-
                Event payload (type, subType, ticketId/contractId binding,
                data).
      responses:
        '200':
          description: Created
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  event:
                    $ref: '#/components/schemas/EventActivity'
        '400':
          description: Invalid payload
        '403':
          description: Unauthorized
      security:
        - bearerAuth: []
components:
  schemas:
    EventActivity:
      type: object
      properties:
        id:
          type: integer
          description: Event ID
        status:
          type: string
          description: Event status
          enum:
            - open
            - closed
            - error
            - deleted
            - processing
        user:
          type: object
          description: User who created the event
          properties:
            id:
              type: integer
            firstName:
              type: string
            lastName:
              type: string
            email:
              type: string
            phone:
              type: string
        createdAt:
          type: string
          format: date-time
          description: Creation timestamp
        activity:
          type: string
          description: Localized description of the event
        details:
          type: array
          description: Additional details for this event
          items:
            type: object
            properties:
              label:
                type: string
              value:
                type: string
              type:
                type: string
              url:
                type: string
        tabs:
          type: array
          description: Tabs to show in the activity log
          items:
            type: object
            properties:
              key:
                type: string
              label:
                type: string
        eventTraces:
          type: array
          description: Additional traces associated with this event
          items:
            type: object
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT-based authentication
      x-scopes:
        api: Full access to the API
    cookieAuth:
      type: apiKey
      in: cookie
      name: connect.sid
      description: Cookie-based authentication
      x-scopes:
        api: Full access to the API

````