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

# Create a support ticket

> Creates a personal or active-team support ticket. Accepts JSON, or multipart/form-data for up to five 10MB attachments.



## OpenAPI

````yaml /openapi.json post /support/tickets
openapi: 3.0.0
info:
  title: JetEmail API
  version: 1.0.0
  description: API documentation for JetEmail's transactional email service.
servers:
  - url: https://api.jetemail.com
    description: Production
security:
  - apiKeyAuth: []
tags:
  - name: Email
    description: Send transactional email
  - name: Outbound
    description: 'Outbound sending: keys, SMTP users, domains, logs, suppression'
  - name: Inbound
    description: Inbound routing, domains and forward destinations
  - name: DMARC
    description: DMARC aggregate-report domain setup, DNS verification and analytics
  - name: Marketing
    description: >-
      Marketing suite: templates, audiences, contacts, broadcasts, themes,
      assets and signup forms
  - name: Signup Forms
    description: Hosted signup pages and form submissions
externalDocs:
  description: Download OpenAPI Specification
  url: /openapi.json
paths:
  /support/tickets:
    post:
      tags:
        - Support
      summary: Create a support ticket
      description: >-
        Creates a personal or active-team support ticket. Accepts JSON, or
        multipart/form-data for up to five 10MB attachments.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - subject
                - department
                - message
              properties:
                subject:
                  type: string
                  minLength: 1
                  maxLength: 100
                department:
                  type: string
                  enum:
                    - '1'
                    - '3'
                    - '5'
                  description: 'Routing department ID: 1 = Sales, 3 = Support, 5 = Billing.'
                message:
                  type: string
                  minLength: 1
                  maxLength: 5000
          multipart/form-data:
            schema:
              type: object
              required:
                - subject
                - department
                - message
              properties:
                subject:
                  type: string
                  maxLength: 100
                department:
                  type: string
                  enum:
                    - '1'
                    - '3'
                    - '5'
                  description: 'Routing department ID: 1 = Sales, 3 = Support, 5 = Billing.'
                message:
                  type: string
                  maxLength: 5000
                attachments:
                  type: array
                  maxItems: 5
                  items:
                    type: string
                    format: binary
      responses:
        '201':
          description: Ticket created
        '400':
          description: Invalid ticket fields or attachment
        '401':
          description: Unauthorized
        '403':
          description: Invalid team context
        '429':
          description: >-
            Account limit reached (20 new tickets per hour by default). Includes
            Retry-After.
        '502':
          description: Support service unavailable
components:
  securitySchemes:
    apiKeyAuth:
      type: http
      scheme: bearer
      description: API key for account management endpoints. Use your api_ prefixed token.

````