Skip to main content
Authentication required. You must include a valid Bearer token. Users with the ADMIN or MESA role can pause any ticket. Users with the AREA role can only pause tickets that belong to their own area.
Area restriction. If your role is AREA, you will receive a 403 error if you attempt to pause a ticket outside your assigned area.

Endpoint

POST /api/tickets/{ticket_id}/pausar
Pauses a ticket to temporarily halt work, for example while waiting for the requester to provide information or for an external dependency to be resolved. The pause is recorded via sp_pausar_ticket.

Path parameters

ticket_id
string
required
The UUID of the ticket to pause.

Request body

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

Response

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

Error codes

StatusDescription
401No token provided or token is invalid.
403Your role is not ADMIN, MESA, or AREA; or your AREA role does not cover this ticket’s area.
404No ticket found with the given ticket_id.

Example

curl --request POST \
  --url https://your-domain.com/api/tickets/{ticket_id}/pausar \
  --header 'Authorization: Bearer {token}' \
  --header 'Content-Type: application/json' \
  --data '{
    "motivo": "Waiting for the requester to provide VPN credentials"
  }'
{
  "message": "Pausado"
}

Build docs developers (and LLMs) love