> For the complete documentation index, see [llms.txt](https://developer.parvenu.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.parvenu.io/manage-lists/tag-a-list.md).

# Tag a List

Add tags to a list or take tags off, the same tags shown in the Tags column of the Lists page.

<mark style="color:green;">`POST`</mark> `/list_tags_update`

Adds the tags in `add_tags` to the list `listname` and removes the tags in `remove_tags`. These are the tags shown in the Tags column of the Lists page, and the change shows there straight away.

{% hint style="info" %}
**Free.** `credits_used` is always `0`.
{% endhint %}

{% hint style="success" %}
**Only the tags you name change.** Every other tag on the list stays, so you never need to send the list's current tags. There is no way to replace all tags in one call.
{% endhint %}

Tags are matched without regard to case: adding `event` to a list tagged `Event` changes nothing, and the list keeps its spelling. To see a list's current tags, read the `tags` field from [All Lists](https://developer.parvenu.io/get-enrichment-results/all-lists.md).

## Headers

| Name         | Value              |
| ------------ | ------------------ |
| Content-Type | `application/json` |

## Body

| Name          | Type             | Description                                                           |
| ------------- | ---------------- | --------------------------------------------------------------------- |
| `api_key`     | string           | **Required.** Your API key.                                           |
| `listname`    | string           | **Required.** The list's exact name. One word, not `list_name`.       |
| `add_tags`    | array of strings | Tags to put on the list. A tag the list already has is left as it is. |
| `remove_tags` | array of strings | Tags to take off the list. A tag the list does not have is ignored.   |

Send at least one tag. Up to 50 tags per call, 100 characters each. A tag in both `add_tags` and `remove_tags` is refused with a 422.

## Response

| Field            | Description                                                                       |
| ---------------- | --------------------------------------------------------------------------------- |
| `status`         | `success`, or `not_found` when you have no list with that name (nothing changes). |
| `data.list_name` | The list's name.                                                                  |
| `data.tags`      | Every tag the list has after the call.                                            |
| `message`        | Says when nothing changed because the list already had those tags.                |
| `credits_used`   | Always `0`.                                                                       |

## Example

{% tabs %}
{% tab title="Input" %}

```json
{
  "api_key": "your_api_key",
  "listname": "Freedom Event 2026 Attendee List",
  "add_tags": ["Event"],
  "remove_tags": ["Old"]
}
```

{% endtab %}

{% tab title="Output" %}

```json
{
  "status": "success",
  "data": {
    "list_name": "Freedom Event 2026 Attendee List",
    "tags": ["Event"]
  },
  "credits_used": 0.0,
  "credits_remaining": 45741.2,
  "message": null
}
```

{% endtab %}

{% tab title="Not found" %}

```json
{
  "status": "not_found",
  "data": null,
  "credits_used": 0.0,
  "credits_remaining": 45741.2,
  "message": "No list called 'Q4 Rooferz'. Nothing was changed."
}
```

{% endtab %}
{% endtabs %}
