# Keywords Lists

Schema: [ListKeywords](schemas.md#listkeywords)

## POST /lists/keywords — Add a new list

Body: `ListKeywords` (required).

Responses: `201` created, `400` errors, `422` unprocessable entity.

## GET /lists/keywords — List all lists

`200`: array of `{ id, name, type, bid }`. `404`: none found.

## GET /lists/keywords/{listId} — Find list by ID

`200`: `{ id, name, type, bid }`. `404`: not found.

## PATCH /lists/keywords/{listId} — Update a list

Body: `ListKeywords` (required). Responses: `400` invalid ID, `404` not found, `405` validation exception.

## DELETE /lists/keywords/{listId} — Delete a list

`204` deleted, `404` not found.

## GET /lists/keywords/{listId}/keywords — Items in the list

Returns the keywords in the list. `200` success, `404` not found.
