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

# Log support ticket event

> Create and log support ticket events



## OpenAPI

````yaml post /events/support-tickets
openapi: 3.0.1
info:
  title: OpenAPI spec for Swift Customer Data Processing and Risk Score
  description: A specification for Swift's customer data processing and risk score APIs
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: http://sandbox.mintlify.com
security:
  - bearerAuth: []
paths:
  /events/support-tickets:
    post:
      tags:
        - Support Activity
      summary: Log support ticket event
      description: Create and log support ticket events
      requestBody:
        description: Support ticket event details
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SupportTicketEvent'
        required: true
      responses:
        '201':
          description: Support ticket created and logged
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EventResponse'
components:
  schemas:
    SupportTicketEvent:
      required:
        - ticketId
        - customerId
        - subject
        - status
        - timestamp
      type: object
      properties:
        ticketId:
          description: Unique identifier for the support ticket
          type: string
        customerId:
          description: ID of the customer who created the ticket
          type: string
        subject:
          description: Subject/title of the support ticket
          type: string
        description:
          description: Detailed description of the issue
          type: string
        status:
          description: Current status of the ticket
          type: string
          enum:
            - open
            - closed
            - pending
        priority:
          description: Priority level of the ticket
          type: string
          enum:
            - low
            - medium
            - high
            - urgent
        category:
          description: Category of the support issue
          type: string
        timestamp:
          description: When the ticket was created
          type: string
          format: date-time
    EventResponse:
      required:
        - eventId
        - status
      type: object
      properties:
        eventId:
          description: Unique identifier for the logged event
          type: string
        status:
          description: Status of the event logging
          type: string
          enum:
            - success
            - failed
        timestamp:
          description: Time when the event was logged
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````