> ## Documentation Index
> Fetch the complete documentation index at: https://docs.inboxapp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# tag.updated

> Occurs when a tag is updated

<ResponseExample>
  ```json Example payload theme={null}
  {
    "id": "ck9v2m5nj0xp4wq7ybftrae8",
    "seq": 178,
    "teamId": "hzcai5t59nn9vsck3rbuepyg",
    "type": "tag.updated",
    "timestamp": "2025-01-15T15:30:00.000Z",
    "version": "1.0",
    "data": {
      "tag": {
        "id": "l44e15irdq4db30i77cgphhx",
        "name": "Enterprise Lead",
        "color": "#8b5cf6"
      }
    }
  }
  ```
</ResponseExample>

## When it fires

* A tag's name is changed through the Inbox UI
* A tag's color is changed
* A tag is updated via the [Update tag](/api-reference/tags/update-tag) API endpoint

The `tag` object reflects the state **after** the update.

## Payload

<ResponseField name="tag" type="Tag" required>
  The tag object.

  <Expandable title="properties">
    <ResponseField name="id" type="string">
      Unique identifier for the tag.
    </ResponseField>

    <ResponseField name="name" type="string">
      The display name of the tag.
    </ResponseField>

    <ResponseField name="color" type="string | null">
      Hex color code for the tag (e.g., `#3b82f6`). Null if no color is set.
    </ResponseField>
  </Expandable>
</ResponseField>
