---
title: "Create Ticket"
method: POST
path: "/api/tickets/create"
tags: ["copilot_frontend", "tickets"]
---

# Create Ticket

`POST /api/tickets/create`

Crea un nuevo ticket en JIRA con archivos adjuntos obligatorios.

Todas las incidencias requieren al menos un archivo adjunto (como captura de pantalla).
Los archivos se suben directamente a JIRA como adjuntos del ticket.

## Response `200`

Successful Response

- TicketResponse — Modelo de respuesta para tickets creados
  - `success` boolean, required
  - `message` string, required
  - `issue_key` string, nullable
  - `attachments` object[], nullable
  - `email_notification_sent` boolean

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api.md) · [All operations](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hogarsolar/hogarsolar-backend-api/revisions/d9861e46bef8/schema)
