---
title: "Preview a survey deletion"
url: https://docs.gleap.ai/en/reference/rest-api/delete-preview
method: GET
path: "/engagement/surveys/{surveyId}/delete-preview"
api: "API Reference"
tag: "Engagement Survey"
operationId: "DeletePreview"
updatedAt: "2026-11-01T18:40:15.677Z"
language: en
---

# Preview a survey deletion

`GET https://api.gleap.io/v3/engagement/surveys/{surveyId}/delete-preview`

What deleting the survey affects besides its own data, for the confirmation: the live email campaigns that send it (paused on delete, their pending sends dropped) and how many survey tickets from before Surveys 2.0 are deleted with it. Returns `{ liveEmailCampaigns: [{ id, name }], legacyTickets }`.

## Authorization

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

## Path parameters

- `surveyId` (string, required)

## Headers

- `project` (string, required)

## Example request

```bash
curl --request GET \
  --url 'https://api.gleap.io/v3/engagement/surveys/{surveyId}/delete-preview' \
  --header 'Authorization: Bearer <token>' \
  --header 'project: <project>'
```

## Responses

### 200 (`application/json`)

Ok
