Skip to main content
Authentication required. You must include a valid Bearer token. Only users with the ADMIN or MESA role can call this endpoint.

Endpoint

POST /api/tickets/{ticket_id}/reabrir
Reactivates a ticket that was previously closed, cancelled, or paused. The reopening reason is logged in the ticket history via sp_reabrir_ticket.

Path parameters

ticket_id
string
required
The UUID of the ticket to reopen.

Request body

motivo
string
required
The reason for reopening the ticket. This text is stored in the ticket history.

Response

message
string
Confirmation string. Returns "Reabierto" on success.

Error codes

StatusDescription
401No token provided or token is invalid.
403Your role is not ADMIN or MESA.
404No ticket found with the given ticket_id.

Example

curl --request POST \
  --url https://your-domain.com/api/tickets/{ticket_id}/reabrir \
  --header 'Authorization: Bearer {token}' \
  --header 'Content-Type: application/json' \
  --data '{
    "motivo": "Issue recurred after the original fix was applied"
  }'
{
  "message": "Reabierto"
}

Build docs developers (and LLMs) love