---
title: "Snooze a ticket"
url: https://docs.gleap.ai/en/reference/rest-api/snooze-ticket
method: PUT
path: "/tickets/{ticketId}/snooze"
api: "API Reference"
tag: "Ticket"
operationId: "SnoozeTicket"
updatedAt: "2026-11-01T18:40:15.677Z"
language: en
---

# Snooze a ticket

`PUT https://api.gleap.io/v3/tickets/{ticketId}/snooze`

Snoozes a ticket for `duration` seconds: sets `snoozedUntil`, moves the status to `SNOOZED` and clears the unread flag. The ticket reopens automatically when the snooze expires.

## Authorization

- `Authorization` (header, required): `Bearer <token>`

## Path parameters

- `ticketId` (string, required)

## Headers

- `project` (string, required)

## Request body (`application/json`, required)

- `duration` (number<double>, required): Snooze length in seconds (>= 0).

## Example request

```bash
curl --request PUT \
  --url 'https://api.gleap.io/v3/tickets/{ticketId}/snooze' \
  --header 'Authorization: Bearer <token>' \
  --header 'project: <project>' \
  --header 'Content-Type: application/json' \
  --data '{
  "duration": 0
}'
```

## Responses

### 200 (`application/json`)

Ok
