---
title: "Returns stoplist preview"
method: GET
path: "/stoplist/preview/{languageId}"
tags: ["Stoplist"]
---

# Returns stoplist preview

`GET /stoplist/preview/{languageId}`

## Request

- The document declares no server URL.
- Auth: API key in header `TWN-InstanceKey` and API key in header `TWN-Authentication`

Returns a preview of how the stoplist mutations affect the final stoplist for the given language.

## Path parameters

- `languageId` integer, required

## Response `200`

OK

- StoplistPreviewApiModel[]
  - `AttributeId` integer: Id of the attribute used by a search algorithm of type 'word'
  - `MatchedWords` string[]: Words from the mutated stoplist that are found in the attribute values

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/tweakwise/apis/app-api.md) - [All operations](https://skmtc.dev/tweakwise/apis/app-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tweakwise/apis/app-api/revisions/dc936bf76941?raw)
