> ## 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.created

> Occurs when a new tag is created

<ResponseExample>
  ```json Example payload theme={null}
  {
    "id": "ck9v2m5nj0xp4wq7ybftrae8",
    "seq": 88,
    "teamId": "hzcai5t59nn9vsck3rbuepyg",
    "type": "tag.created",
    "timestamp": "2025-01-15T11:00:00.000Z",
    "version": "1.0",
    "data": {
      "tag": {
        "id": "l44e15irdq4db30i77cgphhx",
        "name": "High Priority",
        "color": "#ef4444"
      }
    }
  }
  ```
</ResponseExample>

## When it fires

A new tag is created in the workspace — either through the Inbox UI or via the [Create tag](/api-reference/tags/create-tag) API endpoint.

## 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>
