This is a public endpoint. No authentication token is required. The client IP address is captured automatically from the request.
Request
POST /api/tickets/crear
Body parameters
Full name of the requester. Between 3 and 150 characters.
Email address of the requester. Must be a valid email format.
Request type. One of:
PETICION, QUEJA, RECLAMO, SUGERENCIA, INCIDENTE, SOLICITUD, CONSULTA.Category of the ticket. Between 2 and 100 characters.
Detailed description of the request or issue. Minimum 10 characters.
Priority level name. Maximum 20 characters (e.g.
ALTA, MEDIA, BAJA).Identity document number of the requester. Maximum 50 characters.
Phone number of the requester. Maximum 30 characters.
Whether the phone number has WhatsApp enabled.
Company or department the requester belongs to. Maximum 150 characters.
Subcategory for finer-grained classification. Maximum 100 characters.
Short subject line for the ticket. Maximum 200 characters.
Area to assign the ticket to on creation. Defaults to
MESA. Maximum 100 characters.Response
Returns a200 OK with the created ticket summary.
Internal UUID of the newly created ticket.
Human-readable ticket reference (e.g.
TKT-2026-00042). Share this with the requester.Initial status of the ticket after creation.
Request type as provided in the request body.
Priority level name as provided in the request body.
Number of SLA hours assigned to this ticket based on its priority.
ISO 8601 timestamp of when the ticket was created.
ISO 8601 timestamp of the SLA deadline.
Confirmation message returned by the server.
Error codes
| Status | Description |
|---|---|
400 | Invalid request body — validation failed (e.g. descripcion too short, invalid email, unrecognized tipo). |
422 | Unprocessable entity — missing required fields. |